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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov dword [esp + 0x48], eax
mov eax, ecx
test edx, edx
jle 0x425244
mov ebx, edx
mov edi, eax
test eax, eax
jg 0x424dd5
mov edi, 1
mov ecx, 1
mov edx, edi
mov eax, ebx
call fcn.00412a50
mov dword [esp + 0x54], eax
mov esi, dword [esp + 0x48]
mov eax, dword [esi + 8]
cmp ebx, eax
jne 0x424dfb
cmp edi, dword [esi + 0xc]
je 0x42524e
mov ecx, 1
mov edx, edi
call fcn.00412a50
mov esi, eax
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0xc]
mov edx, edi
call fcn.00423230
mov ebp, eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 8]
mov edx, ebx
call fcn.00423230
mov edi, eax
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
mov dword [esp + 0x20], eax
mov ecx, dword [esi + 8]
mov dword [esp + 0x5c], ecx
mov eax, dword [ebp]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x3c], eax
mov ebx, dword [esi + 0xc]
test ebx, ebx
je 0x42500a
lea edx, [eax*4]
mov dword [esp + 0x60], edx
lea edx, [eax + eax]
mov eax, dword [esp + 0x38]
add eax, edx
mov dword [esp + 0x28], eax
shl ecx, 2
mov dword [esp + 0x44], ecx
mov dword [esp + 0x58], esi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x64], ebx
nop
mov ebx, dword [esp + 0x5c]
test ebx, ebx
je 0x424fd4
xor ebp, ebp
lea ebx, [esp + 0x70]
mov edi, ebp
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
lea esi, [esi]
mov eax, dword [esp + 0x20]
lea edx, [eax + edi]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov esi, dword [esp + 0x3c]
test esi, esi
jle 0x424f97
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
xor ebp, ebp
mov dword [esp + 0x14], 0
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ebx
lea esi, [esi]
nop
xor eax, eax
mov ax, word [ecx]
mov edx, dword [esp + 0x24]
imul eax, edx
add eax, edi
mov edx, dword [esp + 0x2c]
add eax, edx
mov edx, dword [esi]
xor ebx, ebx
mov bl, byte [eax]
imul ebx, edx
add dword [esp + 0x14], ebx
xor ebx, ebx
mov bl, byte [eax + 1]
imul ebx, edx
add ebp, ebx
xor ebx, ebx
mov bl, byte [eax + 2]
imul ebx, edx
add dword [esp + 0x18], ebx
xor ebx, ebx
mov bl, byte [eax + 3]
mov eax, ebx
imul eax, edx
add dword [esp + 0x1c], eax
add ecx, 2
add esi, 4
mov eax, dword [esp + 0x28]
cmp ecx, eax
jne 0x424f20
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ebp
mov eax, dword [esp + 0x18]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x7c], eax
xor ecx, ecx
mov eax, dword [ebx + ecx*4]
lea esi, [eax + 0x8000]
mov eax, esi
sar eax, 0x10
cmp esi, 0xffffff
jbe 0x424fb4
not eax
sar eax, 0x1f
mov byte [edx + ecx], al
inc ecx
cmp ecx, 4
jne 0x424f99
add edi, 4
mov eax, dword [esp + 0x44]
cmp edi, eax
jne 0x424eb0
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x60]
add dword [esp + 0x40], esi
mov dword [esp + 0x38], eax
mov esi, dword [esp + 0x58]
mov esi, dword [esi + 4]
add dword [esp + 0x20], esi
add dword [esp + 0x28], edx
dec dword [esp + 0x64]
je 0x424ffc
add eax, edx
jmp 0x424e90
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x6c]
mov eax, dword [esi]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x54]
mov ebx, dword [eax]
mov ebp, dword [eax + 8]
mov ecx, dword [edi + 8]
mov dword [esp + 0x38], ecx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x58], eax
test eax, eax
je 0x4251c7
lea eax, [ecx + ecx]
mov dword [esp + 0x40], eax
lea eax, [ecx*4]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x44], ebp
mov edx, ebx
lea esi, [esi]
lea esi, [esi]
mov eax, dword [edi]
mov dword [esp + 0x28], eax
mov ebp, dword [edi + 4]
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x4251a1
mov eax, dword [esp + 0x44]
mov dword [esp + 0x34], eax
mov ecx, edx
lea eax, [esp + 0x70]
mov dword [esp + 0x48], edi
mov edi, ebp
mov dword [esp + 0x4c], edx
lea esi, [esi]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov edx, dword [esp + 0x38]
test edx, edx
je 0x425166
mov esi, dword [esp + 0x40]
add esi, edi
mov dword [esp + 0x24], esi
mov ebx, dword [esp + 0x28]
xor esi, esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
xor ebp, ebp
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], ebp
lea esi, [esi]
xor edx, edx
mov dx, word [edi]
mov eax, dword [esp + 0x20]
lea ecx, [eax + edx*4]
mov edx, dword [ebx]
movzx ebp, byte [ecx]
and ebp, 0xff
imul ebp, edx
add dword [esp + 0x1c], ebp
movzx ebp, byte [ecx + 1]
and ebp, 0xff
imul ebp, edx
add dword [esp + 0x14], ebp
movzx ebp, byte [ecx + 2]
and ebp, 0xff
imul ebp, edx
add dword [esp + 0x18], ebp
xor eax, eax
mov al, byte [ecx + 3]
mov ecx, eax
imul ecx, edx
add esi, ecx
add ebx, 4
add edi, 2
mov eax, dword [esp + 0x24]
cmp edi, eax
jne 0x4250e0
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
add dword [esp + 0x28], edx
mov dword [esp + 0x70], ebp
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x74], ebx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], esi
xor ebx, ebx
mov esi, dword [eax + ebx*4]
add esi, 0x8000
mov edx, esi
sar edx, 0x10
cmp esi, 0xffffff
jbe 0x425183
not edx
sar edx, 0x1f
mov byte [ecx + ebx], dl
inc ebx
cmp ebx, 4
jne 0x425168
add ecx, 4
dec dword [esp + 0x34]
jne 0x425080
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
add edx, dword [eax + 4]
mov esi, dword [esp + 0x50]
mov esi, dword [esi + 4]
add dword [esp + 0x20], esi
dec dword [esp + 0x58]
jne 0x425050
mov esi, dword [esp + 0x50]
mov eax, dword [esi]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4251d7
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [esp], esi
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x68]
mov eax, dword [eax]
test eax, eax
je 0x4251f1
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 4]
test eax, eax
je 0x425204
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [edi]
test eax, eax
je 0x42521e
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [edi + 4]
test eax, eax
je 0x42522d
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [esp], edi
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x54]
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, 1
jmp 0x424dca
mov eax, dword [esp + 0x54]
mov edx, dword [eax]
mov eax, dword [esi + 4]
imul eax, edi
mov esi, dword [esi]
cmp eax, 4
jae 0x425280
test eax, eax
je 0x425235
mov cl, byte [esi]
mov byte [edx], cl
test al, 2
je 0x425235
mov cx, word [esi + eax - 2]
mov word [edx + eax - 2], cx
jmp 0x425235
mov ecx, dword [esi]
mov dword [edx], ecx
mov ecx, dword [esi + eax - 4]
mov dword [edx + eax - 4], ecx
lea edi, [edx + 4]
and edi, 0xfffffffc
sub edx, edi
sub esi, edx
add eax, edx
shr eax, 2
mov ecx, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x425235