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

Disassembly:
sub esp, 0x88
push ebx
push esi
mov esi, dword [esp + 0x94]
push edi
xor ebx, ebx
push 0x14
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov edi, dword [esi + 0x18]
add eax, ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0x14]
inc edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x1c], 0x101
mov dword [esp + 0x20], 0x100
mov dword [esp + 0x84], ebx
mov dword [esp + 0x78], ebx
call fcn.0041e494
add esp, 4
cmp eax, ebx
mov dword [esp + 0x34], eax
jne 0x41a53c
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
add esp, 0x88
ret
mov eax, dword [esi + 0x18]
push ebp
xor ebp, ebp
cmp eax, ebx
mov dword [esp + 0x3c], 5
je 0x41a6b2
lea esi, [edi*4]
push esi
call fcn.0041e494
mov ebx, eax
push esi
mov dword [esp + 0x3c], ebx
call fcn.0041e494
push esi
mov dword [esp + 0x30], eax
call fcn.0041e494
push esi
mov dword [esp + 0x64], eax
call fcn.0041e494
push esi
mov dword [esp + 0x64], eax
call fcn.0041e494
push esi
mov dword [esp + 0x74], eax
call fcn.0041e494
push esi
mov dword [esp + 0x74], eax
call fcn.0041e494
push esi
mov dword [esp + 0x4c], eax
call fcn.0041e494
push esi
mov dword [esp + 0x88], eax
call fcn.0041e494
add esp, 0x24
mov esi, eax
test ebx, ebx
mov dword [esp + 0x80], esi
je 0x41a604
mov eax, dword [esp + 0x24]
test eax, eax
je 0x41a604
mov eax, dword [esp + 0x54]
test eax, eax
je 0x41a604
mov eax, dword [esp + 0x50]
test eax, eax
je 0x41a604
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x41a604
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x41a604
mov eax, dword [esp + 0x58]
test eax, eax
je 0x41a604
mov eax, dword [esp + 0x64]
test eax, eax
je 0x41a604
test esi, esi
jne 0x41a6db
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0041e683
add esp, 4
test ebx, ebx
je 0x41a61e
push ebx
call fcn.0041e683
add esp, 4
mov eax, dword [esp + 0x24]
test eax, eax
je 0x41a62f
push eax
call fcn.0041e683
add esp, 4
mov eax, dword [esp + 0x54]
test eax, eax
je 0x41a640
push eax
call fcn.0041e683
add esp, 4
mov eax, dword [esp + 0x50]
test eax, eax
je 0x41a651
push eax
call fcn.0041e683
add esp, 4
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x41a662
push eax
call fcn.0041e683
add esp, 4
mov eax, dword [esp + 0x58]
test eax, eax
je 0x41a673
push eax
call fcn.0041e683
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x41a684
push eax
call fcn.0041e683
add esp, 4
mov eax, dword [esp + 0x64]
test eax, eax
je 0x41a695
push eax
call fcn.0041e683
add esp, 4
test esi, esi
je 0x41a6a2
push esi
call fcn.0041e683
add esp, 4
xor esi, esi
mov dword [esp + 0x64], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x80], esi
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0xb0]
test eax, eax
jl 0x41c005
mov edx, dword [esp + 0xa4]
mov ecx, dword [esp + 0xac]
add edx, ecx
cmp eax, edx
jg 0x41c005
cmp edi, 1
jbe 0x41a769
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x54]
lea eax, [ecx + 4]
sub edx, ecx
sub esi, ecx
sub edi, ecx
mov ecx, dword [esp + 0x2c]
sub ecx, ebx
mov ebx, dword [esp + 0x4c]
dec ebx
mov dword [esp + 0x70], ebx
mov dword [edx + eax], 0xffffffff
mov dword [eax], 0xffffffff
mov dword [esi + eax], 0xffffffff
mov dword [edi + eax], 0xffffffff
mov ebx, dword [ecx + eax]
add eax, 4
and ebx, 0xffffffe3
or ebx, 3
mov dword [ecx + eax - 4], ebx
mov ebx, dword [esp + 0x70]
dec ebx
mov dword [esp + 0x70], ebx
jne 0x41a733
mov eax, dword [esp + 0xac]
mov edi, dword [esp + 0xa0]
test eax, eax
jne 0x41a7aa
test edi, edi
je 0x41a7aa
mov eax, dword [esp + 0xa4]
mov esi, edi
xor edi, edi
xor edx, edx
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], eax
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], edx
jmp 0x41a7b8
mov esi, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
add eax, esi
lea ebx, [edi + edx]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0xb8]
cmp eax, edx
mov dword [esp + 0x48], ebx
mov ecx, esi
jg 0x41a7d7
lea ebx, [edi + eax]
jmp 0x41a7db
sub ecx, edx
add ecx, eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x68], ebx
test edx, edx
mov dword [esp + 0x18], ecx
jle 0x41a7fe
cmp eax, edx
jg 0x41a7fe
add edi, eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x14], edi
jmp fcn.0041a80a
sub esi, edx
mov dword [esp + 0x30], ecx
add esi, eax
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0041e683
add esp, 4
test ebx, ebx
je 0x41c01f
push ebx
call fcn.0041e683
add esp, 4
mov eax, dword [esp + 0x24]
test eax, eax
je 0x41c030
push eax
call fcn.0041e683
add esp, 4
mov eax, dword [esp + 0x54]
test eax, eax
je 0x41c041
push eax
call fcn.0041e683
add esp, 4
mov eax, dword [esp + 0x50]
test eax, eax
je 0x41c052
push eax
call fcn.0041e683
add esp, 4
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x41c063
push eax
call fcn.0041e683
add esp, 4
mov eax, dword [esp + 0x58]
test eax, eax
je 0x41c074
push eax
call fcn.0041e683
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x41c085
push eax
call fcn.0041e683
add esp, 4
mov eax, dword [esp + 0x64]
test eax, eax
je 0x41c096
push eax
call fcn.0041e683
add esp, 4
test esi, esi
je 0x41c0a3
push esi