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

Disassembly:
push 0xffffffffffffffff
push 0x4b196a
mov eax, dword fs:[0]
push eax
sub esp, 0x164
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4dde40]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x188]
mov eax, dword [esp + 0x18c]
xor ebx, ebx
mov dword [esp + 0x180], ebx
push ebp
mov edi, 0x4c6100
lea esi, [esp + 0xf0]
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ebx
call fcn.004159d0
lea ecx, [ebp + 0x1c]
push ecx
push eax
lea edi, [esp + 0xc0]
mov dword [esp + 0x18c], 1
call fcn.00415a80
push eax
mov edi, 0x4c6100
lea esi, [esp + 0x8c]
mov byte [esp + 0x190], 2
call fcn.004159d0
lea edx, [ebp + 0x38]
push edx
push eax
lea edi, [esp + 0x5c]
mov byte [esp + 0x198], 3
call fcn.00415a80
push eax
mov edi, 0x4c6100
lea esi, [esp + 0xec]
mov byte [esp + 0x19c], 4
call fcn.004159d0
lea ecx, [ebp + 0x54]
push ecx
push eax
lea edi, [esp + 0x12c]
mov byte [esp + 0x1a4], 5
call fcn.00415a80
push eax
mov edi, 0x4c6100
lea esi, [esp + 0x50]
mov byte [esp + 0x1a8], 6
call fcn.004159d0
lea edx, [ebp + 0x70]
push edx
push eax
lea edi, [esp + 0x170]
mov byte [esp + 0x1b0], 7
call fcn.00415a80
push eax
mov edi, 0x4c6100
lea esi, [esp + 0x94]
mov byte [esp + 0x1b4], 8
call fcn.004159d0
lea ecx, [ebp + 0xa4]
push ecx
push eax
lea edi, [esp + 0xd4]
mov byte [esp + 0x1bc], 9
call fcn.00415a80
mov byte [esp + 0x1bc], 0xa
mov esi, dword [esp + 0x50]
push eax
mov edi, 0x4c6100
call fcn.004159d0
add esp, 0x40
mov esi, 0x10
mov dword [esp + 0x20], 1
cmp dword [esp + 0xb0], esi
jb 0x40b7b3
mov edx, dword [esp + 0x9c]
push edx
call fcn.0043815d
add esp, 4
mov edi, 0xf
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
cmp dword [esp + 0x78], esi
jb 0x40b7e0
mov eax, dword [esp + 0x64]
push eax
call fcn.0043815d
add esp, 4
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
cmp dword [esp + 0x158], esi
jb 0x40b805
mov ecx, dword [esp + 0x144]
push ecx
call fcn.0043815d
add esp, 4
mov dword [esp + 0x158], edi
mov dword [esp + 0x154], ebx
mov byte [esp + 0x144], bl
cmp dword [esp + 0x40], esi
jb 0x40b82d
mov edx, dword [esp + 0x2c]
push edx
call fcn.0043815d
add esp, 4
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp dword [esp + 0x120], esi
jb 0x40b852
mov eax, dword [esp + 0x10c]
push eax
call fcn.0043815d
add esp, 4
mov dword [esp + 0x120], edi
mov dword [esp + 0x11c], ebx
mov byte [esp + 0x10c], bl
cmp dword [esp + 0xe8], esi
jb 0x40b880
mov ecx, dword [esp + 0xd4]
push ecx
call fcn.0043815d
add esp, 4
mov dword [esp + 0xe8], edi
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
cmp dword [esp + 0x5c], esi
jb 0x40b8a8
mov edx, dword [esp + 0x48]
push edx
call fcn.0043815d
add esp, 4
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
cmp dword [esp + 0x94], esi
jb 0x40b8cd
mov eax, dword [esp + 0x80]
push eax
call fcn.0043815d
add esp, 4
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
cmp dword [esp + 0xcc], esi
jb 0x40b8fb
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.0043815d
add esp, 4
mov byte [esp + 0x180], bl
mov dword [esp + 0xcc], edi
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
cmp dword [esp + 0x104], esi
jb 0x40b930
mov edx, dword [esp + 0xf0]
push edx
call fcn.0043815d
add esp, 4
mov dword [esp + 0x104], edi
mov edi, dword [ebp + 0x98]
mov dword [esp + 0x100], ebx
mov byte [esp + 0xf0], bl
cmp edi, dword [ebp + 0x9c]
jbe 0x40b958
call fcn.0047c11f
mov esi, dword [ebp + 0x8c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
jmp 0x40b970
mov eax, dword [ebp + 0x9c]
mov dword [esp + 0x24], eax
cmp dword [ebp + 0x98], eax
jbe 0x40b987
call fcn.0047c11f
mov eax, dword [ebp + 0x8c]
cmp esi, ebx
je 0x40b995
cmp esi, eax
je 0x40b99a
call fcn.0047c11f
cmp edi, dword [esp + 0x24]
je 0x40ba95
cmp esi, ebx
jne 0x40ba8a
call fcn.0047c11f
xor esi, esi
cmp edi, dword [esi + 0x10]
jb 0x40b9bd
call fcn.0047c11f
mov eax, dword [esp + 0x14]
push edi
push eax
lea edi, [esp + 0x164]
call fcn.00415a80
push eax
mov edi, 0x4c6100
lea esi, [esp + 0x130]
mov dword [esp + 0x18c], 0xb
call fcn.004159d0
add esp, 0xc
push 0xffffffffffffffff
push ebx
mov byte [esp + 0x188], 0xc
mov ecx, dword [esp + 0x1c]
push eax
call fcn.004075d0
mov esi, 0x10
cmp dword [esp + 0x13c], esi
jb 0x40ba22
mov ecx, dword [esp + 0x128]
push ecx
call fcn.0043815d
add esp, 4
mov byte [esp + 0x180], bl
mov dword [esp + 0x13c], 0xf
mov dword [esp + 0x138], ebx
mov byte [esp + 0x128], bl
cmp dword [esp + 0x174], esi
jb 0x40ba5b
mov edx, dword [esp + 0x160]
push edx
call fcn.0043815d
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x40ba91
call fcn.0047c11f
xor eax, eax
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x10]
jb 0x40ba78
call fcn.0047c11f
add dword [esp + 0x1c], 0x1c
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x40b970
mov esi, dword [esi]
jmp 0x40b9b3
mov eax, dword [eax]
jmp 0x40ba6a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x170
ret 8