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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5dc
mov esi, dword [0x68f720]
mov ebp, dword [esp + 0x5f0]
test esi, esi
je 0x485e80
nop
movzx esi, byte [ebp]
mov eax, esi
test al, al
je 0x485916
mov dword [esp + 4], 0x5e3aee
mov dword [esp], ebp
call sub.msvcrt.dll_strcspn
mov edx, eax
lea ebx, [ebp + eax]
lea eax, [esi - 0x30]
cmp al, 9
jbe 0x485a00
and esi, 0xffffffdf
lea eax, [esi - 0x41]
cmp al, 5
jbe 0x485a00
mov dword [esp + 4], 0x5e3aee
mov dword [esp], ebx
call sub.msvcrt.dll_strspn
lea ebp, [ebx + eax]
movzx esi, byte [ebp]
mov eax, esi
test al, al
jne 0x4858ca
mov ebx, dword [0x68faf4]
test ebx, ebx
jne 0x485e60
mov ecx, dword [0x68fb60]
test ecx, ecx
jne 0x485e40
mov edx, dword [0x68fbcc]
test edx, edx
jne 0x485e20
mov eax, dword [0x68fc38]
test eax, eax
jne 0x485e00
mov eax, dword [0x68fca4]
test eax, eax
jne 0x485de0
mov eax, dword [0x68fd10]
test eax, eax
jne 0x485dc0
mov eax, dword [0x68fd7c]
test eax, eax
jne 0x485da0
mov eax, dword [0x68fde8]
test eax, eax
jne 0x485d80
mov eax, dword [0x68fe54]
test eax, eax
jne 0x485d60
mov ebp, dword [0x68fec0]
test ebp, ebp
jne 0x485d40
mov edi, dword [0x68ff2c]
test edi, edi
jne 0x485d20
mov esi, dword [0x68ff98]
test esi, esi
jne 0x485d00
mov ebx, dword [0x690004]
test ebx, ebx
jne 0x485ce1
mov ecx, dword [0x690070]
test ecx, ecx
jne 0x485cc2
mov edx, dword [0x6900dc]
test edx, edx
jne 0x485ca4
mov eax, dword [0x690148]
test eax, eax
jne 0x485c90
add esp, 0x5dc
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
cmp edx, 0x3ff
jbe 0x485a10
mov ebp, ebx
jmp 0x4858c0
lea edi, [esp + 0xdc]
xor eax, eax
mov ecx, 0x3d
mov dword [esp + 0xdb], 0
mov dword [esp + 0x1cc], 0
lea esi, [esp + 0x1d0]
rep stosd dword es:[edi], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ebp
lea ebp, [esp + 0xdb]
mov dword [esp], esi
mov dword [esp + 0x14], edx
call sub.msvcrt.dll_memcpy
lea eax, [esp + 0x17c]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], str.platform
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], eax
lea eax, [esp + 0x180]
mov dword [esp + 0x30], 0x5e3afa
mov byte [esp + edx + 0x1d0], 0
mov dword [esp + 0x38], 0x5e3afc
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x184]
mov dword [esp + 0x40], 0x5e3afe
mov dword [esp + 0x48], 0x5e3b00
mov dword [esp + 0x50], 0x5e3b02
mov dword [esp + 0x44], eax
lea eax, [esp + 0x188]
mov dword [esp + 0x58], 0x5e3b07
mov dword [esp + 0x60], 0x5e3b0d
mov dword [esp + 0x68], 0x5e3b13
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x194]
mov dword [esp + 0x70], 0x5e3b20
mov dword [esp + 0x78], 0x5e3b2e
mov dword [esp + 0x80], 0x5e3b38
mov dword [esp + 0x54], eax
lea eax, [esp + 0x198]
mov dword [esp + 0x88], 0x5e3b43
mov dword [esp + 0x90], 0x5e3b48
mov dword [esp + 0x98], 0x5e3b50
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x19c]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x18c]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x190]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x1a0]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x1a4]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x1a8]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x1ac]
mov dword [esp + 0x94], eax
lea eax, [esp + 0x1b0]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x1b4]
mov dword [esp + 4], 0x5e3b91
mov dword [esp], esi
mov dword [esp + 0xa0], 0x5e3b57
mov dword [esp + 0xa4], eax
lea eax, [esp + 0x1c8]
mov dword [esp + 0xa8], 0x5e3b5e
mov dword [esp + 0xb0], 0x5e3b6a
mov dword [esp + 0xb8], 0x5e3b77
mov dword [esp + 0xac], eax
lea eax, [esp + 0x1cc]
mov dword [esp + 0xc0], 0x5e3b7d
mov dword [esp + 0xc8], 0x5e3b83
mov dword [esp + 0xd0], 0x5e3b8a
mov dword [esp + 0xb4], eax
lea eax, [esp + 0x1b8]
mov dword [esp + 0xbc], eax
lea eax, [esp + 0x1bc]
mov dword [esp + 0xc4], eax
lea eax, [esp + 0x1c0]
mov dword [esp + 0xcc], eax
lea eax, [esp + 0x1c4]
mov dword [esp + 0xd4], eax
call sub.msvcrt.dll_strcspn
cmp eax, 0x20
jne 0x485c6c
cmp byte [esp + 0x1f0], 0x2c
je 0x485ea1
mov dword [esp + 4], 0
mov dword [esp], 0x10004
mov ebp, ebx
call fcn.004836a0
jmp 0x4858c0
mov eax, 0x690148
call fcn.00483dc0
mov dword [0x690190], eax
jmp 0x4859ef
mov eax, 0x6900dc
call fcn.00483dc0
mov dword [0x690124], eax
mov eax, dword [0x690148]
test eax, eax
je 0x4859ef
jmp 0x485c90
mov eax, 0x690070
call fcn.00483dc0
mov edx, dword [0x6900dc]
mov dword [0x6900b8], eax
test edx, edx
je 0x4859e2
jmp 0x485ca4
mov eax, 0x690004
call fcn.00483dc0
mov ecx, dword [0x690070]
mov dword [0x69004c], eax
test ecx, ecx
je 0x4859d4
jmp 0x485cc2
mov eax, 0x68ff98
call fcn.00483dc0
mov ebx, dword [0x690004]
mov dword [0x68ffe0], eax
test ebx, ebx
je 0x4859c6
jmp 0x485ce1
mov eax, 0x68ff2c
call fcn.00483dc0
mov esi, dword [0x68ff98]
mov dword [0x68ff74], eax
test esi, esi
je 0x4859b8
jmp 0x485d00
mov eax, 0x68fec0
call fcn.00483dc0
mov edi, dword [0x68ff2c]
mov dword [0x68ff08], eax
test edi, edi
je 0x4859aa
jmp 0x485d20
mov eax, 0x68fe54
call fcn.00483dc0
mov ebp, dword [0x68fec0]
mov dword [0x68fe9c], eax
test ebp, ebp
je 0x48599c
jmp 0x485d40
mov eax, 0x68fde8
call fcn.00483dc0
mov dword [0x68fe30], eax
mov eax, dword [0x68fe54]
test eax, eax
je 0x48598e
jmp 0x485d60
mov eax, 0x68fd7c
call fcn.00483dc0
mov dword [0x68fdc4], eax
mov eax, dword [0x68fde8]
test eax, eax
je 0x485981
jmp 0x485d80
mov eax, 0x68fd10
call fcn.00483dc0
mov dword [0x68fd58], eax
mov eax, dword [0x68fd7c]
test eax, eax
je 0x485974
jmp 0x485da0
mov eax, 0x68fca4
call fcn.00483dc0
mov dword [0x68fcec], eax
mov eax, dword [0x68fd10]
test eax, eax
je 0x485967
jmp 0x485dc0
mov eax, 0x68fc38
call fcn.00483dc0
mov dword [0x68fc80], eax
mov eax, dword [0x68fca4]
test eax, eax
je 0x48595a
jmp 0x485de0
mov eax, 0x68fbcc
call fcn.00483dc0
mov dword [0x68fc14], eax
mov eax, dword [0x68fc38]
test eax, eax
je 0x48594d
jmp 0x485e00
mov eax, 0x68fb60
call fcn.00483dc0
mov edx, dword [0x68fbcc]
mov dword [0x68fba8], eax
test edx, edx
je 0x485940
jmp 0x485e20
mov eax, 0x68faf4
call fcn.00483dc0
mov ecx, dword [0x68fb60]
mov dword [0x68fb3c], eax
test ecx, ecx
je 0x485932
jmp 0x485e40
mov dword [esp + 4], 0
mov dword [esp], 0x10001
call fcn.004836a0
add esp, 0x5dc
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esi]
mov dword [esp + 0x15b], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x15f], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x163], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x167], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x16b], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x16f], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x173], eax
mov eax, dword [esi + 0x1c]
lea esi, [esp + 0x1f1]
mov dword [esp + 4], 0x5e3b91
mov dword [esp], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x177], eax
call sub.msvcrt.dll_strcspn
cmp eax, 0x7f
mov edi, eax
ja 0x485c6c
cmp byte [esp + eax + 0x1f1], 0x2c
jne 0x485c6c
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp], ebp
call sub.msvcrt.dll_memcpy
lea eax, [esi + edi + 1]
mov esi, eax
mov dword [esp + 0x24], eax
movzx eax, byte [eax]
test al, al
je 0x48616c
sub eax, 0x2b
test al, 0xfd
je 0x485a08
mov dword [esp + 0x1c], ebx
mov edi, 8
mov ebx, esi
nop
xor esi, esi
mov dword [esp + 8], edi
mov eax, dword [esp + esi*8 + 0x28]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x486031
cmp byte [ebx + edi], 0x3a
jne 0x486031
lea ebx, [ebx + edi + 1]
mov edi, dword [esp + esi*8 + 0x2c]
mov dword [esp + 0x24], ebx
test edi, edi
je 0x486050
movzx eax, byte [ebx]
cmp al, 0x2b
je 0x486076
cmp al, 0x2d
je 0x48613f
mov byte [esp + 0x18], 0
mov byte [esp + 0x14], 0
mov esi, 2
cmp al, 0x61
je 0x486097
cmp al, 0x62
je 0x486160
cmp al, 0x68
je 0x4860f3
lea esi, [esi]
lea edi, [edi]
mov dword [esp], ebx
mov dword [esp + 4], 0x5e3b91
call sub.msvcrt.dll_strcspn
add ebx, eax
mov dword [esp + 4], 0x5e3b91
mov dword [esp], ebx
mov dword [esp + 0x24], ebx
call sub.msvcrt.dll_strspn
add ebx, eax
mov dword [esp + 0x24], ebx
movzx eax, byte [ebx]
test al, al
je 0x486168
sub eax, 0x2b
test al, 0xfd
je 0x48606b
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edi, eax
jmp 0x485f60
add esi, 1
cmp esi, 0x16
je 0x485fe0
mov eax, dword [esp + esi*8 + 0x28]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edi, eax
jmp 0x485f62
mov edi, 0x5e3b93
mov ecx, 7
mov esi, ebx
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
je 0x485fe0
mov ebx, dword [esp + 0x1c]
mov ebp, ebx
jmp 0x4858c0
lea edx, [ebx + 1]
mov byte [esp + 0x18], 1
mov byte [esp + 0x14], 0xff
mov esi, 1
mov dword [esp + 0x24], edx
movzx eax, byte [ebx + 1]
mov ebx, edx
jmp 0x485fbe
mov byte [edi], 1
lea eax, [esp + 0x24]
add ebx, 1
mov dword [esp + 8], 0xa
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_strtoul
mov byte [edi + 1], al
cmp byte [edi], 1
mov ebx, dword [esp + 0x24]
jne 0x485fe0
mov eax, 2
movzx ecx, byte [esp + 0x14]
cdq
idiv esi
mov byte [edi + 3], cl
mov byte [edi + 2], al
cmp byte [ebx], 0x7e
jne 0x485fe0
neg eax
mov byte [edi + 2], al
movzx eax, byte [esp + 0x18]
mov byte [edi + 3], al
jmp 0x485fe0
lea eax, [esp + 0x24]
add ebx, 1
mov byte [edi], 3
mov dword [esp], ebx
mov dword [esp + 8], 0xa
mov dword [esp + 4], eax
call sub.msvcrt.dll_strtoul
mov ebx, eax
lea eax, [esp + 0x24]
mov dword [esp + 8], 0xa
shl ebx, 4
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
add eax, 1
mov dword [esp], eax
call sub.msvcrt.dll_strtoul
or eax, ebx
mov byte [edi + 1], al
jmp 0x4860b8
lea edx, [ebx + 1]
mov byte [esp + 0x18], 0xff
mov byte [esp + 0x14], 1
mov esi, 1
mov dword [esp + 0x24], edx
movzx eax, byte [ebx + 1]
mov ebx, edx
jmp 0x485fbe
mov byte [edi], 2
jmp 0x48609a
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0x15b]
lea esi, [esp + 0x17b]
lea esi, [esi]
movzx edx, byte [eax]
lea ecx, [edx - 0x41]
cmp cl, 5
ja 0x486190
add edx, 0x20
mov byte [eax], dl
add eax, 1
cmp esi, eax
jne 0x486180
lea eax, [esp + 0x15b]
mov dword [esp], eax
call fcn.0048d9b0
mov eax, dword [0x6901b8]
test eax, eax
mov dword [esp + 0x18], eax
jle 0x4862a7
mov ecx, dword [0x6901b4]
imul esi, eax, 0xf5
mov dword [esp + 0x14], ecx
mov edi, ecx
add esi, ecx
nop
lea esi, [esi]
lea eax, [esp + 0x15b]
mov dword [esp + 4], eax
lea eax, [edi + 0x80]
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x486270
add edi, 0xf5
cmp edi, esi
jne 0x4861d0
mov eax, dword [esp + 0x18]
mov esi, ebp
add eax, 1
mov dword [0x6901b8], eax
imul eax, eax, 0xf5
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sub.msvcrt.dll_realloc
imul edi, dword [0x6901b8], 0xf5
mov edx, dword [ebp]
mov dword [0x6901b4], eax
add edi, eax
mov dword [edi - 0xf5], edx
mov edx, dword [ebp + 0xf1]
lea eax, [edi - 0xf5]
sub edi, 0xf1
mov ebp, ebx
mov dword [edi + 0xed], edx
and edi, 0xfffffffc
sub eax, edi
lea ecx, [eax + 0xf5]
sub esi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
jmp 0x4858c0
test edi, edi
je 0x4861fb
mov eax, dword [ebp]
mov edx, edi
mov esi, ebp
mov dword [edi], eax
mov eax, dword [ebp + 0xf1]
mov ebp, ebx
mov dword [edi + 0xf1], eax
lea eax, [edi + 4]
and eax, 0xfffffffc
sub edx, eax
mov edi, eax
lea ecx, [edx + 0xf5]
sub esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
jmp 0x4858c0
mov eax, dword [0x6901b4]
mov dword [esp + 0x14], eax
jmp 0x4861fb