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

Disassembly:
sub esp, 0x70
mov edx, dword [esi]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x44], edx
mov edx, dword [esi + 0x22]
push ebx
lea ebx, [esi + 8]
push ebp
mov ebp, dword [esi + 0x7f]
mov dword [esp + 0x3c], edx
mov edx, dword [esi + 0x26]
push edi
mov edi, dword [esi + 4]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x1c], ecx
xor ecx, ecx
mov dword [esp + 0x44], edx
xor edx, edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x54], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
test edi, edi
jb 0x41eb9a
ja 0x41e8d0
cmp dword [esp + 0x50], eax
jbe 0x41eb9a
nop
mov eax, dword [esi + 0x7f]
mov edi, edx
shl edi, 4
add edi, edx
test byte [edi + eax + 0x10], 2
je 0x41e9ae
mov ecx, dword [edi + ebp + 4]
mov eax, dword [esp + 0x8c]
cmp ecx, eax
jb 0x41e902
ja 0x41e919
mov edx, dword [edi + ebp]
cmp edx, dword [esp + 0x88]
ja 0x41e919
mov ecx, dword [edi + ebp + 0xc]
cmp ecx, eax
jb 0x41e92e
ja 0x41e919
mov edx, dword [edi + ebp + 8]
cmp edx, dword [esp + 0x88]
jbe 0x41e92e
xor eax, eax
mov dword [edi + ebp], eax
mov dword [edi + ebp + 4], eax
mov dword [edi + ebp + 8], eax
mov dword [edi + ebp + 0xc], eax
mov byte [edi + ebp + 0x10], al
mov eax, dword [esi + 0x7f]
test byte [edi + eax + 0x10], 2
lea eax, [edi + eax + 0x10]
jne 0x41e9ae
mov byte [eax], 1
mov eax, dword [esi + 0x7f]
mov ecx, dword [eax + edi]
add eax, edi
mov dword [esp + 0x64], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x68], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
mov edx, dword [eax + 0xc]
mov ecx, dword [esp + 0x24]
push 0
push 0x11
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x28]
mov al, byte [eax + 0x10]
push ecx
push edx
mov byte [esp + 0x84], al
call fcn.0047d6f0
add eax, dword [esi + 0x12]
adc edx, dword [esi + 0x16]
cmp byte [esi + 0x83], 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
je 0x41e9ae
mov edx, dword [esi + 0x57]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x68]
push ecx
mov ecx, 0x11
call fcn.0041ed90
add esp, 8
mov edx, dword [esi + 0x7f]
test byte [edi + edx + 0x10], 2
lea eax, [edi + edx + 0x10]
je 0x41eb66
and byte [eax], 3
mov eax, dword [esi + 0x7f]
mov edx, dword [edi + eax + 8]
mov ebx, dword [edi + eax + 4]
lea ecx, [edi + eax]
mov eax, dword [ecx]
mov dword [esp + 0x48], edx
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x58], eax
mov dword [esp + 0x4c], edx
cmp ebx, dword [esp + 0x44]
ja 0x41ea8f
jb 0x41e9f8
cmp eax, dword [esp + 0x40]
ja 0x41ea8f
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x4c], eax
ja 0x41ea8f
jb 0x41ea12
mov edx, dword [esp + 0x40]
cmp dword [esp + 0x48], edx
ja 0x41ea8f
mov eax, dword [esp + 0x80]
test eax, eax
je 0x41ea23
cdq
add dword [ecx], eax
adc dword [ecx + 4], edx
mov eax, dword [esp + 0x84]
test eax, eax
je 0x41ea35
cdq
add dword [ecx + 8], eax
adc dword [ecx + 0xc], edx
mov eax, dword [esi + 0x7f]
mov ecx, dword [eax + edi + 8]
mov edx, dword [eax + edi]
mov ebp, dword [esi + 0x26]
add eax, edi
mov dword [esp + 0x14], ecx
mov ecx, dword [edx]
xor eax, eax
add ecx, dword [esp + 0x58]
adc eax, ebx
cmp eax, ebp
ja 0x41ea8b
jb 0x41ea5d
cmp ecx, dword [esi + 0x22]
ja 0x41ea8b
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebx]
xor eax, eax
add ecx, dword [esp + 0x48]
adc eax, dword [esp + 0x4c]
cmp eax, ebp
ja 0x41ea8b
jb 0x41ea78
cmp ecx, dword [esi + 0x22]
ja 0x41ea8b
push ebx
mov ecx, esi
call fcn.0041e7a0
add esp, 4
test al, al
jne 0x41ec00
mov ebp, dword [esp + 0xc]
mov eax, dword [esi + 0x7f]
mov edx, dword [eax + edi]
xor ecx, ecx
add dword [esp + 0x28], 1
mov dword [esp + 0x64], edx
mov edx, dword [eax + edi + 4]
adc dword [esp + 0x2c], ecx
add eax, edi
mov dword [esp + 0x68], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x70], edx
mov al, byte [eax + 0x10]
mov edx, dword [esp + 0x20]
push ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x28]
push 0x11
push ecx
mov byte [esp + 0x80], al
push edx
mov byte [esp + 0x84], 1
call fcn.0047d6f0
add eax, dword [esi + 0x12]
adc edx, dword [esi + 0x16]
cmp byte [esi + 0x83], 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
je 0x41eb21
mov edx, dword [esi + 0x57]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x68]
push ecx
mov ecx, 0x11
call fcn.0041ed90
add esp, 8
mov eax, dword [esi + 0x7f]
mov edx, dword [esp + 0x64]
mov dword [eax + edi], edx
mov ecx, dword [esp + 0x68]
add eax, edi
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x6c]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x70]
mov dword [eax + 0xc], ecx
mov dl, byte [esp + 0x74]
mov byte [eax + 0x10], dl
cmp dword [esp + 0x1c], 0
ja 0x41eb57
cmp dword [esp + 0x18], 0
jbe 0x41eb62
or eax, 0xffffffff
add dword [esp + 0x18], eax
adc dword [esp + 0x1c], eax
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add edx, 1
adc eax, 0
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x54]
jb 0x41e8d0
ja 0x41eb92
cmp edx, dword [esp + 0x50]
jb 0x41e8d0
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ebp, edx
or ebp, edi
jne 0x41ebb8
mov ebp, dword [esp + 0x28]
or ebp, dword [esp + 0x2c]
jne 0x41ebb8
mov ebp, eax
or ebp, ecx
je 0x41ebf4
sub eax, dword [esp + 0x28]
mov dword [esp + 0x34], 0
sbb ecx, dword [esp + 0x2c]
sub eax, edx
sbb ecx, edi
add dword [ebx], eax
adc dword [ebx + 4], ecx
cmp byte [esi + 0x83], 0
mov ecx, 8
mov dword [esp + 0x30], ecx
je 0x41ebf4
lea edx, [esp + 0x30]
push edx
mov edx, dword [esi + 0x57]
push ebx
call fcn.0041ed90
add esp, 8
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
pop edi
pop ebp
pop ebx
add esp, 0x70
ret
mov eax, dword [esp + 0x18]
or eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0xc]
jne 0x41eb49
add dword [esp + 0x38], 1
adc dword [esp + 0x3c], eax
jmp 0x41eb62