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

Disassembly:
sub esp, 0x6c
push ebx
mov ebx, ecx
push ebp
push esi
mov ecx, dword [ebx + 0x1c]
lea eax, [esp + 0x18]
push edi
push eax
push ecx
mov dword [esp + 0x1c], ebx
call dword [fcn.0040168c]
mov ecx, ebx
call fcn.0045d570
mov ebp, dword [fcn.00401640]
test ah, 4
je 0x41bc2a
mov ecx, ebx
call fcn.0045d570
test ah, 8
jne 0x41bc36
mov ecx, ebx
call fcn.0045d570
test ah, 8
je 0x41bc7f
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
sub edx, edi
push edx
mov edx, dword [esp + 0x24]
sub eax, edx
lea ecx, [esp + 0x20]
push eax
push 0
push 0
push ecx
call ebp
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x1c]
sub eax, edx
sub eax, ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov edx, dword [ebx + 0x70]
mov dword [esp + 0x10], 0
test edx, edx
je 0x41bc96
mov dword [esp + 0x10], 1
mov eax, dword [ebx + 0x60]
test eax, eax
je 0x41bca2
add dword [esp + 0x10], 2
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x41bcae
add dword [esp + 0x10], 2
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov esi, eax
xor edi, edi
sub esi, ecx
sub esi, 3
test edx, edx
je 0x41bd3d
xor edx, edx
sub eax, ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
lea edx, [esi + 1]
mov ecx, ebx
mov edi, esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
call fcn.0045d570
test ah, 2
je 0x41bd0f
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
sub ecx, edx
push ecx
mov ecx, dword [esp + 0x20]
mov edx, eax
sub eax, esi
sub edx, ecx
sub eax, ecx
push edx
dec eax
push 0
push eax
lea eax, [esp + 0x3c]
push eax
call ebp
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
call dword [0x40160c]
test eax, eax
je 0x41bd3d
pop edi
pop esi
pop ebp
mov eax, 0xfffffffb
pop ebx
add esp, 0x6c
ret 8
mov ecx, ebx
call fcn.0045d570
test ah, 2
mov eax, dword [esp + 0x10]
je 0x41be9e
cmp eax, 2
je 0x41be3d
cmp eax, 3
je 0x41be3d
cmp eax, 4
je 0x41bd71
cmp eax, 5
jne 0x41bf61
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
sub eax, edi
sub ecx, ebx
mov edx, eax
push ecx
mov ecx, dword [esp + 0x20]
sub eax, esi
sub edx, ecx
sub eax, ecx
push edx
dec eax
push 0
push eax
lea eax, [esp + 0x7c]
push eax
call ebp
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
sub ecx, edx
mov edx, eax
lea ebx, [esi + esi]
sub edx, edi
push ecx
mov ecx, dword [esp + 0x20]
sub edx, esi
sub eax, ebx
sub edx, ecx
sub eax, edi
dec edx
sub eax, ecx
push edx
dec eax
push 0
push eax
lea eax, [esp + 0x5c]
push eax
call ebp
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
sub edx, dword [esp + 0x20]
lea ecx, [esi + esi*2]
push edx
mov edx, eax
sub edx, ebx
sub eax, ecx
sub edx, edi
sub eax, edi
mov ebx, edx
mov edx, dword [esp + 0x20]
sub eax, edx
sub ebx, edx
sub eax, 2
dec ebx
push ebx
push 0
push eax
lea eax, [esp + 0x4c]
push eax
call ebp
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
sub ecx, ebx
push ecx
mov edx, eax
lea ecx, [esi + esi*2]
sub edx, ecx
mov ecx, dword [esp + 0x20]
sub edx, edi
sub edx, ecx
sub edx, 2
push edx
lea edx, [esi*4]
sub eax, edx
push 0
sub eax, edi
sub eax, ecx
sub eax, 3
push eax
lea eax, [esp + 0x6c]
push eax
jmp 0x41bf5b
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
sub eax, edi
sub ecx, edx
mov edx, eax
push ecx
mov ecx, dword [esp + 0x20]
sub eax, esi
sub edx, ecx
sub eax, ecx
push edx
dec eax
push 0
push eax
lea eax, [esp + 0x5c]
push eax
call ebp
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
sub ecx, edx
mov edx, eax
push ecx
mov ecx, dword [esp + 0x20]
sub edx, edi
sub edx, esi
sub edx, ecx
dec edx
push edx
lea edx, [esi + esi]
sub eax, edx
push 0
sub eax, edi
sub eax, ecx
sub eax, 3
push eax
lea eax, [esp + 0x4c]
push eax
call ebp
jmp 0x41bf61
cmp eax, 2
je 0x41bf29
cmp eax, 3
je 0x41bf29
cmp eax, 4
je 0x41beba
cmp eax, 5
jne 0x41bf61
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
sub ecx, eax
lea ebx, [edi + esi + 1]
push ecx
push ebx
push 0
lea edx, [esp + 0x68]
push edi
push edx
call ebp
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
sub ecx, edx
lea eax, [edi + esi*2 + 1]
push ecx
push eax
push 0
lea edx, [esp + 0x48]
push ebx
push edx
call ebp
mov ecx, dword [esp + 0x28]
lea eax, [edi + esi*2]
lea edx, [esp + 0x4c]
lea ebx, [esi + eax + 2]
mov eax, dword [esp + 0x20]
sub ecx, eax
lea eax, [edi + esi*2 + 1]
push ecx
push ebx
push 0
push eax
push edx
call ebp
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
sub eax, edx
lea ecx, [edi + esi*4 + 3]
push eax
push ecx
push 0
lea edx, [esp + 0x78]
push ebx
push edx
jmp 0x41bf5b
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
sub eax, edx
lea ebx, [edi + esi + 1]
push eax
push ebx
push 0
lea ecx, [esp + 0x48]
push edi
push ecx
call ebp
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
sub edx, ecx
lea eax, [edi + esi*2 + 3]
push edx
push eax
push 0
lea ecx, [esp + 0x58]
push ebx
push ecx
call ebp
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x10], 4
jl 0x41bf9d
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x41bf9d
mov edi, dword [esp + 0x84]
mov ebp, dword [esp + 0x80]
mov esi, dword [0x40160c]
push edi
lea edx, [esp + 0x60]
push ebp
push edx
call esi
test eax, eax
je 0x41bfb1
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x6c
ret 8
mov ebp, dword [esp + 0x80]
mov esi, dword [0x40160c]
mov edi, dword [esp + 0x84]
mov eax, dword [ebx + 0x60]
test eax, eax
je 0x41bfd4
push edi
lea eax, [esp + 0x40]
push ebp
push eax
call esi
test eax, eax
je 0x41bfd4
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0x6c
ret 8
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x41bff7
push edi
lea ecx, [esp + 0x50]
push ebp
push ecx
call esi
test eax, eax
je 0x41bff7
pop edi
pop esi
pop ebp
mov eax, 0xfffffffd
pop ebx
add esp, 0x6c
ret 8
cmp dword [esp + 0x10], 4
jl 0x41c021
mov eax, dword [ebx + 0x6c]
test eax, eax
je 0x41c021
push edi
lea edx, [esp + 0x70]
push ebp
push edx
call esi
test eax, eax
je 0x41c021
pop edi
pop esi
pop ebp
mov eax, 0xfffffffc
pop ebx
add esp, 0x6c
ret 8
mov eax, dword [ebx + 0x160]
xor esi, esi
test eax, eax
jle 0x41c066
mov eax, dword [ebx + 0x15c]
mov eax, dword [eax + esi*4]
mov cl, byte [eax + 0x30]
test cl, cl
je 0x41c04d
mov ecx, dword [eax + 0x2c]
push edi
push ebp
push ecx
call dword [0x401134]
test eax, eax
jne 0x41c05a
mov eax, dword [ebx + 0x160]
inc esi
cmp esi, eax
jge 0x41c066
jmp 0x41c02d
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 8
pop edi
pop esi
pop ebp
mov eax, 0xfffffffa
pop ebx
add esp, 0x6c
ret 8