Function at 0x10006700
Capabilities:
Terminate process

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x20]
mov edx, dword [ebp + 0x114]
mov ecx, dword [ebp + 0x110]
push esi
push edi
mov dword [esp + 0x20], edx
xor ebx, ebx
xor edx, edx
xor edi, edi
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edi
je 0x10006a8e
cmp esi, ebx
jne 0x1000674d
mov ecx, dword [eax]
cmp dword [ecx + 0x13c], 0xaf
jne 0x1000674d
mov esi, ecx
jmp 0x1000677c
cmp edx, ebx
jne 0x10006767
mov ecx, dword [eax]
cmp dword [ecx + 0x13c], 0x83
jne 0x10006767
mov dword [esp + 0x10], ecx
mov edx, ecx
jmp 0x1000677c
cmp edi, ebx
jne 0x1000677c
mov ecx, dword [eax]
cmp dword [ecx + 0x13c], 7
jne 0x1000677c
mov dword [esp + 0x14], ecx
mov edi, ecx
mov eax, dword [eax + 8]
cmp eax, ebx
jne 0x10006737
cmp esi, ebx
je 0x10006a8e
cmp edx, ebx
jne 0x10006797
cmp edi, ebx
je 0x10006a8e
push 0x160
mov dword [esp + 0x1c], ebx
call dword [sym.imp.MSVCR80.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x100067b7
push 1
call dword [sym.imp.MSVCR80.dll_exit]
push 0x160
push 0
push ebx
call sub.ntdll.dll_memset
push 0
mov eax, ebx
call fcn.10003220
lea eax, [esp + 0x28]
push eax
mov ecx, 0x58
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push 0
push 0
mov esi, ebx
mov dword [ebx + str.Intel], 0x100ddb08
mov dword [ebx + 0x150], 1
mov dword [ebx + 0x154], 2
call fcn.10002f00
add esp, 0x1c
cmp dword [esp + 0x18], 0
mov ebp, eax
jle 0x1000681c
push ebx
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
jmp 0x1000683e
mov eax, dword [ebx + 0xf0]
mov ebx, dword [ebx + 0xf4]
cmp dword [esp + 0x20], ebx
jb 0x1000683e
ja 0x10006836
cmp dword [esp + 0x1c], eax
jbe 0x1000683e
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
mov esi, dword [esp + 0x10]
test esi, esi
je 0x100068f4
push 0x160
mov dword [esp + 0x1c], 0
call dword [sym.imp.MSVCR80.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x1000686e
push 1
call dword [sym.imp.MSVCR80.dll_exit]
push 0x160
push 0
push ebx
call sub.ntdll.dll_memset
push 0
mov eax, ebx
call fcn.10003220
mov ecx, 0x58
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x28]
push ecx
push 0
push ebp
mov esi, ebx
mov dword [ebx + str.Intel], 0x100ddb08
mov dword [ebx + 0x150], 1
mov dword [ebx + 0x154], 3
call fcn.10002f00
add esp, 0x1c
cmp dword [esp + 0x18], 0
mov ebp, eax
jle 0x100068d2
push ebx
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
jmp 0x100068f4
mov eax, dword [ebx + 0xf0]
mov ebx, dword [ebx + 0xf4]
cmp dword [esp + 0x20], ebx
jb 0x100068f4
ja 0x100068ec
cmp dword [esp + 0x1c], eax
jbe 0x100068f4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
mov esi, dword [esp + 0x14]
test esi, esi
je 0x100069aa
push 0x160
mov dword [esp + 0x1c], 0
call dword [sym.imp.MSVCR80.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x10006924
push 1
call dword [sym.imp.MSVCR80.dll_exit]
push 0x160
push 0
push ebx
call sub.ntdll.dll_memset
push 0
mov eax, ebx
call fcn.10003220
lea edx, [esp + 0x28]
push edx
mov ecx, 0x58
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push 0
push ebp
mov esi, ebx
mov dword [ebx + str.Intel], 0x100ddb08
mov dword [ebx + 0x150], 1
mov dword [ebx + 0x154], 4
call fcn.10002f00
add esp, 0x1c
cmp dword [esp + 0x18], 0
mov ebp, eax
jle 0x10006988
push ebx
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
jmp 0x100069aa
mov eax, dword [ebx + 0xf0]
mov ebx, dword [ebx + 0xf4]
cmp dword [esp + 0x20], ebx
jb 0x100069aa
ja 0x100069a2
cmp dword [esp + 0x1c], eax
jbe 0x100069aa
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
xor edi, edi
push 0x160
mov dword [esp + 0x1c], edi
call dword [sym.imp.MSVCR80.dll_malloc]
mov esi, eax
add esp, 4
cmp esi, edi
jne 0x100069cc
push 1
call dword [sym.imp.MSVCR80.dll_exit]
push 0x160
push edi
push esi
call sub.ntdll.dll_memset
push 0x100ddb08
mov eax, esi
call fcn.10003220
mov eax, 1
mov dword [esi + 0x150], eax
mov dword [esi + 0x154], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x13c], 0xee
mov ecx, dword [eax + 0x198]
mov eax, dword [esp + 0x2c]
sub eax, ecx
lea edx, [esp + 0x28]
mov dword [esi + 0xf0], ecx
mov ecx, dword [esp + 0x30]
push edx
sbb ecx, edi
push edi
push ebp
mov dword [esi + 0xf4], edi
mov dword [esi + 0xf8], eax
mov dword [esi + 0xfc], ecx
call fcn.10002f00
mov ebx, dword [sym.imp.MSVCR80.dll_free]
add esp, 0x1c
cmp dword [esp + 0x18], 0
mov edi, eax
jle 0x10006a51
push esi
call ebx
add esp, 4
mov ebp, dword [esp + 0x28]
push 0
push 0
push 0
push edi
push ebp
call dword [0x100ddb18]
add esp, 0x14
test edi, edi
mov esi, edi
je 0x10006a84
lea esp, [esp]
mov ecx, dword [esi]
mov edi, dword [esi + 8]
push ecx
call ebx
push esi
call ebx
add esp, 8
test edi, edi
mov esi, edi
jne 0x10006a70
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret
push 0x160
mov dword [esp + 0x2c], ebx
call dword [sym.imp.MSVCR80.dll_malloc]
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x10006aae
push 1
call dword [sym.imp.MSVCR80.dll_exit]
push 0x160
push ebx
push esi
call sub.ntdll.dll_memset
push 0x100ddb08
mov eax, esi
call fcn.10003220
mov eax, 1
mov dword [esi + 0x150], eax
mov dword [esi + 0x154], eax
mov dword [esi + 0x13c], 0xee
mov eax, dword [ebp + 0x198]
mov dword [esi + 0xf0], eax
mov dword [esi + 0xf4], ebx
mov ecx, dword [ebp + 0x110]
mov edx, dword [ebp + 0x114]
sub ecx, eax
lea eax, [esp + 0x38]
push eax
sbb edx, ebx
push ebx
push ebx
mov dword [esi + 0xf8], ecx
mov dword [esi + 0xfc], edx
call fcn.10002f00
add esp, 0x1c
cmp dword [esp + 0x28], ebx
mov edi, eax
jle 0x10006b30
push esi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov ebx, dword [sym.imp.MSVCR80.dll_free]
jmp 0x10006a55