Function at 0x402960
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, ecx
xor ecx, ecx
push edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 1
cmp ebp, 0x100
ja 0x402a8d
je 0x402a77
lea eax, [ebp - 1]
cmp eax, 0x85
ja case.0x4029aa.3
movzx eax, byte [eax + 0x402be4]
jmp dword [eax*4 + 0x402bb4]
mov edx, dword [esi]
mov edx, dword [edx + 0x64]
lea eax, [esp + 0x10]
push eax
push edi
push ebx
push ebp
jmp 0x402b4d
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
lea ecx, [esp + 0x10]
push ecx
push edi
push ebx
push ebp
jmp 0x402b4d
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
lea ecx, [esp + 0x10]
push ecx
push edi
push ebx
push ebp
jmp 0x402b4d
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
lea ecx, [esp + 0x10]
push ecx
push edi
push ebx
push ebp
jmp 0x402b4d
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
lea ecx, [esp + 0x10]
push ecx
push edi
push ebx
push ebp
jmp 0x402b4d
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
lea ecx, [esp + 0x10]
push ecx
push edi
push ebx
push ebp
jmp 0x402b4d
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x10]
push ecx
push edi
push ebx
push ebp
jmp 0x402b4d
mov eax, dword [esi]
mov edx, dword [eax + 0x4c]
lea ecx, [esp + 0x10]
push ecx
push edi
push ebx
push ebp
jmp 0x402b4d
mov eax, dword [esi]
mov edx, dword [eax + 0x58]
lea ecx, [esp + 0x10]
push ecx
push edi
push ebx
push ebp
jmp 0x402b4d
mov eax, dword [esi]
mov edx, dword [eax + 0x6c]
lea ecx, [esp + 0x10]
push ecx
push edi
push ebx
push ebp
jmp 0x402b4d
mov eax, dword [esi]
mov edx, dword [eax + 0x70]
lea ecx, [esp + 0x10]
push ecx
push edi
push ebx
push ebp
jmp 0x402b4d
mov eax, dword [esi]
mov edx, dword [eax + 0x68]
lea ecx, [esp + 0x10]
push ecx
push edi
push ebx
push 0x100
jmp 0x402b4d
cmp ebp, 0x201
ja 0x402afb
je 0x402ae8
mov eax, ebp
sub eax, 0x102
je 0x402ad5
sub eax, 0x10
je 0x402ac2
sub eax, 0xee
jne case.0x4029aa.3
mov eax, dword [esi]
mov edx, dword [eax + 0x7c]
lea ecx, [esp + 0x10]
push ecx
push edi
push ebx
push 0x200
jmp 0x402b4d
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
lea ecx, [esp + 0x10]
push ecx
push edi
push ebx
push 0x112
jmp 0x402b4d
mov eax, dword [esi]
mov edx, dword [eax + 0x5c]
lea ecx, [esp + 0x10]
push ecx
push edi
push ebx
push 0x102
jmp 0x402b4d
mov eax, dword [esi]
mov edx, dword [eax + 0x74]
lea ecx, [esp + 0x10]
push ecx
push edi
push ebx
push 0x201
jmp 0x402b4d
mov eax, ebp
sub eax, 0x202
je 0x402b3c
sub eax, 8
je 0x402b29
sub eax, 0x97
je 0x402b16
mov dword [esp + 0x10], ecx
jmp 0x402b5c
mov eax, dword [esi]
mov edx, dword [eax + 0x54]
lea ecx, [esp + 0x10]
push ecx
push edi
push ebx
push 0x2a1
jmp 0x402b4d
mov eax, dword [esi]
mov edx, dword [eax + 0x50]
lea ecx, [esp + 0x10]
push ecx
push edi
push ebx
push 0x20a
jmp 0x402b4d
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
lea ecx, [esp + 0x10]
push ecx
push edi
push ebx
push 0x202
mov ecx, esi
call edx
cmp dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
jne 0x402ba7
mov eax, dword [esi]
mov edx, dword [eax + 0x80]
lea ecx, [esp + 0x10]
push ecx
push edi
push ebx
push ebp
mov ecx, esi
call edx
cmp dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
jne 0x402ba7
lea eax, [esp + 0x14]
push eax
push edi
push ebx
push ebp
lea ecx, [esi + 0x1c]
call fcn.0041d099
test al, al
je 0x402b9d
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
push edi
push ebx
push ebp
mov ecx, esi
call fcn.0041e8ef
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc