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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xa8
mov ebx, edx
mov esi, ecx
mov edi, dword [esp + 0xc0]
mov eax, dword [0x4636bc]
xor eax, esp
mov dword [esp + 0xa4], eax
push dword [ecx + 0x474]
call fcn.0042a1f0
add esp, 4
mov dword [esp + 0x24], eax
lea eax, [esp + 0x84]
push edi
push ebx
mov dword [esp + 0xc], esi
push dword [esi + 0x474]
push eax
call fcn.0042a570
add esp, 0x10
cmp dword [esp + 0x88], 0
je 0x41cccd
mov ecx, dword [esp + 4]
lea eax, [ecx + 0x4a8]
mov dword [esp + 0x2c], eax
movzx eax, word [esp + 0xc8]
mov dword [esp + 0x28], eax
lea eax, [ecx + 0x4b4]
mov dword [esp + 0x30], eax
lea eax, [ecx + 0x4c0]
mov dword [esp + 0x38], eax
lea eax, [ecx + 0x478]
mov dword [esp + 0x18], eax
movzx eax, word [esp + 0xbc]
mov dword [esp + 0x14], eax
xor ecx, ecx
xor ebp, ebp
mov dword [esp + 0x34], ebx
jmp 0x41c61f
mov ebp, dword [esp]
mov ecx, dword [esp + 0xc]
add ebp, 1
cmp ebp, eax
jae 0x41cccd
mov eax, dword [esp + 0x84]
mov ebx, ecx
mov edi, ebp
shl edi, 4
mov ecx, dword [eax + edi]
mov edx, dword [eax + edi + 4]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov ecx, dword [eax + edi + 8]
mov dword [esp + 0x7c], ecx
mov ecx, dword [eax + edi + 0xc]
mov dword [esp + 0x80], ecx
sub ecx, ebx
cmp ecx, 0xb
jb 0x41c740
push ecx
mov eax, dword [esp + 8]
push dword [eax + 0x474]
call fcn.0042ca30
add esp, 8
lea eax, [esp + 0x74]
push eax
push dword [esp + 0x1c]
call fcn.004271d0
add esp, 8
add ebx, 1
mov dword [esp + 0xc], ebx
lea ecx, [ebp + 1]
mov eax, dword [esp + 0x88]
cmp ecx, eax
jae 0x41c610
mov dword [esp], ebp
mov edx, dword [esp + 0x84]
shl ecx, 4
mov ebx, dword [edx + ecx]
mov ebp, dword [edx + ecx + 4]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebp
mov ebx, dword [edx + ecx + 8]
mov dword [esp + 0x6c], ebx
mov ecx, dword [edx + ecx + 0xc]
mov dword [esp + 0x70], ecx
cmp ecx, dword [esp + 0x80]
jne 0x41c60d
add edi, 0x20
mov ebp, dword [esp]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x1c]
call fcn.004271d0
add esp, 8
lea ecx, [ebp + 2]
mov eax, dword [esp + 0x88]
cmp ecx, eax
jae 0x41ca4a
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + edi]
mov ebx, dword [ecx + edi + 4]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ebx
mov edx, dword [ecx + edi + 8]
mov dword [esp + 0x6c], edx
mov ecx, dword [ecx + edi + 0xc]
mov dword [esp + 0x70], ecx
add ebp, 1
add edi, 0x10
cmp ecx, dword [esp + 0x80]
je 0x41c6e0
jmp 0x41c610
mov dword [esp + 0x20], ecx
mov dword [esp + 0xc], ebx
add eax, edi
mov ecx, dword [eax + 8]
mov dword [esp + 0x60], ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ecx
push dword [esp + 0x2c]
lea ebx, [esp + 0x5c]
push ebx
call fcn.00427240
add esp, 8
mov eax, dword [esp + 4]
push dword [eax + 0x490]
push dword [esp + 0x2c]
push ebx
push dword [esp + 0x20]
call fcn.004286e0
add esp, 0x10
mov dword [esp + 8], eax
mov dword [esp + 0x1c], edx
lea ecx, [ebp + 1]
cmp ecx, dword [esp + 0x88]
jae 0x41ca60
mov eax, dword [esp + 0x84]
mov dword [esp + 0x10], ecx
shl ecx, 4
mov edx, dword [eax + ecx]
mov ebx, dword [eax + ecx + 4]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ebx
mov edx, dword [eax + ecx + 8]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + ecx + 0xc]
mov dword [esp + 0x70], edx
cmp edx, dword [esp + 0x80]
jne 0x41ca60
add eax, ecx
add edi, 0x20
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp], ebp
mov ecx, dword [eax + 8]
mov dword [esp + 0x54], ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
push dword [esp + 0x30]
lea eax, [esp + 0x50]
push eax
call fcn.00427240
add esp, 8
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x90], eax
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 4]
mov eax, dword [esi + 0x4c0]
cmp dword [esi + 0x4c8], ebx
jae 0x41c87d
test eax, eax
je 0x41c85c
lea ecx, [ebx*8]
push ecx
push eax
call dword [0x463778]
add esp, 8
jmp 0x41c86d
lea eax, [ebx*8]
push eax
call dword [0x463770]
add esp, 4
mov dword [esi + 0x4c0], eax
mov dword [esi + 0x4c8], ebx
mov ebx, dword [esp + 0x50]
mov dword [esi + 0x4c4], ebx
shl ebx, 3
push ebx
push dword [esp + 0x50]
push eax
call fcn.00433bb0
add esp, 0xc
mov eax, dword [esi + 0x490]
test byte [esp + 0x90], 1
jne 0x41c8c0
mov ecx, dword [esp + 0x90]
movzx ecx, word [ecx + 0x26]
jmp 0x41c8c8
movzx ecx, byte [esp + 0x91]
movzx ecx, cx
push eax
push 0
push dword [esp + 0x40]
push ecx
call fcn.004286e0
add esp, 0x10
mov dword [esp + 0x9c], edx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x94]
mov esi, dword [esp + 4]
mov ecx, esi
push edx
push eax
push ebp
push ebx
call fcn.0041dfe0
add esp, 0x10
test al, al
je 0x41c9d0
mov ebx, dword [esp + 0x2c]
push ebx
mov ebp, dword [esp + 0x1c]
push ebp
call fcn.00426f20
add esp, 8
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
push ecx
push eax
push ebp
call fcn.00426f70
add esp, 0xc
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 8]
mov dword [esp + 0xa0], eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x98], eax
mov eax, dword [ebx + 8]
mov dword [edx + 8], eax
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [edx + 4], ecx
mov dword [edx], eax
mov eax, dword [esp + 0xa0]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
mov dword [ebx + 4], ecx
mov dword [ebx], eax
push dword [esi + 0x490]
push dword [esp + 0x2c]
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x20]
call fcn.004286e0
add esp, 0x10
mov dword [esp + 8], eax
mov dword [esp + 0x1c], edx
jmp 0x41c9eb
mov dword [esi + 0x4b8], 0
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x1c]
call fcn.004271d0
add esp, 8
mov ebp, dword [esp]
mov edx, dword [esp + 0x10]
lea eax, [ebp + 2]
cmp eax, dword [esp + 0x88]
jae 0x41ca52
add edx, 1
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x10], edx
mov eax, edx
shl eax, 4
add eax, ecx
mov edx, dword [ecx + edi]
mov ebx, dword [ecx + edi + 4]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ebx
mov ebp, dword [esp]
mov edx, dword [ecx + edi + 8]
mov dword [esp + 0x6c], edx
mov ecx, dword [ecx + edi + 0xc]
mov dword [esp + 0x70], ecx
add ebp, 1
add edi, 0x10
cmp ecx, dword [esp + 0x80]
je 0x41c7f0
jmp 0x41ca60
add ebp, 1
jmp 0x41c610
add ebp, 1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp], ebp
mov ebp, dword [esp + 0x20]
push ebp
mov esi, dword [esp + 8]
push dword [esi + 0x474]
call fcn.0042a200
add esp, 8
mov ebx, eax
cmp word [esp + 0xbc], 0xfffd
jbe 0x41caa0
xor eax, eax
cmp byte [esp + 0xd0], 0
jne 0x41cb9a
jmp 0x41cba7
mov eax, dword [esi + 0x490]
movzx ecx, bx
mov edi, dword [esp + 0x14]
cmp dword [eax + 0xc], edi
jbe 0x41cafa
lea edx, [esp + 0x64]
push edx
push edi
push ecx
push eax
call fcn.00416960
add esp, 0x10
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x41ca87
mov edx, dword [esp + 0x64]
cmp byte [edx + ecx*8 - 8], 0
jne 0x41ca87
test byte [edx + ecx*8 - 4], 1
mov eax, ebx
jne 0x41cb90
movzx eax, word [edx + ecx*8 - 6]
cmp byte [esp + 0xd0], 0
jne 0x41cb9a
jmp 0x41cba7
mov edx, dword [eax + 0x18]
cmp edx, ecx
jbe 0x41cb10
imul ecx, dword [eax + 4]
add ecx, dword [esp + 0x14]
add ecx, ecx
add ecx, dword [eax + 0x28]
jmp 0x41cb85
mov word [esp + 0x10], bx
mov ebx, dword [eax + 0x2c]
mov eax, dword [eax + 0x30]
sub ecx, edx
mov eax, dword [eax + ecx*4]
movzx esi, word [ebx + eax*2]
xor edi, edi
test esi, esi
je 0x41ccb3
lea ecx, [ebx + eax*2]
add ecx, 2
jmp 0x41cb50
add edi, 1
xor eax, eax
mov ecx, ebx
cmp edi, esi
movzx ebx, word [esp + 0x10]
je 0x41cb90
lea ebx, [ecx + 4]
movzx eax, word [ecx + 2]
test eax, eax
je 0x41cb40
lea ebx, [ebx + eax*2]
xor ebp, ebp
movzx edx, word [esp + 0xbc]
cmp word [ecx + ebp*2 + 4], dx
je 0x41cb7c
add ebp, 1
cmp eax, ebp
jne 0x41cb60
mov ebp, dword [esp + 0x20]
jmp 0x41cb40
mov ebp, dword [esp + 0x20]
movzx ebx, word [esp + 0x10]
movzx eax, word [ecx]
nop
nop
nop
nop
nop
nop
nop
nop
cmp byte [esp + 0xd0], 0
je 0x41cba7
cmp ax, bx
jne 0x41cba7
mov ecx, dword [esp + 8]
or byte [ecx + 0x2a], 4
cmp byte [esp + 0xcc], 0
jne 0x41cbc2
cmp dword [esp + 0x88], 1
ja 0x41cbc2
cmp dword [esp + 0x24], 2
jb 0x41cbce
mov ecx, dword [esp + 8]
or byte [ecx + 0x2a], 0x18
mov bx, 0xffff
mov edx, dword [esp + 8]
mov word [edx + 0x28], bx
mov ecx, dword [esp + 0xc4]
add dword [edx + 0x38], ecx
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
movzx eax, ax
mov dword [esp + 8], eax
push eax
push 0
push edx
push ecx
push ebp
mov esi, dword [esp + 0x18]
push dword [esi + 0x474]
call fcn.0042a350
add esp, 0x18
cmp dword [esi + 0x4ac], 0
mov edi, ebp
je 0x41cc62
xor ebx, ebx
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esi + 0x4a8]
mov ecx, dword [eax + ebx]
mov eax, dword [eax + ebx + 4]
push dword [esp + 8]
push 0
push eax
push ecx
push edi
push dword [esi + 0x474]
call fcn.0042a350
add esp, 0x18
add ebp, 1
add ebx, 8
cmp ebp, dword [esi + 0x4ac]
jb 0x41cc30
test edi, edi
je 0x41cca0
mov esi, edi
xor edi, edi
mov ebx, dword [esp + 0x34]
jmp 0x41cc77
add edi, 1
cmp esi, edi
je 0x41cca0
cmp ebx, edi
je 0x41cc70
push esi
push edi
mov eax, dword [esp + 0xc]
push dword [eax + 0x474]
call fcn.0042cd30
add esp, 0xc
test al, al
je 0x41cc70
mov ecx, dword [esp + 0xc]
add ecx, 1
jmp 0x41cca4
mov ecx, dword [esp + 0xc]
mov ebp, dword [esp]
mov eax, dword [esp + 0x88]
jmp 0x41c614
xor eax, eax
movzx ebx, word [esp + 0x10]
cmp byte [esp + 0xd0], 0
jne 0x41cb9a
jmp 0x41cba7
mov eax, dword [esp + 4]
push dword [eax + 0x474]
call fcn.0042a1f0
add esp, 4
mov ecx, dword [esp + 0x24]
cmp eax, ecx
mov esi, 0xffffffff
cmova esi, ecx
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.0042fb70
mov eax, esi
add esp, 0xa8
pop esi
pop edi
pop ebx
pop ebp
ret