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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0x1c]
push edi
call fcn.004204cd
lea ecx, [esp + 0x58]
call fcn.004234b0
lea ecx, [esp + 0x80]
call fcn.004234b0
lea ecx, [esp + 0x38]
call fcn.004234b0
mov edi, dword [ebp + 8]
xor ebx, ebx
mov byte [esp + 0x13], bl
cmp dword [esi + 0x40], ebx
je 0x41c9b7
movzx eax, byte [esi + 0x52]
and eax, 1
jne 0x41c9ce
push ebx
lea eax, [esi + 0x14]
mov ecx, edi
push eax
push dword [esi + 0x10]
call fcn.00427379
test al, al
je 0x41cbf3
push ecx
push ecx
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
push dword [edi + 0x1c]
push dword [edi + 0x18]
call fcn.00412483
test al, al
je 0x41ca12
cmp dword [esi + 0x10], 0x80
jne 0x41ca12
cmp dword [esi + 0x20], ebx
jne 0x41ca12
push dword [ebp + 0xc]
mov ecx, esi
push edi
call fcn.0041ebde
test al, al
je 0x41cbf3
xor eax, eax
mov byte [esi + 0x53], bl
inc eax
jmp 0x41cbf5
mov ecx, edi
call fcn.0042a22b
mov ecx, eax
mov dword [esp + 0x18], eax
call fcn.004143f5
mov dword [esp + 0x14], eax
test eax, eax
je 0x41cbf7
cmp dword [esi + 0x40], ebx
je 0x41caad
push ebx
push dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push eax
push dword [esi + 8]
call fcn.00420569
test al, al
je 0x41ca7e
movzx eax, byte [esi + 0x52]
lea ecx, [esp + 0x20]
push eax
movzx eax, word [esi + 0x2c]
push eax
lea eax, [esi + 0x14]
push eax
push dword [esi + 0x10]
push dword [esi + 0x30]
push dword [esi + 0x40]
call fcn.00420607
test al, al
je 0x41ca8c
mov eax, dword [edi]
lea ecx, [esp + 0x20]
push ebx
push ecx
mov ecx, edi
call dword [eax + 0x10]
mov bl, al
mov ecx, dword [esp + 0x14]
call fcn.0041457e
jmp 0x41cbf7
cmp dword [esi + 0x40], ebx
je 0x41ca9a
movzx eax, byte [esi + 0x52]
and eax, 1
jne 0x41ca7e
cmp dword [ebp + 0xc], ebx
je 0x41ca7e
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 0xc]
call dword [eax + 0xc]
test al, al
je 0x41ca7e
mov ecx, dword [esp + 0x18]
mov eax, 0x80ff
add ecx, 0xffffffc0
test word [esi + 0x2c], ax
je 0x41cac2
sub ecx, 8
mov eax, dword [esi + 0x20]
push dword [esi + 0x44]
add eax, 7
and eax, 0xfffffff8
sub ecx, eax
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x5c]
call fcn.00423685
jmp 0x41cbd9
cmp byte [esp + 0x13], bl
jne 0x41cbe5
push ebx
push dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push dword [esp + 0x1c]
push dword [esi + 8]
call fcn.00420569
test al, al
je 0x41cb8d
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x60]
call fcn.0041c6d3
test al, al
je 0x41cb8d
lea eax, [esp + 0x78]
mov ecx, esi
push eax
call fcn.0041f2c5
push dword [esi + 0x3c]
mov ecx, dword [esi + 8]
push dword [esi + 0x38]
push dword [esi + 0x34]
push dword [esi + 0x30]
push dword [eax + 4]
push dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
imul eax, dword [esi + 0xc]
lea ecx, [esp + 0x38]
push eax
movzx eax, byte [esi + 0x2f]
push eax
movzx eax, word [esi + 0x2c]
push eax
lea eax, [esi + 0x14]
push eax
push dword [esi + 0x10]
lea eax, [esp + 0xac]
push eax
call fcn.0042070b
test al, al
je 0x41cb8d
mov eax, dword [edi]
lea ecx, [esp + 0x20]
push ebx
push ecx
mov ecx, edi
call dword [eax + 0x10]
mov byte [esp + 0x12], 1
test al, al
jne 0x41cb91
mov byte [esp + 0x12], bl
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.00412483
test al, al
je 0x41cbb5
mov al, byte [esp + 0x12]
mov byte [esp + 0x13], 1
jmp 0x41cbdd
cmp byte [esp + 0x12], bl
je 0x41cbd7
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x5c]
call fcn.00423685
test al, al
je 0x41cbd7
mov byte [esp + 0x12], 1
jmp 0x41cae2
mov al, bl
mov byte [esp + 0x12], al
test al, al
jne 0x41cae2
mov ecx, dword [esp + 0x14]
mov byte [esi + 0x53], bl
call fcn.0041457e
jmp 0x41cbfb
mov al, bl
mov bl, al
mov byte [esp + 0x12], bl
lea ecx, [esp + 0x38]
call fcn.00423522
lea ecx, [esp + 0x80]
call fcn.00423522
lea ecx, [esp + 0x58]
call fcn.00423522
lea ecx, [esp + 0x20]
call fcn.0042051c
mov al, byte [esp + 0x12]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8