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

Disassembly:
sub esp, 0x64
push ebx
push ebp
mov ebp, dword [esp + 0x74]
push esi
push edi
mov edi, dword [esp + 0x78]
cmp dword [edi + 0x55f8], 4
jne 0x41b7f8
xor ebx, ebx
lea esi, [esp + 0x7c]
mov edx, edi
mov dword [esp + 0x7c], ebx
call fcn.0041e2e0
test al, al
je 0x41b681
mov esi, dword [esp + 0x7c]
lea eax, [esp + 0x30]
mov ecx, esi
call fcn.0046b810
push ebx
mov edx, 0xff
xor ecx, ecx
lea eax, [esp + 0x44]
call fcn.0056a390
mov ecx, ebp
call fcn.0058cc90
push ebp
lea eax, [esp + 0x34]
call fcn.0058cec0
push ebx
lea eax, [esp + 0x24]
mov ecx, esi
call fcn.0046b8b0
cmp dword [esp + 0x28], 0x320
jge 0x41b4de
push ebx
xor edx, edx
mov ecx, 0xff
lea eax, [esp + 0x54]
call fcn.0056a390
mov ecx, ebp
call fcn.0058cc90
push ebp
lea eax, [esp + 0x24]
call fcn.0058cec0
mov ecx, dword [esi]
cmp dword [ecx + 0x768], ebx
je 0x41b516
mov eax, dword [ecx + 0x7f8]
cmp eax, 0x11
je 0x41b508
cmp eax, 0x21
je 0x41b508
cmp eax, ebx
jne 0x41b516
mov eax, dword [ecx + 0x82c]
cmp dword [eax + 0x24], 5
jne 0x41b516
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 8]
sub eax, 0x14
jmp 0x41b62b
mov eax, dword [esi + 0x24]
cmp eax, 0x1c
jne 0x41b52b
mov eax, dword [esi + 8]
xor ecx, ecx
add eax, 0x10
jmp 0x41b62b
cmp eax, 0x34
jne 0x41b53a
mov eax, dword [esi + 8]
xor ecx, ecx
jmp 0x41b62b
cmp eax, 0x11
jne 0x41b550
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x10]
add ecx, 0x14
sub eax, 0x23
jmp 0x41b62b
cmp eax, 6
jne 0x41b565
mov ecx, dword [esi + 8]
add ecx, 0x50
mov eax, 0x28
jmp 0x41b62b
cmp eax, 0x15
je 0x41b61f
cmp eax, 0x2e
je 0x41b61f
cmp eax, 4
jne 0x41b58a
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 8]
sub eax, 0x19
jmp 0x41b62b
cmp eax, 0x16
jne 0x41b59f
mov ecx, dword [esi + 8]
add ecx, 0x32
mov eax, 0x1e
jmp 0x41b62b
cmp eax, 8
je 0x41b612
cmp eax, 0x18
je 0x41b612
cmp eax, 0xa
jne 0x41b5bb
mov ecx, dword [esi + 8]
add ecx, 0x3c
mov eax, 0x154
jmp 0x41b62b
cmp eax, 0x2a
jne 0x41b5dd
mov ecx, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov eax, 0xf0
sub ecx, 0x50
sub esi, 0x50
mov edx, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], edx
jmp 0x41b639
cmp eax, 0x13
jne 0x41b5ea
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x10]
jmp 0x41b62b
cmp eax, 0x2b
jne 0x41b605
mov ecx, 0xfffffce0
mov edx, 0xfffffda8
mov eax, 0x640
mov esi, 0x4b0
jmp 0x41b631
mov ecx, dword [esi + 8]
add ecx, 0x3c
mov eax, 0x320
jmp 0x41b62b
mov ecx, dword [esi + 8]
add ecx, 0x3c
mov eax, 0xe6
jmp 0x41b62b
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x10]
add ecx, 0x14
sub eax, 0x32
mov edx, dword [esi + 0xc]
mov esi, dword [esi + 0x14]
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
cmp eax, 0x320
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
jge 0x41b66e
push 0x80
xor edx, edx
mov ecx, 0xff
lea eax, [esp + 0x64]
call fcn.0056a390
mov ecx, ebp
call fcn.0058cc90
push ebp
lea eax, [esp + 0x14]
call fcn.0058cec0
lea esi, [esp + 0x7c]
mov edx, edi
call fcn.0041e2e0
test al, al
jne 0x41b475
lea esi, [esp + 0x7c]
mov edx, edi
mov dword [esp + 0x7c], ebx
call fcn.0041e280
test al, al
je 0x41b72d
jmp 0x41b6a0
mov esi, dword [esp + 0x7c]
cmp byte [esi + 0xec], bl
jne 0x41b71a
mov eax, dword [esi + 0x28]
cmp eax, 1
je 0x41b71a
cmp eax, 2
je 0x41b71a
cmp eax, 3
je 0x41b71a
lea edi, [esp + 0x30]
mov ebx, esi
call fcn.00536520
push 0
mov edx, 0xff
xor ecx, ecx
lea eax, [esp + 0x64]
call fcn.0056a390
mov ecx, ebp
call fcn.0058cc90
push ebp
mov eax, edi
call fcn.0058cec0
lea edi, [esp + 0x20]
call fcn.005365b0
push 0
xor edx, edx
mov ecx, 0xff
lea eax, [esp + 0x54]
call fcn.0056a390
mov ecx, ebp
call fcn.0058cc90
push ebp
mov eax, edi
call fcn.0058cec0
mov edi, dword [esp + 0x78]
xor ebx, ebx
lea esi, [esp + 0x7c]
mov edx, edi
call fcn.0041e280
test al, al
jne 0x41b6a0
lea esi, [esp + 0x7c]
mov edx, edi
mov dword [esp + 0x7c], ebx
call fcn.0041e400
test al, al
je 0x41b79d
mov dword [esp + 0x18], 0x32
mov dword [esp + 0x1c], 0x50
mov esi, dword [esp + 0x7c]
fld dword [esi + 8]
call fcn.00643d70
fld dword [esi + 0xc]
mov dword [esp + 0x10], eax
call fcn.00643d70
mov dword [esp + 0x14], eax
push ebx
xor edx, edx
mov ecx, 0xff
lea eax, [esp + 0x64]
call fcn.0056a390
mov ecx, ebp
call fcn.0058cc90
push ebp
lea eax, [esp + 0x14]
call fcn.0058cec0
lea esi, [esp + 0x7c]
mov edx, edi
call fcn.0041e400
test al, al
jne 0x41b750
lea esi, [esp + 0x7c]
mov edx, edi
mov dword [esp + 0x7c], ebx
call fcn.0041e340
test al, al
je 0x41b7f8
mov edi, 0xb
mov esi, dword [esp + 0x7c]
cmp dword [esi + 0x5c], edi
jne 0x41b7e7
push ebx
xor edx, edx
mov ecx, 0xff
lea eax, [esp + 0x64]
call fcn.0056a390
mov ecx, ebp
call fcn.0058cc90
lea ecx, [esp + 0x30]
call fcn.004726d0
push ebp
mov eax, ecx
call fcn.0058cec0
mov edx, dword [esp + 0x78]
lea esi, [esp + 0x7c]
call fcn.0041e340
test al, al
jne 0x41b7b5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 8