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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ffb00
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x53b098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x3c], ebx
cmp byte [ebx + 0x3c], 0
jne 0x4a78ab
mov byte [ebx + 0x3c], 1
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
cmp esi, edi
je 0x4a739b
push ecx
mov ecx, esi
call fcn.004a8650
add esi, 0x94
cmp esi, edi
jne 0x4a7387
mov esi, dword [ebx]
mov dword [ebx + 4], esi
lea ecx, [ebp - 0x6c]
movzx eax, byte [ebx + 0x3d]
push eax
call fcn.004b4e20
mov esi, eax
mov dword [ebp - 4], 0
lea edi, [ebx + 0xc]
cmp edi, esi
je 0x4a73ca
push dword [ebp - 0x3c]
mov ecx, edi
push dword [esi + 4]
push dword [esi]
call fcn.004a8c10
lea eax, [esi + 0xc]
lea ecx, [edi + 0xc]
cmp ecx, eax
je 0x4a73e1
push dword [ebp - 0x3c]
push dword [eax + 4]
push dword [eax]
call fcn.004a89d0
lea eax, [esi + 0x18]
lea ecx, [edi + 0x18]
cmp ecx, eax
je 0x4a73f8
push dword [ebp - 0x3c]
push dword [eax + 4]
push dword [eax]
call fcn.004a8770
lea ecx, [esi + 0x24]
lea esi, [edi + 0x24]
cmp esi, ecx
je 0x4a741c
call fcn.00404e80
mov edx, dword [eax]
call fcn.00404e90
push dword [ebp - 0x3c]
mov ecx, esi
push edx
mov eax, dword [eax]
push eax
call fcn.0042f920
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00404b70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.004a7d60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.004a7de0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.004a7e60
push ebx
mov ecx, edi
call fcn.004b6aa0
mov eax, dword [ebx + 4]
cmp dword [ebx], eax
jne 0x4a7592
lea ecx, [ebp - 0x34]
call fcn.00407090
mov dword [ebp - 4], 6
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
cmp esi, edi
je 0x4a7494
nop dword [eax]
push ecx
mov ecx, esi
call fcn.004a8650
add esi, 0x94
cmp esi, edi
jne 0x4a7480
mov esi, dword [ebx]
mov ecx, ebx
mov dword [ebx + 4], esi
call fcn.004baca0
mov esi, dword [ebx]
cmp esi, dword [ebx + 4]
je 0x4a757d
lea edi, [esi + 0x18]
nop dword [eax]
mov ecx, edi
call fcn.00404c10
test al, al
jne 0x4a74cf
push str.000000000000
mov ecx, edi
call fcn.00405a10
mov byte [ebp - 0x2d], 1
test al, al
je 0x4a74d3
mov byte [ebp - 0x2d], 0
lea eax, [edi + 0x18]
mov ecx, eax
call fcn.00404c10
test al, al
jne 0x4a74f6
push str.000000000000
lea ecx, [edi + 0x18]
call fcn.00405a10
test al, al
jne 0x4a74f6
mov al, 1
jmp 0x4a74f8
xor al, al
cmp byte [ebp - 0x2d], 0
jne 0x4a7525
test al, al
jne 0x4a7525
mov edx, dword [ebx + 4]
lea ecx, [edi + 0x7c]
push esi
call fcn.004a8220
mov ecx, dword [ebx + 4]
sub ecx, 0x94
call fcn.004a8650
add dword [ebx + 4], 0xffffff6c
jmp 0x4a7572
push edi
call fcn.00407f90
lea eax, [edi + 0x18]
push eax
call fcn.00407f90
or byte [edi + 0x48], 1
lea ecx, [edi + 0x4c]
add esp, 8
call fcn.00404e90
mov dword [ebp - 0x38], 0
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], 0
jb 0x4a7559
mov eax, dword [eax]
lea ecx, [ebp - 0x38]
push ecx
push eax
call fcn.00405420
add esp, 8
add esi, 0x94
add edi, 0x94
mov eax, dword [ebx + 4]
cmp esi, eax
jne 0x4a74b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00407150
mov eax, dword [ebx + 4]
lea edi, [ebx + 0xc]
mov esi, dword [ebx]
cmp esi, eax
je 0x4a75db
lea eax, [esi + 0x7c]
mov ecx, edi
push eax
push esi
call fcn.004b6610
test al, al
jne 0x4a75ce
mov edx, dword [ebx + 4]
lea ecx, [esi + 0x94]
push esi
call fcn.004a8220
mov ecx, dword [ebx + 4]
sub ecx, 0x94
call fcn.004a8650
add dword [ebx + 4], 0xffffff6c
jmp 0x4a75d4
add esi, 0x94
mov eax, dword [ebx + 4]
cmp esi, eax
jne 0x4a7598
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 8
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.004b6450
mov ecx, dword [ebp - 0x24]
mov eax, 0x81848da9
mov edi, dword [ebp - 0x28]
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 0x38], ecx
je 0x4a7794
xor eax, eax
mov dword [ebp - 0x34], eax
mov esi, dword [ebx]
add eax, edi
mov dword [ebp - 0x2c], eax
cmp esi, dword [ebx + 4]
je 0x4a777d
mov ecx, eax
call fcn.00405040
mov ecx, esi
mov edi, eax
call fcn.00405040
cmp eax, edi
jne 0x4a7765
mov ecx, dword [ebp - 0x2c]
call fcn.00404c20
mov ecx, esi
mov edi, eax
call fcn.00404c20
mov edx, edi
mov ecx, eax
call fcn.00407cd0
test al, al
je 0x4a7765
mov edi, dword [ebp - 0x2c]
add edi, 0x30
mov ecx, edi
call fcn.00404c10
test al, al
jne 0x4a76f7
push str.0.0.0.0
mov ecx, edi
call fcn.00405a10
test al, al
jne 0x4a76f7
mov ecx, edi
lea edx, [esi + 0x64]
call fcn.00404e90
cmp edx, eax
je 0x4a76f7
call fcn.00404e90
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x4a76eb
mov edx, dword [eax]
push dword [eax + 0x10]
lea ecx, [esi + 0x64]
push edx
call fcn.00405050
or byte [esi + 0x60], 2
lea edi, [esi + 0x30]
mov ecx, edi
call fcn.00404c10
test al, al
je 0x4a7732
mov ecx, dword [ebp - 0x2c]
add ecx, 0x78
call fcn.00404e90
cmp edi, eax
je 0x4a7732
call fcn.00404e90
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4a7727
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.00405050
lea ecx, [esi + 0x48]
call fcn.00404c10
test al, al
mov eax, dword [ebp - 0x2c]
je 0x4a7768
cmp dword [eax + 0x2b8], 5
jne 0x4a7768
push 0x5185c0
call fcn.004051b0
add esp, 4
lea ecx, [esi + 0x48]
push eax
push 0x5185c0
call fcn.00405050
mov eax, dword [ebp - 0x2c]
add esi, 0x94
cmp esi, dword [ebx + 4]
jne 0x4a7673
mov edi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
add eax, 0x3f4
sub ecx, 1
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
jne 0x4a7663
mov ecx, dword [ebp - 0x18]
mov eax, 0x92492493
mov edi, dword [ebp - 0x1c]
sub ecx, edi
imul ecx
mov dword [ebp - 0x38], 0
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4a7890
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov esi, dword [ebx]
lea eax, [edi + ecx]
mov dword [ebp - 0x2c], eax
cmp esi, dword [ebx + 4]
je 0x4a7860
lea edi, [esi + 0x30]
mov ecx, eax
call fcn.00405040
mov ecx, esi
mov ebx, eax
call fcn.00405040
cmp eax, ebx
jne 0x4a783f
mov ecx, dword [ebp - 0x2c]
call fcn.00404c20
mov ecx, esi
mov ebx, eax
call fcn.00404c20
mov edx, ebx
mov ecx, eax
call fcn.00407cd0
test al, al
je 0x4a783f
or byte [edi + 0x30], 4
mov ecx, edi
call fcn.00404c10
test al, al
je 0x4a783f
mov ecx, dword [ebp - 0x2c]
add ecx, 0x18
call fcn.00404e90
cmp edi, eax
je 0x4a783f
call fcn.00404e90
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4a7834
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.00405050
mov ebx, dword [ebp - 0x3c]
add esi, 0x94
mov eax, dword [ebp - 0x2c]
add edi, 0x94
cmp esi, dword [ebx + 4]
jne 0x4a77d5
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
add ecx, 0x38
mov dword [ebp - 0x34], ecx
mov eax, 0x92492493
mov ecx, dword [ebp - 0x18]
inc esi
sub ecx, edi
mov dword [ebp - 0x38], esi
imul ecx
add edx, ecx
mov ecx, dword [ebp - 0x34]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4a77c1
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
call fcn.004a7de0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004a7e60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c35a5
mov esp, ebp
pop ebp
ret