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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504380
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x53f00c]
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 edi, ecx
mov dword [ebp - 0x3c], edi
cmp byte [edi + 0x3c], 0
jne 0x4bacd9
mov byte [edi + 0x3c], 1
mov edx, dword [edi + 4]
push ecx
mov ecx, dword [edi]
call fcn.004bb9a0
mov eax, dword [edi]
lea ecx, [ebp - 0x6c]
add esp, 4
mov dword [edi + 4], eax
movzx eax, byte [edi + 0x3d]
push eax
call fcn.004c0670
mov esi, eax
mov dword [ebp - 4], 0
lea ebx, [edi + 0xc]
cmp ebx, esi
je 0x4ba85d
push dword [ebp - 0x30]
mov ecx, ebx
push dword [esi + 4]
push dword [esi]
call fcn.004bc100
lea eax, [esi + 0xc]
lea ecx, [ebx + 0xc]
cmp ecx, eax
je 0x4ba874
push dword [ebp - 0x30]
push dword [eax + 4]
push dword [eax]
call fcn.004bbec0
lea eax, [esi + 0x18]
lea ecx, [ebx + 0x18]
cmp ecx, eax
je 0x4ba88b
push dword [ebp - 0x30]
push dword [eax + 4]
push dword [eax]
call fcn.004bbc60
lea ecx, [esi + 0x24]
lea esi, [ebx + 0x24]
call fcn.00409460
cmp esi, eax
je 0x4ba8b4
call fcn.00409450
mov edx, dword [eax]
call fcn.00409460
push dword [ebp - 0x30]
mov ecx, esi
push edx
mov eax, dword [eax]
push eax
call fcn.0040b520
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00408b60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.004bb1e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.004bb260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.004bb2e0
push edi
mov ecx, ebx
call fcn.004c20d0
mov eax, dword [edi + 4]
cmp dword [edi], eax
jne 0x4ba9d5
lea ecx, [ebp - 0x30]
call fcn.0042b390
mov dword [ebp - 4], 6
mov edx, dword [edi + 4]
push ecx
mov ecx, dword [edi]
call fcn.004bb9a0
mov eax, dword [edi]
add esp, 4
mov ecx, edi
mov dword [edi + 4], eax
call fcn.004c4d00
mov esi, dword [edi]
cmp esi, dword [edi + 4]
je 0x4ba9c3
lea ecx, [esi + 0x18]
call fcn.00408d90
test al, al
jne 0x4ba952
push str.000000000000
lea ecx, [esi + 0x18]
call fcn.00410720
mov byte [ebp - 0x29], 1
test al, al
je 0x4ba956
mov byte [ebp - 0x29], 0
lea eax, [esi + 0x30]
mov ecx, eax
call fcn.00408d90
test al, al
jne 0x4ba979
push str.000000000000
lea ecx, [esi + 0x30]
call fcn.00410720
test al, al
jne 0x4ba979
mov al, 1
jmp 0x4ba97b
xor al, al
cmp byte [ebp - 0x29], 0
jne 0x4ba995
test al, al
jne 0x4ba995
push esi
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
call fcn.004baf20
mov esi, dword [eax]
jmp 0x4ba9b7
lea ecx, [esi + 0x18]
call fcn.00427150
lea ecx, [esi + 0x30]
call fcn.00427150
or byte [esi + 0x60], 1
lea ecx, [esi + 0x64]
call fcn.00416f9f
add esi, 0x94
cmp esi, dword [edi + 4]
jne 0x4ba931
lea ebx, [edi + 0xc]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0042b450
mov eax, dword [edi + 4]
mov esi, dword [edi]
cmp esi, eax
je 0x4baa0b
nop dword [eax + eax]
lea eax, [esi + 0x7c]
mov ecx, ebx
push eax
push esi
call fcn.004c1c90
test al, al
jne 0x4baa00
push esi
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.004baf20
mov esi, dword [eax]
jmp 0x4baa06
add esi, 0x94
cmp esi, dword [edi + 4]
jne 0x4ba9e0
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, ebx
push eax
call fcn.004c1ad0
mov ecx, dword [ebp - 0x24]
mov eax, 0x81848da9
mov ebx, dword [ebp - 0x28]
sub ecx, ebx
imul ecx
add edx, ecx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 0x38], ecx
je 0x4babba
xor eax, eax
mov dword [ebp - 0x34], eax
mov esi, dword [edi]
add ebx, eax
cmp esi, dword [edi + 4]
je 0x4baba3
mov ecx, ebx
call fcn.00409670
mov ecx, esi
mov edi, eax
call fcn.00409670
cmp eax, edi
jne 0x4bab8b
mov ecx, ebx
call fcn.00408da0
mov ecx, esi
mov edi, eax
call fcn.00408da0
mov edx, edi
mov ecx, eax
call fcn.00426e40
test al, al
je 0x4bab8b
lea ecx, [ebx + 0x30]
call fcn.00408d90
test al, al
jne 0x4bab23
push str.0.0.0.0
lea ecx, [ebx + 0x30]
call fcn.00410720
test al, al
jne 0x4bab23
lea ecx, [ebx + 0x30]
lea edx, [esi + 0x64]
call fcn.00409460
cmp edx, eax
je 0x4bab23
lea ecx, [ebx + 0x30]
call fcn.00409460
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x4bab17
mov edx, dword [eax]
push dword [eax + 0x10]
lea ecx, [esi + 0x64]
push edx
call fcn.00409680
or byte [esi + 0x60], 2
lea edi, [esi + 0x30]
mov ecx, edi
call fcn.00408d90
test al, al
je 0x4bab5b
lea ecx, [ebx + 0x78]
call fcn.00409460
cmp edi, eax
je 0x4bab5b
call fcn.00409460
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4bab50
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.00409680
lea ecx, [esi + 0x48]
call fcn.00408d90
test al, al
je 0x4bab8b
cmp dword [ebx + 0x2b8], 5
jne 0x4bab8b
push 0x51dd50
call fcn.00409e30
add esp, 4
lea ecx, [esi + 0x48]
push eax
push 0x51dd50
call fcn.00409680
mov edi, dword [ebp - 0x3c]
add esi, 0x94
cmp esi, dword [edi + 4]
jne 0x4baaa0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x28]
add eax, 0x3f4
sub ecx, 1
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
jne 0x4baa93
mov ecx, dword [ebp - 0x18]
mov eax, 0x92492493
mov ebx, dword [ebp - 0x1c]
sub ecx, ebx
imul ecx
mov dword [ebp - 0x30], 0
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4bacbe
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov esi, dword [edi]
lea eax, [ebx + ecx]
mov dword [ebp - 0x38], eax
cmp esi, dword [edi + 4]
je 0x4bac8e
lea edi, [esi + 0x30]
nop dword [eax + eax]
mov ecx, eax
call fcn.00409670
mov ecx, esi
mov ebx, eax
call fcn.00409670
cmp eax, ebx
jne 0x4bac6a
mov ecx, dword [ebp - 0x38]
call fcn.00408da0
mov ecx, esi
mov ebx, eax
call fcn.00408da0
mov edx, ebx
mov ecx, eax
call fcn.00426e40
test al, al
je 0x4bac6a
or byte [edi + 0x30], 4
mov ecx, edi
call fcn.00408d90
test al, al
je 0x4bac6a
mov ecx, dword [ebp - 0x38]
add ecx, 0x18
call fcn.00409460
cmp edi, eax
je 0x4bac6a
call fcn.00409460
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4bac5f
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.00409680
mov eax, dword [ebp - 0x3c]
add esi, 0x94
add edi, 0x94
cmp esi, dword [eax + 4]
mov eax, dword [ebp - 0x38]
jne 0x4bac00
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
add ecx, 0x38
mov dword [ebp - 0x34], ecx
mov eax, 0x92492493
mov ecx, dword [ebp - 0x18]
inc esi
sub ecx, ebx
mov dword [ebp - 0x30], 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 0x4babe7
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
call fcn.004bb260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004bb2e0
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.004c9ebd
mov esp, ebp
pop ebp
ret