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

Disassembly:
mov eax, 0x15c8
call fcn.00533fa0
mov eax, dword [0x580400]
xor eax, esp
mov dword [esp + 0x15c4], eax
mov eax, dword [esp + 0x15d8]
mov ecx, dword [esp + 0x15d4]
push ebx
push esi
mov esi, dword [esp + 0x15d4]
xor ebx, ebx
push edi
mov edi, dword [esp + 0x15dc]
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x40], esi
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x38], edi
push eax
lea eax, [esp + 0x74]
mov dword [esp + 0x50], str.0123456789abcdefghijklmnopqrstuvwxyz
push eax
lea eax, [esp + 0x878]
mov dword [esp + 0x24], ebx
push eax
push ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x58], ebx
call fcn.004f8f50
add esp, 0x18
test eax, eax
je 0x4f84e4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x15c4]
xor ecx, esp
call fcn.005335a0
add esp, 0x15c8
ret
mov ecx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x5c], ecx
push ebp
test ecx, ecx
jle 0x4f8edb
movsd xmm0, qword [0x5511b8]
mov dword [esp + 0x5c], 0x2d
movsd qword [esp + 0x64], xmm0
lea edx, [eax + eax*2]
mov eax, dword [esp + edx*8 + 0x880]
mov ecx, dword [esp + edx*8 + 0x874]
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
test eax, eax
je 0x4f8577
mov ebp, dword [esp + edx*8 + 0x87c]
nop dword [eax]
mov al, byte [ebp]
test al, al
je 0x4f8563
push esi
push eax
call edi
add esp, 8
inc ebp
test eax, eax
jne 0x4f8edb
inc ebx
sub dword [esp + 0x28], 1
mov dword [esp + 0x18], ebx
jne 0x4f8540
mov ecx, dword [esp + 0x24]
test ecx, 0x100000
jne case.default.0x4f862d
mov edx, dword [esp + 0x20]
mov eax, dword [esp + edx*8 + 0x86c]
mov dword [esp + 0x30], eax
test ecx, 0x4000
je 0x4f85c5
add eax, eax
mov ebp, dword [esp + eax*8 + 0x74]
mov dword [esp + 0x3c], ebp
test ebp, ebp
jns 0x4f85cb
cmp ebp, 0x80000000
jne 0x4f85b4
and ecx, 0xfffffeff
mov ebp, bind
or ecx, 4
mov dword [esp + 0x24], ecx
jmp 0x4f85c7
and ecx, 0xfffffeff
neg ebp
or ecx, 4
mov dword [esp + 0x24], ecx
jmp 0x4f85c7
mov ebp, eax
mov dword [esp + 0x3c], ebp
test ecx, 0x10000
je 0x4f8634
mov eax, dword [esp + edx*8 + 0x870]
add eax, eax
mov edx, dword [esp + eax*8 + 0x74]
mov dword [esp + 0x2c], edx
test edx, edx
jns 0x4f85ef
or edx, 0xffffffff
mov dword [esp + 0x2c], edx
mov esi, dword [esp + 0x40]
mov eax, ecx
and eax, 0x8000
mov dword [esp + 0x4c], eax
mov eax, ecx
shr eax, 3
and eax, 0xffffff01
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
mov eax, dword [esp + eax*8 + 0x878]
shl eax, 4
mov dword [esp + 0x10], eax
cmp dword [esp + eax + 0x6c], 9
ja case.default.0x4f862d
mov edi, dword [esp + eax + 0x6c]
jmp dword [edi*4 + 0x4f8efc]
test ecx, 0x8000
je 0x4f85e8
mov edx, dword [esp + edx*8 + 0x870]
jmp 0x4f85eb
or ecx, 0x200
mov dword [esp + 0x24], ecx
mov edi, dword [esp + 0x10]
mov eax, dword [esp + eax + 0x74]
mov dword [esp + 0x30], eax
mov edi, dword [esp + edi + 0x78]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x34]
test ecx, 0x20000
je 0x4f86e0
and ecx, 4
mov dword [esp + 0x24], ecx
jne 0x4f869a
dec ebp
test ebp, ebp
jle 0x4f869a
nop dword [eax]
push esi
push 0x20
call edi
add esp, 8
test eax, eax
jne 0x4f8edb
dec ebp
inc ebx
test ebp, ebp
jg 0x4f8680
mov eax, dword [esp + 0x30]
push esi
push eax
call edi
add esp, 8
test eax, eax
jne 0x4f8edb
inc ebx
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x24], eax
je case.default.0x4f862d
dec ebp
test ebp, ebp
jle case.default.0x4f862d
push esi
push 0x20
call edi
add esp, 8
test eax, eax
jne 0x4f8edb
inc ebx
dec ebp
mov dword [esp + 0x18], ebx
test ebp, ebp
jg 0x4f86c1
jmp case.default.0x4f862d
test ecx, 0x400
je 0x4f86f9
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], 8
jmp 0x4f88f2
test ecx, 0x800
je 0x4f8721
test ecx, 0x1000
mov eax, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
mov ecx, str.0123456789abcdefghijklmnopqrstuvwxyz
cmove eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x48], eax
jmp 0x4f88ea
test ecx, 0x200
mov dword [esp + 0x20], 0xa
mov ecx, dword [esp + 0x10]
jne 0x4f88f2
test ecx, ecx
jg 0x4f88f2
jl 0x4f874b
test eax, eax
jae 0x4f88f2
neg eax
mov byte [esp + 0x17], 1
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
adc eax, 0
neg eax
mov dword [esp + 0x10], eax
mov ecx, eax
jmp 0x4f88f7
mov eax, dword [esp + eax + 0x74]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4f87a8
cmp edx, 0xffffffff
je 0x4f8791
cmp edx, 5
jge 0x4f8791
mov eax, 0x54e79a
xor edx, edx
mov dword [esp + 0x1c], eax
jmp 0x4f87cb
mov eax, str._nil_
and ecx, 0xfffffff7
mov dword [esp + 0x1c], eax
mov edx, 5
mov dword [esp + 0x24], ecx
jmp 0x4f87cb
cmp edx, 0xffffffff
jne 0x4f87cf
cmp byte [eax], 0
jne 0x4f87b6
xor edx, edx
jmp 0x4f87cb
mov edx, eax
lea eax, [edx + 1]
mov dword [esp + 0x28], eax
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x4f87c0
sub edx, dword [esp + 0x28]
mov dword [esp + 0x2c], edx
cmp edx, 0x7fffffff
mov eax, edx
mov edx, bind
cmova eax, edx
sub ebp, eax
mov eax, ecx
and eax, 8
mov dword [esp + 0x28], eax
je 0x4f8805
push esi
push 0x22
call edi
add esp, 8
test eax, eax
jne 0x4f8edb
mov ecx, dword [esp + 0x24]
inc ebx
mov dword [esp + 0x18], ebx
and ecx, 4
mov dword [esp + 0x24], ecx
jne 0x4f882d
test ebp, ebp
jle 0x4f882c
push esi
push 0x20
dec ebp
call edi
add esp, 8
test eax, eax
jne 0x4f8edb
inc ebx
mov dword [esp + 0x18], ebx
test ebp, ebp
jg 0x4f8812
dec ebp
cmp dword [esp + 0x2c], 0
je 0x4f8862
mov ecx, dword [esp + 0x1c]
mov al, byte [ecx]
test al, al
je 0x4f8862
push esi
push eax
call edi
mov ecx, dword [esp + 0x24]
add esp, 8
inc ecx
mov dword [esp + 0x1c], ecx
test eax, eax
jne 0x4f8edb
inc ebx
sub dword [esp + 0x2c], 1
mov dword [esp + 0x18], ebx
jne 0x4f8838
cmp dword [esp + 0x24], 0
je 0x4f888a
test ebp, ebp
jle 0x4f888a
nop dword [eax]
push esi
push 0x20
dec ebp
call edi
add esp, 8
test eax, eax
jne 0x4f8edb
inc ebx
mov dword [esp + 0x18], ebx
test ebp, ebp
jg 0x4f8870
cmp dword [esp + 0x28], 0
je case.default.0x4f862d
push esi
push 0x22
call edi
add esp, 8
test eax, eax
jne 0x4f8edb
inc ebx
mov dword [esp + 0x18], ebx
jmp case.default.0x4f862d
mov eax, dword [esp + eax + 0x74]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x30], eax
test eax, eax
je 0x4f8bef
test ecx, 0x1000
mov dword [esp + 0x10], 0
mov ecx, str.0123456789abcdefghijklmnopqrstuvwxyz
mov eax, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
cmove eax, ecx
xor ecx, ecx
mov dword [esp + 0x48], eax
mov al, 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], 0x10
mov byte [esp + 0x17], 0
cmp edx, 0xffffffff
mov eax, 1
cmove edx, eax
lea eax, [esp + 0x15d0]
test ecx, ecx
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
jne 0x4f8921
test ecx, ecx
je 0x4f8a0f
cmp dword [esp + 0x20], 0xa
je 0x4f8963
mov edx, dword [esp + 0x10]
mov esi, eax
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x48]
push 0
push edi
push edx
push ecx
call fcn.00534310
mov dword [esp + 0x30], eax
mov al, byte [ecx + ebp]
mov ecx, dword [esp + 0x30]
mov byte [esi], al
dec esi
test edx, edx
ja 0x4f8936
jb 0x4f8958
test ecx, ecx
jne 0x4f8936
mov dword [esp + 0x1c], esi
mov eax, esi
jmp 0x4f89fb
mov eax, ecx
mov ebx, 0xcccccccd
mul ebx
lea ebp, [ebx - 1]
mov dword [esp + 0x4c], eax
mov esi, edx
mov eax, ecx
mul ebp
mov edi, eax
mov ebp, edx
mov eax, dword [esp + 0x10]
mul ebx
mov ecx, eax
mov ebx, edx
mov eax, dword [esp + 0x10]
mov edx, 0xcccccccc
mul edx
add ecx, esi
mov dword [esp + 0x38], eax
adc ebx, 0
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x38]
add edi, ecx
mov dword [esp + 0x4c], edi
adc ebp, 0
xor eax, eax
add ebx, ebp
mov ebp, dword [esp + 0x10]
adc eax, eax
add edx, ebx
mov ebx, dword [esp + 0x30]
adc ebp, eax
shrd edx, ebp, 3
mov al, dl
shr ebp, 3
shl al, 2
mov dword [esp + 0x10], ebp
lea ecx, [eax + edx]
mov eax, dword [esp + 0x1c]
add cl, cl
sub bl, cl
mov ecx, edx
add bl, 0x30
mov dword [esp + 0x30], ecx
mov byte [eax], bl
dec eax
mov dword [esp + 0x1c], eax
test ebp, ebp
ja 0x4f8963
jb 0x4f89fb
test ecx, ecx
jne 0x4f8963
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x15d0]
sub eax, ecx
add edx, eax
lea ecx, [eax + ebp]
mov eax, dword [esp + 0x28]
test al, al
je 0x4f8a3c
cmp dword [esp + 0x20], 8
jne 0x4f8a3c
mov ebp, dword [esp + 0x1c]
test edx, edx
jg 0x4f8a48
mov byte [ebp], 0x30
dec ebp
dec ecx
jmp 0x4f8a83
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
test edx, edx
jle 0x4f8a69
sub ecx, edx
mov dword [esp + 0x10], ecx
nop
lea edi, [esp + 0x148c]
dec edx
cmp ebp, edi
jb 0x4f8a65
mov byte [ebp], 0x30
dec ebp
test edx, edx
jg 0x4f8a50
mov edi, dword [esp + 0x34]
mov dword [esp + 0x38], ecx
mov edx, ebp
test al, al
je 0x4f8a87
cmp dword [esp + 0x20], 0x10
mov eax, ecx
mov dword [esp + 0x10], ecx
jne 0x4f8a87
lea ecx, [eax - 2]
mov dword [esp + 0x10], ecx
cmp byte [esp + 0x17], 0
mov eax, dword [esp + 0x24]
jne 0x4f8a96
test al, 3
je 0x4f8a9b
dec ecx
mov dword [esp + 0x10], ecx
mov edx, eax
and edx, 0x104
mov dword [esp + 0x38], edx
jne 0x4f8adb
test ecx, ecx
jle 0x4f8ad6
nop dword [eax]
dec ecx
push esi
push 0x20
mov dword [esp + 0x18], ecx
call edi
add esp, 8
test eax, eax
jne 0x4f8edb
mov ecx, dword [esp + 0x10]
inc ebx
mov dword [esp + 0x18], ebx
test ecx, ecx
jg 0x4f8ab0
mov eax, dword [esp + 0x24]
dec ecx
mov dword [esp + 0x10], ecx
cmp byte [esp + 0x17], 0
je 0x4f8ae7
push esi
push 0x2d
jmp 0x4f8af7
test al, 2
je 0x4f8af0
push esi
push 0x2b
jmp 0x4f8af7
test al, 1
je 0x4f8b09
push esi
push 0x20
call edi
add esp, 8
test eax, eax
jne 0x4f8edb
inc ebx
mov dword [esp + 0x18], ebx
cmp byte [esp + 0x28], 0
je 0x4f8b4c
cmp dword [esp + 0x20], 0x10
jne 0x4f8b4c
push esi
push 0x30
call edi
add esp, 8
test eax, eax
jne 0x4f8edb
test dword [esp + 0x24], 0x1000
push esi
je 0x4f8b36
push 0x58
jmp 0x4f8b38
push 0x78
call edi
add esp, 8
test eax, eax
jne 0x4f8ef6
add ebx, 2
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x38], 0x100
jne 0x4f8b87
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x4f8b82
nop
dec eax
push esi
push 0x30
mov dword [esp + 0x18], eax
call edi
add esp, 8
test eax, eax
jne 0x4f8edb
mov eax, dword [esp + 0x10]
inc ebx
mov dword [esp + 0x18], ebx
test eax, eax
jg 0x4f8b60
dec eax
mov dword [esp + 0x10], eax
inc ebp
lea eax, [esp + 0x15d0]
cmp ebp, eax
ja 0x4f8bb7
movzx eax, byte [ebp]
push esi
push eax
call edi
add esp, 8
test eax, eax
jne 0x4f8edb
inc ebx
lea eax, [esp + 0x15d0]
inc ebp
mov dword [esp + 0x18], ebx
cmp ebp, eax
jbe 0x4f8b93
test byte [esp + 0x24], 4
je case.default.0x4f862d
mov ebp, dword [esp + 0x10]
test ebp, ebp
jle case.default.0x4f862d
nop
push esi
push 0x20
dec ebp
call edi
add esp, 8
test eax, eax
jne 0x4f8edb
inc ebx
mov dword [esp + 0x18], ebx
test ebp, ebp
jg 0x4f8bd0
jmp case.default.0x4f862d
sub ebp, 5
and ecx, 4
mov dword [esp + 0x24], ecx
je 0x4f8c17
test ebp, ebp
jle 0x4f8c16
nop
push esi
push 0x20
dec ebp
call edi
add esp, 8
test eax, eax
jne 0x4f8edb
inc ebx
test ebp, ebp
jg 0x4f8c00
dec ebp
mov dword [esp + 0x28], str._nil_
mov byte [esp + 0x54], 0x28
push esi
push dword [esp + 0x58]
call edi
add esp, 8
test eax, eax
jne 0x4f8edb
mov eax, dword [esp + 0x28]
inc ebx
inc eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], eax
mov al, byte [eax]
mov byte [esp + 0x54], al
test al, al
jne 0x4f8c24
cmp dword [esp + 0x24], 0
jne case.default.0x4f862d
test ebp, ebp
jle case.default.0x4f862d
push esi
push 0x20
dec ebp
call edi
add esp, 8
test eax, eax
jne 0x4f8edb
inc ebx
mov dword [esp + 0x18], ebx
test ebp, ebp
jg 0x4f8c61
jmp case.default.0x4f862d
mov eax, 0x25
mov dword [esp + 0x1486], 0
lea edi, [esp + 0x146c]
mov word [esp + 0x146c], ax
xorps xmm0, xmm0
mov word [esp + 0x148a], 0
lea eax, [edi + 1]
movq qword [esp + 0x147e], xmm0
movups xmmword [esp + 0x146e], xmm0
mov dword [esp + 0x28], eax
mov al, byte [edi]
inc edi
test al, al
jne 0x4f8cc4
mov dword [esp + 0x38], edi
mov eax, edi
sub eax, dword [esp + 0x28]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x1c], 0x20
sub dword [esp + 0x1c], eax
test ecx, 0x2000
cmovne ebp, dword [esp + 0x30]
cmp dword [esp + 0x4c], 0
je 0x4f8d06
mov eax, dword [esp + 0x20]
mov edx, dword [esp + eax*8 + 0x870]
mov dword [esp + 0x2c], edx
movzx eax, byte [esp + 0x146d]
test ecx, 4
lea ecx, [esp + 0x146d]
cmovne eax, dword [esp + 0x5c]
mov byte [esp + 0x146d], al
lea eax, [esp + 0x146e]
cmovne ecx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], ecx
test al, 2
je 0x4f8d45
mov byte [ecx], 0x2b
inc ecx
mov dword [esp + 0x20], ecx
test al, 1
je 0x4f8d51
mov byte [ecx], 0x20
inc ecx
mov dword [esp + 0x20], ecx
test al, 8
je 0x4f8d5d
mov byte [ecx], 0x23
inc ecx
mov dword [esp + 0x20], ecx
mov byte [ecx], 0
test ebp, ebp
js 0x4f8d97
cmp ebp, 0x146
mov eax, 0x145
cmovge ebp, eax
push ebp
push 0x542cec
push dword [esp + 0x24]
push ecx
call fcn.004f82b0
mov ecx, dword [esp + 0x30]
add esp, 0x10
mov edx, dword [esp + 0x2c]
add ecx, eax
sub dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
test edx, edx
js 0x4f8df6
mov esi, dword [esp + 0x10]
mov eax, 0x144
movsd xmm0, qword [esp + esi + 0x74]
mov esi, dword [esp + 0x40]
test ebp, ebp
jle 0x4f8db8
cmp edx, ebp
jg 0x4f8db8
sub eax, ebp
movsd xmm1, qword [esp + 0x64]
comisd xmm0, xmm1
jb 0x4f8dcf
divsd xmm0, xmm1
dec eax
comisd xmm0, xmm1
jae 0x4f8dc4
cmp edx, eax
jle 0x4f8dd6
lea edx, [eax - 1]
xor eax, eax
test edx, edx
cmovns eax, edx
push eax
push 0x544a50
push dword [esp + 0x24]
push ecx
call fcn.004f82b0
mov ecx, dword [esp + 0x30]
add esp, 0x10
add ecx, eax
mov eax, dword [esp + 0x24]
test al, 0x20
je 0x4f8e02
mov byte [ecx], 0x6c
inc ecx
test eax, 0x40000
je 0x4f8e14
shr eax, 7
not al
and al, 0x20
or al, 0x45
jmp 0x4f8e28
test eax, 0x80000
je 0x4f8e26
shr eax, 7
not al
and al, 0x20
or al, 0x47
jmp 0x4f8e28
mov al, 0x66
mov byte [ecx], al
sub esp, 8
mov eax, dword [esp + 0x18]
mov byte [ecx + 1], 0
movsd xmm0, qword [esp + eax + 0x7c]
lea eax, [esp + 0x1474]
movsd qword [esp], xmm0
push eax
lea eax, [esp + 0x1498]
push 0x146
push eax
call fcn.00410180
mov al, byte [esp + 0x14a0]
lea ebp, [esp + 0x14a0]
add esp, 0x14
test al, al
je case.default.0x4f862d
mov byte [esp + 0x58], al
push esi
push dword [esp + 0x5c]
call edi
add esp, 8
test eax, eax
jne 0x4f8edb
mov al, byte [ebp + 1]
inc ebp
inc ebx
mov byte [esp + 0x58], al
mov dword [esp + 0x18], ebx
test al, al
jne 0x4f8e73
jmp case.default.0x4f862d
test cl, 0x40
je 0x4f8eab
mov ecx, dword [esp + 0x10]
mov eax, ebx
cdq
mov ecx, dword [esp + ecx + 0x74]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp case.default.0x4f862d
mov eax, dword [esp + eax + 0x74]
test cl, 0x20
je 0x4f8eb8
mov dword [eax], ebx
jmp case.default.0x4f862d
test cl, 0x10
jne 0x4f8ec1
mov dword [eax], ebx
jmp case.default.0x4f862d
mov word [eax], bx
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x34]
inc eax
mov dword [esp + 0x44], eax
cmp eax, dword [esp + 0x60]
jl 0x4f8511
mov eax, ebx
mov ecx, dword [esp + 0x15d4]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005335a0
add esp, 0x15c8
ret
lea eax, [ebx + 1]
jmp 0x4f8edd