Function at 0x40600d
Capabilities:
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
xor ecx, ecx
push edi
mov ebx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], ecx
mov eax, dword [esi + 0x8c]
mov edi, dword [esi]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], ecx
mov ecx, edi
mov eax, dword [eax + 0x3c]
mov dword [esi + 0x90], eax
mov eax, dword [edi]
mov dword [ebp - 0x24], esi
mov dword [ebp - 8], ebx
call dword [eax + 0x1d0]
and dword [ebp - 4], ebx
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4060a0
mov esi, dword [ebp - 4]
mov edx, dword [edi]
mov ecx, edi
push esi
call dword [edx + 0x34]
mov ebx, dword [eax]
test ebx, ebx
je 0x406091
mov esi, dword [ebp - 8]
mov eax, dword [edi]
mov ecx, edi
push ebx
inc esi
call dword [eax + 0x34]
mov dword [ebp - 0x1c], eax
mov edx, dword [edi]
mov ecx, edi
push ebx
call dword [edx + 0x34]
mov ebx, dword [eax + 4]
test ebx, ebx
jne 0x406073
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
jne 0x406067
mov dword [ebp - 8], esi
mov esi, dword [ebp - 4]
inc esi
mov dword [ebp - 4], esi
cmp esi, dword [ebp - 0x20]
jb 0x406056
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 8]
mov eax, dword [esi + 0x8c]
xor ecx, ecx
mov dword [esi + 0x94], ebx
push 4
imul edx, dword [eax + 0x38], 0x24
call fcn.004090fc
mov dword [0x42eb24], eax
test eax, eax
jne 0x4060dc
push 2
push 0x2ee1
call fcn.0040b1de
push eax
call fcn.0040a374
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov edx, dword [esi + 0x90]
xor ecx, ecx
push 4
shl edx, 2
call fcn.004090fc
mov dword [esi + 0x98], eax
test eax, eax
je 0x4060c2
mov eax, dword [esi + 0x94]
xor ecx, ecx
mov edx, eax
not edx
and edx, 1
add edx, eax
mov dword [0x42fb64], edx
push 4
shl edx, 2
call fcn.004090fc
mov ecx, eax
mov dword [0x42eb20], ecx
test ecx, ecx
je 0x4060c2
mov eax, dword [0x42fb64]
shl eax, 2
push eax
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 4]
add esp, 0xc
cmp dword [eax + 0x1c], 0
je 0x406161
push 0x2f5b
call fcn.0040b51a
mov eax, dword [esi + 4]
pop ecx
cmp dword [eax + 0x44], 0
je 0x406161
push 0x401778
call fcn.0040b56c
pop ecx
mov ecx, dword [esi]
push 0
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov edx, eax
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x40635b
xor ebx, ebx
mov ecx, dword [esi + 0x8c]
mov eax, dword [ebp - 0xc]
cmp eax, dword [ecx + 0x38]
jge 0x40635b
mov edi, dword [0x42eb24]
add edi, ebx
inc dword [ebp - 0xc]
add ebx, 0x24
mov dword [ebp - 0x24], ebx
mov dword [edi], edx
mov ecx, dword [esi]
push dword [edx]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov dword [edi + 0x20], eax
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x44], 0
je 0x4061c0
push eax
push 0x2f5d
call fcn.0040b51a
pop ecx
pop ecx
mov edx, dword [edi]
cmp dword [edx + 4], 0
je 0x406344
and dword [edi + 0x18], 0
mov ecx, dword [esi]
push edx
mov eax, dword [ecx]
call dword [eax + 0x64]
mov ecx, dword [esi]
lea edx, [ebp - 0x28]
push edx
push 0xa
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dword [edi + 4], eax
test eax, eax
je 0x40639d
mov ecx, dword [esi]
lea edx, [ebp - 0x28]
push edx
push 0xb
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dword [edi + 8], eax
test eax, eax
je 0x40639d
mov ecx, dword [esi]
lea eax, [edi + 0x14]
push eax
lea eax, [edi + 0x10]
push eax
mov edx, dword [ecx]
call dword [edx + 0x1dc]
test eax, eax
je 0x40639d
mov edx, edi
mov ecx, esi
call fcn.004066ca
mov ecx, dword [esi]
push 0
mov eax, dword [ecx]
call dword [eax + 0x74]
mov ebx, eax
test ebx, ebx
je 0x40633a
imul eax, dword [ebp - 0x10], 0x64
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [esi + 0x90]
jae 0x40633a
mov ecx, dword [esi + 0x8c]
add dword [ebp - 4], 0x64
cdq
idiv dword [ecx + 0x3c]
mov ecx, dword [esi + 4]
inc dword [ebp - 0x10]
cmp dword [ecx + 0x44], 0
je 0x406287
mov edx, dword [ebx + 0x34]
mov ecx, esi
push eax
call fcn.00405fe8
push eax
push 0x40177c
call fcn.0040b56c
add esp, 0xc
mov ecx, dword [ebx + 0x34]
call fcn.00406636
mov dword [ebp - 8], eax
test eax, eax
je 0x406376
mov ecx, dword [esi]
push dword [ebx + 0x34]
mov edx, dword [ecx]
call dword [edx + 0x34]
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebp - 8]
add eax, dword [edi + 4]
mov dword [ecx + 0x58], eax
test byte [ebx + 0x14], 1
je 0x4062bc
movzx eax, word [ebx + 0x3c]
jmp 0x4062c0
movzx eax, word [ebx + 8]
mov word [ecx + 0x64], ax
mov ax, word [ebx + 0xc]
mov word [ecx + 0x66], ax
mov ecx, dword [esi]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x78]
mov eax, dword [ebp - 8]
mov edx, ebx
push edi
push eax
mov ecx, esi
mov dword [eax + 4], edi
call fcn.0040836d
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x7c]
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x98]
mov ecx, dword [ebp - 8]
mov dword [eax + edx*4], ecx
inc edx
cmp dword [0x42eb5c], 0
mov dword [ebp - 0x14], edx
jne 0x40630e
mov dword [0x42eb5c], ecx
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x406318
mov dword [eax + 0x68], ecx
and dword [ecx + 0x68], 0
xor eax, eax
mov word [ecx + 0x40], ax
mov dword [ebp - 0x18], ecx
mov ecx, dword [esi]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x74]
mov ebx, eax
mov eax, dword [ebp - 4]
test ebx, ebx
jne 0x406245
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x70]
mov ebx, dword [ebp - 0x24]
mov ecx, dword [esi]
push dword [ebp - 0x1c]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov edx, eax
mov dword [ebp - 0x1c], eax
test edx, edx
jne 0x406179
mov eax, dword [esi + 4]
cmp dword [eax + 0x1c], 0
je 0x40636f
push 0x2f5c
call fcn.0040b51a
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [esi + 4]
push dword [eax + 0x38]
push 0x42e
push 0x2ee1
call fcn.0040b1de
push eax
call fcn.0040a225
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x70]
or eax, 0xffffffff
jmp 0x406371
push dword [edi + 0x20]
push 0x425
push 0x2ee1
call fcn.0040b1de
push eax
call fcn.0040a2fc
jmp 0x4060d4