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

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa8
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], edx
cmp dword [esp + 0x6c], 0
je 0x4880b5
cmp dword [0x4f5a7c], 0
jne 0x4880c2
mov dword [esp + 0x70], 0
jmp 0x4884a9
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x9c], eax
cmp dword [esp + 0x9c], 0
je 0x4880e0
cmp dword [0x4f5a7c], 0
jne 0x4880f0
mov dword [esp + 0xa0], 0
jmp 0x4882cb
mov eax, dword [0x4f5a7c]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x98]
call fcn.004aac90
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x98]
call fcn.004aacc0
mov dword [esp + 0x90], eax
lea ecx, [esp + 0x94]
lea eax, [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004aacf0
test al, 1
jne 0x488145
jmp 0x4882c0
lea ecx, [esp + 0x94]
call fcn.004aad20
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], 0
cmp dword [esp + 0x88], 4
jae 0x4881ce
mov dword [esp + 0x84], 0
cmp dword [esp + 0x84], 1
jae 0x4881bb
mov eax, dword [esp + 0x84]
movzx esi, byte [eax + 0x4f5009]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
movzx edx, byte [eax + ecx]
xor edx, esi
mov byte [eax + ecx], dl
mov eax, dword [esp + 0x84]
add eax, 1
mov dword [esp + 0x84], eax
jmp 0x488178
mov eax, dword [esp + 0x88]
add eax, 1
mov dword [esp + 0x88], eax
jmp 0x488163
mov eax, dword [esp + 0x8c]
mov eax, dword [eax]
cmp eax, dword [esp + 0x9c]
jne 0x488257
mov dword [esp + 0x80], 0
cmp dword [esp + 0x80], 4
jae 0x488247
mov dword [esp + 0x7c], 0
cmp dword [esp + 0x7c], 1
jae 0x488234
mov eax, dword [esp + 0x7c]
movzx esi, byte [eax + 0x4f5009]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x80]
movzx edx, byte [eax + ecx]
xor edx, esi
mov byte [eax + ecx], dl
mov eax, dword [esp + 0x7c]
add eax, 1
mov dword [esp + 0x7c], eax
jmp 0x4881fd
mov eax, dword [esp + 0x80]
add eax, 1
mov dword [esp + 0x80], eax
jmp 0x4881eb
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xa0], eax
jmp 0x4882cb
mov dword [esp + 0x78], 0
cmp dword [esp + 0x78], 4
jae 0x4882af
mov dword [esp + 0x74], 0
cmp dword [esp + 0x74], 1
jae 0x4882a2
mov eax, dword [esp + 0x74]
movzx esi, byte [eax + 0x4f5009]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x78]
movzx edx, byte [eax + ecx]
xor edx, esi
mov byte [eax + ecx], dl
mov eax, dword [esp + 0x74]
add eax, 1
mov dword [esp + 0x74], eax
jmp 0x48826e
mov eax, dword [esp + 0x78]
add eax, 1
mov dword [esp + 0x78], eax
jmp 0x48825f
lea ecx, [esp + 0x94]
call fcn.004aad40
jmp 0x488122
mov dword [esp + 0xa0], 0
mov eax, dword [esp + 0xa0]
mov dword [0x4f62f0], eax
cmp eax, 0
je 0x4882ea
mov eax, dword [0x4f62f0]
mov dword [esp + 0x70], eax
jmp 0x4884a9
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x5a], eax
lea eax, [esp + 0x5e]
mov dword [esp + 0x1c], eax
call fcn.004b8920
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], eax
lea ecx, [esp + 0x48]
call fcn.004a8ec0
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x50]
call fcn.004a8ef0
mov ecx, edx
shr ecx, 0x1f
mov esi, eax
add esi, ecx
mov ecx, edx
adc ecx, 0
and esi, 0xfffffffe
sub eax, esi
sbb edx, ecx
or eax, edx
je 0x488387
jmp 0x48833c
call fcn.004b8920
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x38]
call fcn.004a8ec0
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x40]
call fcn.004a8ef0
mov ecx, eax
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 0xc], 0
mov dword [eax + 8], 9
call fcn.004bc2f4
dec al
mov byte [esp + 0x1b], al
jmp 0x4883ce
call fcn.004b8920
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x28]
call fcn.004a8ec0
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x30]
call fcn.004a8ef0
mov ecx, eax
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 0xc], 0
mov dword [eax + 8], 9
call fcn.004bc2f4
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0x1c]
mov cl, byte [esp + 0x1b]
mov byte [eax], cl
mov byte [esp + 0x5f], 0
mov ecx, dword [0x4f5a7c]
call fcn.004aabe0
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x64], eax
mov dword [esp + 0x24], 0
cmp dword [esp + 0x24], 4
jae 0x488449
mov dword [esp + 0x20], 0
cmp dword [esp + 0x20], 1
jae 0x48843a
mov eax, dword [esp + 0x20]
movzx edx, byte [eax + 0x4f5009]
mov eax, dword [esp + 0x24]
movzx ecx, byte [esp + eax + 0x5a]
xor ecx, edx
mov byte [esp + eax + 0x5a], cl
mov eax, dword [esp + 0x20]
add eax, 1
mov dword [esp + 0x20], eax
jmp 0x48840b
jmp 0x48843c
mov eax, dword [esp + 0x24]
add eax, 1
mov dword [esp + 0x24], eax
jmp 0x4883fc
mov ecx, dword [0x4f5a7c]
mov eax, esp
lea edx, [esp + 0x5a]
mov dword [eax], edx
call fcn.004aac00
sub esp, 4
jmp 0x488461
lea eax, [esp + 0x5a]
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0xe
call sub.msvcrt.dll_memset
mov eax, dword [0x4f5a7c]
mov dword [esp + 0x14], eax
mov ecx, dword [0x4f5a7c]
call fcn.004aabe0
mov ecx, dword [esp + 0x14]
sub eax, 1
mov dword [esp], eax
call fcn.004aac70
sub esp, 4
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x70]
lea esp, [ebp - 4]
pop esi
pop ebp
ret