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

Disassembly:
sub esp, 0xfc0
mov eax, dword [0x7000a8]
xor eax, esp
mov dword [esp + 0xfbc], eax
mov eax, dword [esp + 0xfd0]
push ebx
mov ebx, dword [esp + 0xfcc]
push ebp
mov ebp, dword [esp + 0xfcc]
push esi
push edi
mov edi, dword [esp + 0xfdc]
xor esi, esi
push eax
lea eax, [esp + 0xc68]
mov dword [esp + 0x38], ebp
push eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x4c], ebx
push eax
push edi
mov dword [esp + 0x4c], 0x6668d4
mov dword [esp + 0x28], esi
mov dword [esp + 0x48], esi
call fcn.004a4550
add esp, 0x10
test eax, eax
je 0x4a4d50
xor eax, eax
jmp 0x4a5729
lea eax, [esp + 0xc64]
mov dword [esp + 0x48], eax
mov al, byte [edi]
test al, al
je 0x4a5727
movsd xmm1, qword [0x666948]
mov ecx, edi
mov dword [esp + 0x54], 0x6668d4
mov dword [esp + 0x58], 0x2d
movsd qword [esp + 0x5c], xmm1
cmp al, 0x25
je 0x4a4dbf
nop dword [eax]
movzx eax, al
push ebp
push eax
call ebx
add esp, 8
cmp eax, 0xffffffff
je 0x4a5727
mov al, byte [edi + 1]
inc edi
inc esi
mov ecx, edi
mov dword [esp + 0x18], esi
test al, al
je 0x4a5711
cmp al, 0x25
jne 0x4a4d90
jmp 0x4a5711
inc ecx
cmp byte [ecx], 0x25
jne 0x4a4de3
push ebp
push 0x25
lea edi, [ecx + 1]
call ebx
add esp, 8
cmp eax, 0xffffffff
je 0x4a5727
inc esi
mov dword [esp + 0x18], esi
jmp 0x4a570f
lea eax, [esp + 0x4c]
push eax
push ecx
call fcn.004a4500
mov ebx, dword [esp + 0x40]
add esp, 8
test eax, eax
jne 0x4a4dfd
mov eax, ebx
jmp 0x4a4dfe
dec eax
lea ecx, [ebx + 1]
mov dword [esp + 0x24], ecx
lea ecx, [eax + eax*2]
mov edx, dword [esp + ecx*8 + 0x68]
mov eax, dword [esp + ecx*8 + 0x6c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], eax
test edx, 0x4000
je 0x4a4e50
lea eax, [eax + eax*2]
mov edi, dword [esp + eax*8 + 0x74]
mov dword [esp + 0x40], edi
test edi, edi
jns 0x4a4e4a
neg edi
and edx, 0xfffffeff
or edx, 4
mov dword [esp + 0x40], edi
mov dword [esp + 0x1c], edx
mov dword [esp + ecx*8 + 0x68], edx
mov eax, dword [esp + 0x24]
jmp 0x4a4e5c
mov edi, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x40], edi
mov eax, ebx
lea ebx, [eax + 1]
mov dword [esp + 0x24], ebx
mov ebx, edx
and ebx, 0x10000
mov dword [esp + 0x4c], ebx
je 0x4a4e8c
mov eax, dword [esp + ecx*8 + 0x70]
lea eax, [eax + eax*2]
mov ecx, dword [esp + eax*8 + 0x74]
test ecx, ecx
mov eax, 0xffffffff
cmovs ecx, eax
mov eax, dword [esp + 0x24]
jmp 0x4a4ea1
test edx, 0x8000
je 0x4a4e9e
mov ecx, dword [esp + ecx*8 + 0x70]
mov ebp, dword [esp + 0x34]
jmp 0x4a4ea1
or ecx, 0xffffffff
inc eax
mov dword [esp + 0x30], 0x8000
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x38], eax
and ebx, edx
mov eax, edx
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x44]
shr eax, 3
and eax, 1
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], edx
mov eax, dword [esp + eax*8 + 0x64]
dec eax
cmp eax, 6
ja case.0x4a4ee2.5
jmp dword [eax*4 + 0x4a5744]
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + eax*8 + 0x74]
mov eax, dword [esp + eax*8 + 0x78]
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x2c], eax
test edx, 0x20000
je 0x4a4f80
and edx, 4
mov dword [esp + 0x1c], edx
jne 0x4a4f2e
dec edi
test edi, edi
jle 0x4a4f2e
push ebp
push 0x20
call ebx
add esp, 8
cmp eax, 0xffffffff
je 0x4a5727
dec edi
inc esi
test edi, edi
jg 0x4a4f17
mov eax, dword [esp + 0x28]
movzx eax, al
push ebp
push eax
call ebx
add esp, 8
cmp eax, 0xffffffff
je 0x4a5727
inc esi
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x18], esi
je case.0x4a4ee2.5
dec edi
test edi, edi
jle case.0x4a4ee2.5
nop
push ebp
push 0x20
call ebx
add esp, 8
cmp eax, 0xffffffff
je 0x4a5727
inc esi
dec edi
mov dword [esp + 0x18], esi
test edi, edi
jg 0x4a4f60
jmp case.0x4a4ee2.5
test edx, 0x400
je 0x4a4f99
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], 8
jmp 0x4a51b1
test edx, 0x800
je 0x4a4fc9
test edx, 0x1000
mov dword [esp + 0x14], 0x10
mov eax, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
mov edx, 0x6668d4
cmove eax, edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
jmp 0x4a51b1
mov dword [esp + 0x14], 0xa
test edx, 0x200
je 0x4a4fe2
mov eax, dword [esp + 0x28]
jmp 0x4a51b1
mov edx, dword [esp + 0x2c]
test edx, edx
jg 0x4a4fd9
mov eax, dword [esp + 0x28]
jl 0x4a4ff4
test eax, eax
jae 0x4a4fd9
neg eax
mov dword [esp + 0x30], 1
mov dword [esp + 0x28], eax
adc edx, 0
neg edx
mov dword [esp + 0x2c], edx
jmp 0x4a51b9
mov eax, dword [esp + 0x10]
mov eax, dword [esp + eax*8 + 0x74]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4a5052
cmp ecx, 0xffffffff
je 0x4a5037
cmp ecx, 5
jge 0x4a5037
mov eax, 0x6f7bda
xor ecx, ecx
mov dword [esp + 0x14], eax
jmp 0x4a507f
mov eax, 0x666924
and edx, 0xfffffff7
mov dword [esp + 0x14], eax
mov ecx, 5
mov eax, dword [esp + 0x10]
mov dword [esp + eax*8 + 0x68], edx
jmp 0x4a507b
cmp ecx, 0xffffffff
je 0x4a505d
mov dword [esp + 0x1c], edx
jmp 0x4a5083
cmp byte [eax], 0
jne 0x4a5066
xor ecx, ecx
jmp 0x4a507b
mov ecx, eax
lea eax, [ecx + 1]
mov dword [esp + 0x24], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a5070
sub ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
cmp ecx, 0x7fffffff
mov eax, ecx
mov ecx, accept
cmova eax, ecx
sub edi, eax
mov eax, edx
and eax, 8
mov dword [esp + 0x24], eax
je 0x4a50ba
push ebp
push 0x22
call ebx
add esp, 8
cmp eax, 0xffffffff
je 0x4a5727
mov edx, dword [esp + 0x1c]
inc esi
mov dword [esp + 0x18], esi
and edx, 4
mov dword [esp + 0x1c], edx
jne 0x4a50e3
test edi, edi
jle 0x4a50e2
push ebp
push 0x20
dec edi
call ebx
add esp, 8
cmp eax, 0xffffffff
je 0x4a5727
inc esi
mov dword [esp + 0x18], esi
test edi, edi
jg 0x4a50c7
dec edi
cmp dword [esp + 0x20], 0
je 0x4a511e
mov ecx, dword [esp + 0x14]
nop
mov al, byte [ecx]
test al, al
je 0x4a511e
movzx eax, al
push ebp
push eax
call ebx
mov ecx, dword [esp + 0x1c]
add esp, 8
inc ecx
mov dword [esp + 0x14], ecx
cmp eax, 0xffffffff
je 0x4a5727
inc esi
sub dword [esp + 0x20], 1
mov dword [esp + 0x18], esi
jne 0x4a50f0
cmp dword [esp + 0x1c], 0
je 0x4a514b
test edi, edi
jle 0x4a514b
nop dword [eax]
push ebp
push 0x20
dec edi
call ebx
add esp, 8
cmp eax, 0xffffffff
je 0x4a5727
inc esi
mov dword [esp + 0x18], esi
test edi, edi
jg 0x4a5130
cmp dword [esp + 0x24], 0
je case.0x4a4ee2.5
push ebp
push 0x22
call ebx
add esp, 8
cmp eax, 0xffffffff
je 0x4a5727
inc esi
mov dword [esp + 0x18], esi
jmp case.0x4a4ee2.5
mov eax, dword [esp + 0x10]
mov eax, dword [esp + eax*8 + 0x74]
mov dword [esp + 0x28], eax
test eax, eax
je 0x4a53f0
test edx, 0x1000
mov dword [esp + 0x14], 0x10
mov edx, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
mov dword [esp + 0x24], 1
cmove edx, dword [esp + 0x54]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
cmp ecx, 0xffffffff
mov edx, 1
cmove ecx, edx
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x20], ecx
lea edx, [esp + 0xfc8]
ja 0x4a51da
test eax, eax
je 0x4a5225
mov ebx, dword [esp + 0x28]
mov ebp, edx
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x3c]
nop dword [eax]
push 0
push edi
push edx
push ebx
call fcn.004b8210
mov ebx, eax
mov al, byte [ecx + esi]
mov byte [ebp], al
dec ebp
test edx, edx
ja 0x4a51f0
jb 0x4a520d
test ebx, ebx
jne 0x4a51f0
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
lea ebx, [esp + 0xfc8]
mov eax, edx
sub eax, ebx
mov ebx, dword [esp + 0x44]
add edi, eax
add ecx, eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4a5252
cmp dword [esp + 0x14], 8
jne 0x4a5252
test ecx, ecx
jg 0x4a525a
mov byte [edx], 0x30
dec edx
dec edi
jmp 0x4a5290
mov dword [esp + 0x10], edx
test ecx, ecx
jle 0x4a527c
sub edi, ecx
nop dword [eax]
lea ebp, [esp + 0xe84]
dec ecx
cmp edx, ebp
jb 0x4a5274
mov byte [edx], 0x30
dec edx
test ecx, ecx
jg 0x4a5260
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x10], edx
mov ecx, edi
test eax, eax
je 0x4a5294
cmp dword [esp + 0x14], 0x10
mov dword [esp + 0x10], edx
jne 0x4a5294
lea edi, [ecx - 2]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
test ecx, ecx
jne 0x4a52a4
test al, 3
je 0x4a52a5
dec edi
test eax, 0x104
jne 0x4a52d4
test edi, edi
jle 0x4a52d3
push ebp
push 0x20
dec edi
call ebx
add esp, 8
cmp eax, 0xffffffff
je 0x4a5727
inc esi
mov dword [esp + 0x18], esi
test edi, edi
jg 0x4a52b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
dec edi
test ecx, ecx
je 0x4a52dd
push ebp
push 0x2d
jmp 0x4a52ed
test al, 2
je 0x4a52e6
push ebp
push 0x2b
jmp 0x4a52ed
test al, 1
je 0x4a5300
push ebp
push 0x20
call ebx
add esp, 8
cmp eax, 0xffffffff
je 0x4a5727
inc esi
mov dword [esp + 0x18], esi
cmp dword [esp + 0x24], 0
je 0x4a5345
cmp dword [esp + 0x14], 0x10
jne 0x4a5345
push ebp
push 0x30
call ebx
add esp, 8
cmp eax, 0xffffffff
je 0x4a5727
test dword [esp + 0x1c], 0x1000
push ebp
je 0x4a532e
push 0x58
jmp 0x4a5330
push 0x78
call ebx
add esp, 8
cmp eax, 0xffffffff
je 0x4a5722
add esi, 2
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x1c]
mov ecx, eax
and ecx, 4
mov dword [esp + 0x24], ecx
jne 0x4a537c
test eax, 0x100
je 0x4a537c
test edi, edi
jle 0x4a537b
nop
push ebp
push 0x30
dec edi
call ebx
add esp, 8
cmp eax, 0xffffffff
je 0x4a5727
inc esi
mov dword [esp + 0x18], esi
test edi, edi
jg 0x4a5360
dec edi
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xfc8]
inc eax
mov dword [esp + 0x10], eax
cmp eax, ecx
ja 0x4a53bc
movzx eax, byte [eax]
push ebp
push eax
call ebx
add esp, 8
cmp eax, 0xffffffff
je 0x4a5727
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xfc8]
inc eax
inc esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], eax
cmp eax, ecx
jbe 0x4a5390
cmp dword [esp + 0x24], 0
je case.0x4a4ee2.5
test edi, edi
jle case.0x4a4ee2.5
nop
push ebp
push 0x20
dec edi
call ebx
add esp, 8
cmp eax, 0xffffffff
je 0x4a5727
inc esi
mov dword [esp + 0x18], esi
test edi, edi
jg 0x4a53d0
jmp case.0x4a4ee2.5
sub edi, 5
and edx, 4
mov dword [esp + 0x1c], edx
je 0x4a5418
test edi, edi
jle 0x4a5417
push ebp
push 0x20
dec edi
call ebx
add esp, 8
cmp eax, 0xffffffff
je 0x4a5727
inc esi
test edi, edi
jg 0x4a5400
dec edi
mov dword [esp + 0x24], str._nil_
mov al, 0x28
movzx eax, al
push ebp
push eax
call ebx
add esp, 8
cmp eax, 0xffffffff
je 0x4a5727
mov eax, dword [esp + 0x24]
inc esi
inc eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], eax
mov al, byte [eax]
test al, al
jne 0x4a5422
cmp dword [esp + 0x1c], 0
jne case.0x4a4ee2.5
test edi, edi
jle case.0x4a4ee2.5
nop dword [eax]
push ebp
push 0x20
dec edi
call ebx
add esp, 8
cmp eax, 0xffffffff
je 0x4a5727
inc esi
mov dword [esp + 0x18], esi
test edi, edi
jg 0x4a5460
jmp case.0x4a4ee2.5
xorps xmm0, xmm0
mov dword [esp + 0xe7e], 0
mov eax, 0x25
movq qword [esp + 0xe76], xmm0
lea ecx, [esp + 0xe64]
mov word [esp + 0xe64], ax
movups xmmword [esp + 0xe66], xmm0
mov word [esp + 0xe82], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a54c0
sub ecx, edi
mov eax, 0x20
sub eax, ecx
mov dword [esp + 0x20], eax
or eax, 0xffffffff
mov dword [esp + 0x2c], eax
test edx, 0x2000
je 0x4a54e9
mov eax, dword [esp + 0x14]
jmp 0x4a54fc
test edx, 0x4000
je 0x4a5500
mov eax, dword [esp + 0x14]
lea eax, [eax + eax*2]
mov eax, dword [esp + eax*8 + 0x74]
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x30], 0
mov edi, dword [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
je 0x4a5519
mov eax, dword [esp + edi*8 + 0x70]
jmp 0x4a552b
cmp dword [esp + 0x4c], 0
je 0x4a552f
mov eax, dword [esp + edi*8 + 0x70]
lea eax, [eax + eax*2]
mov eax, dword [esp + eax*8 + 0x74]
mov dword [esp + 0x28], eax
movzx eax, byte [esp + 0xe65]
test edx, 4
mov ecx, edx
cmovne eax, dword [esp + 0x58]
test ecx, 4
mov byte [esp + 0xe65], al
lea ecx, [esp + 0xe65]
lea eax, [esp + 0xe66]
cmovne ecx, eax
mov dword [esp + 0x14], ecx
test dl, 2
je 0x4a5573
mov byte [ecx], 0x2b
inc ecx
mov dword [esp + 0x14], ecx
test dl, 1
je 0x4a5580
mov byte [ecx], 0x20
inc ecx
mov dword [esp + 0x14], ecx
test dl, 8
je 0x4a558d
mov byte [ecx], 0x23
inc ecx
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x2c]
mov byte [ecx], 0
test edx, edx
js 0x4a55d5
cmp edx, 0x146
mov eax, 0x145
cmovge edx, eax
push edx
push 0x66693c
push dword [esp + 0x28]
mov dword [esp + 0x38], edx
push ecx
call fcn.004a43c0
mov ecx, dword [esp + 0x24]
add esp, 0x10
movsd xmm1, qword [esp + 0x5c]
add ecx, eax
sub dword [esp + 0x20], eax
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x28], 0
jl 0x4a563b
movsd xmm0, qword [esp + edi*8 + 0x74]
mov eax, 0x144
test edx, edx
jle 0x4a55f3
cmp dword [esp + 0x28], edx
jg 0x4a55f3
sub eax, edx
comisd xmm0, xmm1
jb 0x4a560b
nop dword [eax]
divsd xmm0, xmm1
dec eax
comisd xmm0, xmm1
jae 0x4a5600
cmp dword [esp + 0x28], eax
lea ecx, [eax - 1]
cmovle ecx, dword [esp + 0x28]
xor eax, eax
test ecx, ecx
cmovns eax, ecx
push eax
mov eax, dword [esp + 0x18]
push str.._ld
push dword [esp + 0x28]
push eax
call fcn.004a43c0
mov ecx, dword [esp + 0x24]
add esp, 0x10
add ecx, eax
mov eax, dword [esp + 0x1c]
test al, 0x20
je 0x4a5647
mov byte [ecx], 0x6c
inc ecx
test eax, 0x40000
je 0x4a5659
shr eax, 7
not al
and al, 0x20
or al, 0x45
jmp 0x4a566d
test eax, 0x80000
je 0x4a566b
shr eax, 7
not al
and al, 0x20
or al, 0x47
jmp 0x4a566d
mov al, 0x66
mov byte [ecx], al
sub esp, 8
movsd xmm0, qword [esp + edi*8 + 0x7c]
lea eax, [esp + 0xe6c]
mov byte [ecx + 1], 0
movsd qword [esp], xmm0
push eax
lea eax, [esp + 0xe90]
push eax
call fcn.004a5760
mov al, byte [esp + 0xe94]
lea edi, [esp + 0xe94]
add esp, 0x10
test al, al
je case.0x4a4ee2.5
nop dword [eax + eax]
movzx eax, al
push ebp
push eax
call ebx
add esp, 8
cmp eax, 0xffffffff
je 0x4a5727
mov al, byte [edi + 1]
inc edi
inc esi
mov dword [esp + 0x18], esi
test al, al
jne 0x4a56b0
jmp case.0x4a4ee2.5
test dl, 0x40
je 0x4a56e5
mov ecx, dword [esp + 0x10]
mov eax, esi
cdq
mov ecx, dword [esp + ecx*8 + 0x74]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp case.0x4a4ee2.5
mov eax, dword [esp + 0x10]
mov eax, dword [esp + eax*8 + 0x74]
test dl, 0x20
je 0x4a56f6
mov dword [eax], esi
jmp case.0x4a4ee2.5
test dl, 0x10
jne 0x4a56ff
mov dword [eax], esi
jmp case.0x4a4ee2.5
mov word [eax], si
mov edx, dword [esp + 0x48]
mov edi, dword [edx]
add edx, 4
mov dword [esp + 0x48], edx
mov ecx, edi
mov al, byte [edi]
test al, al
je 0x4a5727
movsd xmm1, qword [esp + 0x5c]
jmp 0x4a4d85
lea eax, [esi + 1]
jmp 0x4a5729
mov eax, esi
mov ecx, dword [esp + 0xfcc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b75b2
add esp, 0xfc0
ret