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

Disassembly:
push 0xffffffffffffffff
push 0x4ba957
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x4db040]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4db040]
xor eax, esp
push eax
lea eax, [esp + 0xc4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xd4]
mov ecx, ebp
call fcn.00409810
push 0
xor ecx, ecx
mov ebx, ebp
mov dword [esp + 0x2c], eax
call fcn.00407540
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x54]
push eax
call fcn.004158d0
mov dword [esp + 0xcc], 0
mov ecx, dword [ebp + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push 0xffffffffffffffff
call eax
mov eax, dword [ebp + 0x3c]
mov ebx, dword [eax]
mov esi, dword [ebp + 0x24]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], esi
lea ecx, [ecx]
mov edi, dword [ebp + 0x3c]
mov eax, dword [ebp + 0x24]
test esi, esi
je 0x40b33e
cmp esi, eax
je 0x40b343
call fcn.004a35b4
cmp ebx, edi
je 0x40b383
test esi, esi
jne 0x40b37f
call fcn.004a35b4
cmp ebx, dword [esi + 0x18]
jne 0x40b35a
call fcn.004a35b4
add ebx, 0xc
push ebx
lea ecx, [esp + 0x78]
push ecx
lea ebx, [esp + 0x5c]
call fcn.00415010
lea esi, [esp + 0x18]
call fcn.00416050
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x40b330
mov esi, dword [esi]
jmp 0x40b350
mov ecx, dword [ebp + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
push 0
call eax
lea ecx, [esp + 0x80]
push ecx
call fcn.0045e3b0
mov byte [esp + 0xcc], 1
mov eax, 0x4c53c8
mov dword [esp + 0xb8], 0xf
mov dword [esp + 0xb4], 0
mov byte [esp + 0xa4], 0
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b3d0
sub eax, edx
push eax
push 0x4c53c8
lea ecx, [esp + 0xa8]
call fcn.00406c40
xor ecx, ecx
mov byte [esp + 0xcc], 2
call fcn.004064a0
mov dword [esp + 0x14], eax
mov byte [esp + 0xcc], 3
cmp dword [esp + 0xb8], 0x10
mov ecx, dword [esp + 0xa4]
jae 0x40b41e
lea ecx, [esp + 0xa4]
mov edx, dword [eax]
push ecx
mov ecx, eax
mov eax, dword [edx + 0x1c]
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
call eax
test eax, eax
jne 0x40b639
jmp 0x40b440
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
xor edi, edi
push edi
call eax
mov edx, eax
cmp eax, edi
jne 0x40b459
mov edx, 0x4c44f8
mov eax, edx
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], edi
mov byte [esp + 0x3c], 0
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b470
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x40]
call fcn.00406c40
cmp dword [esp + 0x50], 0x10
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], edi
jae 0x40b497
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x20]
push ecx
push 0x4c44fc
push eax
call fcn.004a25a5
mov ebx, dword [esp + 0x2c]
add esp, 0xc
cmp dword [esp + 0x50], 0x10
mov dword [esp + 0x18], ebx
jb 0x40b4c6
mov edx, dword [esp + 0x3c]
push edx
call fcn.004a21e6
add esp, 4
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
push 2
call edx
mov edx, eax
cmp eax, edi
jne 0x40b4de
mov edx, 0x4c44f8
mov eax, edx
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], edi
mov byte [esp + 0x3c], 0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b4f4
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x40]
call fcn.00406c40
cmp dword [esp + 0x50], 0x10
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], edi
jae 0x40b51b
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x20]
push ecx
push 0x4c44fc
push eax
call fcn.004a25a5
add esp, 0xc
cmp dword [esp + 0x50], 0x10
jb 0x40b542
mov edx, dword [esp + 0x3c]
push edx
call fcn.004a21e6
add esp, 4
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edi, [esp + 0x5c]
call fcn.004153e0
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x6c]
test esi, esi
je 0x40b567
cmp esi, dword [esp + 0x54]
je 0x40b56c
call fcn.004a35b4
mov eax, dword [esp + 0x34]
cmp eax, edi
jne 0x40b5f3
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
add eax, edx
cmp eax, dword [esp + 0x2c]
jg 0x40b61b
push 1
lea ecx, [ebp + 0x1c]
push ecx
mov dword [esp + 0x30], eax
call fcn.004a20ac
mov ecx, dword [ebp + 0x44]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push 0xffffffffffffffff
call eax
push 0xc
call fcn.004a2289
mov dword [eax], 1
mov dword [eax + 4], ebx
add esp, 4
mov dword [eax + 8], 0
mov esi, dword [ebp + 0x5c]
mov edx, dword [esi + 4]
lea ebx, [ebp + 0x48]
lea ecx, [esp + 0x18]
push ecx
push edx
push esi
mov dword [esp + 0x24], eax
call fcn.00416250
mov ecx, ebx
mov edi, eax
call fcn.00443110
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov ecx, dword [ebp + 0x44]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
jmp 0x40b61b
push eax
push esi
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x60]
push ecx
call fcn.00415110
lea edx, [esp + 0x18]
push edx
lea ebx, [esp + 0x84]
call fcn.00414c70
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
call eax
test eax, eax
je 0x40b440
push 0
lea ecx, [esp + 0x18]
push ecx
call fcn.004a20be
test eax, eax
je 0x40b652
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x44]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push 0xffffffffffffffff
call eax
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x54]
mov esi, dword [ecx]
mov dword [esp + 0x20], ebx
lea esp, [esp]
mov edi, dword [esp + 0x6c]
test ebx, ebx
je 0x40b67e
cmp ebx, dword [esp + 0x54]
je 0x40b683
call fcn.004a35b4
cmp esi, edi
je 0x40b75e
push 1
lea edx, [ebp + 0x1c]
push edx
call fcn.004a20ac
push 0xc
call fcn.004a2289
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
mov dword [edi], 2
test ebx, ebx
jne 0x40b710
call fcn.004a35b4
cmp esi, dword [ebx + 0x18]
jne 0x40b6bf
call fcn.004a35b4
mov eax, dword [esi + 0xc]
mov dword [edi + 4], eax
mov dword [edi + 8], 0
mov edi, dword [ebp + 0x5c]
mov edx, dword [edi + 4]
lea ecx, [esp + 0x18]
push ecx
push edx
push edi
call fcn.00416250
lea ecx, [ebp + 0x48]
mov ebx, eax
call fcn.00443110
cmp dword [esp + 0x20], 0
mov dword [edi + 4], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ebx
jne 0x40b6fc
call fcn.004a35b4
cmp byte [esi + 0x11], 0
je 0x40b714
call fcn.004a35b4
mov ebx, dword [esp + 0x20]
jmp 0x40b670
mov ebx, dword [ebx]
jmp 0x40b6b5
mov eax, dword [esi + 8]
cmp byte [eax + 0x11], 0
jne 0x40b73a
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x11], 0
jne 0x40b731
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x11], 0
je 0x40b727
mov ebx, dword [esp + 0x20]
jmp 0x40b670
mov eax, dword [esi + 4]
cmp byte [eax + 0x11], 0
jne 0x40b753
cmp esi, dword [eax + 8]
jne 0x40b753
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x11], 0
je 0x40b743
mov ebx, dword [esp + 0x20]
mov esi, eax
jmp 0x40b670
mov ecx, dword [esp + 0x28]
cmp ecx, dword [esp + 0x2c]
jle 0x40b843
cmp dword [esp + 0x9c], 0
jbe 0x40b843
mov edx, dword [esp + 0x98]
mov edi, dword [edx]
mov ebx, dword [esp + 0x80]
push 1
lea eax, [ebp + 0x1c]
push eax
mov dword [esp + 0x3c], edi
call fcn.004a20ac
push 0xc
call fcn.004a2289
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov dword [esi], 2
test ebx, ebx
jne 0x40b918
call fcn.004a35b4
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x40b7c8
call fcn.004a35b4
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 0xc]
mov dword [esi + 4], edx
mov dword [esi + 8], 0
mov esi, dword [ebp + 0x5c]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x18]
push eax
push ecx
push esi
call fcn.00416250
lea ecx, [ebp + 0x48]
mov edi, eax
call fcn.00443110
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
test ebx, ebx
jne 0x40b91f
call fcn.004a35b4
xor eax, eax
mov edi, dword [esp + 0x34]
cmp edi, dword [eax + 0x18]
jne 0x40b81a
call fcn.004a35b4
mov esi, dword [esp + 0x28]
sub esi, dword [edi + 0x10]
push edi
push ebx
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x8c]
push eax
mov dword [esp + 0x38], esi
call fcn.00414d20
cmp esi, dword [esp + 0x2c]
jg 0x40b76c
mov ebp, dword [ebp + 0x44]
mov edx, dword [ebp]
mov eax, dword [edx + 0x18]
mov ecx, ebp
call eax
push 0
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0xd4], 2
call fcn.004a20be
test eax, eax
je 0x40b871
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0xb8], 0x10
jb 0x40b88b
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.004a21e6
add esp, 4
mov dword [esp + 0xb8], 0xf
mov dword [esp + 0xb4], 0
mov byte [esp + 0xa4], 0
lea esi, [esp + 0x80]
mov byte [esp + 0xcc], 4
call fcn.00415890
mov edx, dword [esp + 0x80]
push edx
call fcn.004a21e6
add esp, 4
lea esi, [esp + 0x54]
mov dword [esp + 0xcc], 5
call fcn.00415c50
mov eax, dword [esp + 0x54]
push eax
call fcn.004a21e6
add esp, 4
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.004a2151
add esp, 0xbc
ret 4
mov eax, dword [ebx]
jmp 0x40b7be
mov eax, dword [ebx]
jmp 0x40b80c