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

Disassembly:
push ebp
push edi
push esi
mov esi, 0xaaaaaaab
push ebx
sub esp, 0x5c
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
lea edx, [ecx + 2]
mov eax, edx
mul esi
mov eax, edx
and edx, 0xfffffffe
shr eax, 1
mov dword [esp + 0x20], eax
add eax, 1
mov esi, eax
lea edi, [eax*8]
mov dword [esp + 0x24], eax
shl esi, 4
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], esi
add esi, ebx
mov dword [esp + 0x28], esi
lea esi, [ebx + edi]
mov dword [esp + 0x30], esi
lea esi, [eax*4]
mov eax, dword [esp + 0x70]
add eax, esi
mov dword [esp + 0x34], eax
lea eax, [edi - 8]
mov dword [esp + 0x44], eax
add eax, dword [esp + 0x74]
mov dword [esp + 0x38], eax
xor eax, eax
sub ecx, edx
mov dword [esp + 0x2c], ecx
jne 0x41e3a0
sub esi, 4
cmp dword [esp + 0x74], ebx
je 0x41e12f
cmp dword [esp + 0x20], eax
jle 0x41e12f
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x74]
shl eax, 2
add edx, eax
add ecx, esi
add eax, ebx
lea esi, [esi]
mov edi, dword [edx]
add edx, 4
add eax, 4
mov dword [eax - 4], edi
cmp edx, ecx
jne 0x41e120
mov ebp, dword [esp + 0x74]
mov edi, dword [esp + 0x20]
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x48], esi
add ebp, esi
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebp
mov dword [esp], eax
call fcn.004041a0
mov ecx, dword [esp + 0x28]
add ecx, esi
mov dword [esp + 0x4c], ecx
mov dword [ecx], eax
mov ecx, edi
jmp 0x41e177
mov edx, dword [ebx + ecx*4]
mov eax, dword [ebp + ecx*4]
cmp edx, eax
jne 0x41e430
sub ecx, 1
jae 0x41e168
add esi, dword [esp + 0x30]
xor edi, edi
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebp
mov dword [esp + 4], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00404250
sub edi, eax
mov dword [esi], edi
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebp
mov dword [esp], eax
call fcn.004041a0
mov esi, dword [esp + 0x20]
cmp esi, edi
je 0x41e20d
lea edx, [edi*4]
sub esi, edi
lea ecx, [ebp + edx]
add edx, dword [esp + 0x34]
add eax, dword [ecx]
mov dword [edx], eax
jae 0x41e370
mov eax, 1
jmp 0x41e204
mov edi, dword [ecx + eax*4]
add edi, 1
mov dword [edx + eax*4], edi
add eax, 1
test edi, edi
jne 0x41e480
cmp esi, eax
jg 0x41e1f0
mov eax, 1
mov esi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x34]
add eax, dword [esi]
mov dword [esp + 4], ebp
lea esi, [eax + eax]
mov eax, dword [esp + 0x20]
mov dword [esp], ebp
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
call fcn.00419080
mov edx, dword [esp + 0x74]
mov dword [esp + 4], ebp
mov edi, eax
mov eax, dword [esp + 0x20]
mov dword [esp], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.00404250
mov edx, dword [esp + 0x48]
sub edi, eax
add edi, esi
mov dword [ebp + edx], edi
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
mov dword [esp], ebx
lea eax, [edi + edi*4]
mov dword [esp + 8], edi
lea esi, [ebx + eax*4]
mov dword [esp + 4], edx
mov dword [esp + 0xc], esi
call fcn.0041dd00
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], esi
mov dword [esp + 4], ebp
lea edi, [ebx + edx - 4]
mov dword [esp + 8], ecx
mov dword [esp], edi
call fcn.0041dd00
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x70]
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
lea ebp, [ebp + edx - 0x10]
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], ebp
call fcn.0041dd00
mov eax, dword [ebp]
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x70]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x34], eax
lea ebp, [ebp + edx - 0xc]
mov edx, dword [ebp]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xc], esi
mov dword [esp + 0x30], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
add ecx, dword [esp + 0x70]
mov dword [esp], ecx
call fcn.0041dd00
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x70]
mov dword [ebp], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp], ecx
call fcn.0041dd00
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], edi
lea ecx, [eax + eax]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ecx
mov dword [esp], eax
call fcn.00410aa0
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp ecx, edx
je 0x41e397
cmp esi, 1
jle 0x41e397
lea eax, [ecx + 4]
add edx, 4
lea ecx, [ecx + esi*4]
lea esi, [esi]
mov esi, dword [eax]
add eax, 4
add edx, 4
mov dword [edx - 4], esi
cmp eax, ecx
jne 0x41e388
xor eax, eax
jmp 0x41e20d
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], ecx
mov edi, ecx
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.004041a0
test eax, eax
je 0x41e440
mov eax, edi
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x74]
jmp 0x41e3e3
mov edx, dword [edi + eax*4]
add eax, 1
add edx, 1
mov dword [ebx + eax*4 - 4], edx
jne 0x41e0fc
cmp eax, ecx
jl 0x41e3d0
mov ebp, dword [esp + 0x74]
sub esi, 4
mov edi, dword [esp + 0x28]
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], esi
add ebp, esi
mov dword [esp], edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebp
call fcn.004041a0
mov ecx, edi
mov edx, esi
mov edi, 1
add ecx, esi
mov esi, dword [esp + 0x30]
add eax, 1
mov dword [esp + 0x4c], ecx
mov dword [ecx], eax
add esi, edx
jmp 0x41e182
add esi, dword [esp + 0x30]
cmp edx, eax
jbe 0x41e450
xor edi, edi
jmp 0x41e182
mov eax, dword [esp + 0x2c]
jmp 0x41e0fc
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], ebp
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00404250
mov dword [esi], 0
jmp 0x41e1a2
cmp ecx, edx
je 0x41e397
cmp esi, eax
jle 0x41e397
shl eax, 2
lea edi, [ecx + eax]
add eax, edx
lea edx, [ecx + esi*4]
lea esi, [esi]
nop
mov ecx, dword [edi]
add edi, 4
add eax, 4
mov dword [eax - 4], ecx
cmp edx, edi
jne 0x41e4a0
xor eax, eax
jmp 0x41e20d