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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53e9d0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x592884]
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 0x4b16cb
mov byte [ebx + 0x3c], 1
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
cmp esi, edi
je 0x4b11bb
push ecx
mov ecx, esi
call fcn.004b2470
add esi, 0x94
cmp esi, edi
jne 0x4b11a7
mov esi, dword [ebx]
mov dword [ebx + 4], esi
lea ecx, [ebp - 0x6c]
movzx eax, byte [ebx + 0x3d]
push eax
call fcn.004ba430
mov esi, eax
mov dword [ebp - 4], 0
lea edi, [ebx + 0xc]
cmp edi, esi
je 0x4b11ea
push dword [ebp - 0x3c]
mov ecx, edi
push dword [esi + 4]
push dword [esi]
call fcn.004b2a30
lea eax, [esi + 0xc]
lea ecx, [edi + 0xc]
cmp ecx, eax
je 0x4b1201
push dword [ebp - 0x3c]
push dword [eax + 4]
push dword [eax]
call fcn.004b27f0
lea eax, [esi + 0x18]
lea ecx, [edi + 0x18]
cmp ecx, eax
je 0x4b1218
push dword [ebp - 0x3c]
push dword [eax + 4]
push dword [eax]
call fcn.004b2590
lea ecx, [esi + 0x24]
lea esi, [edi + 0x24]
cmp esi, ecx
je 0x4b123c
call fcn.0040e2a0
mov edx, dword [eax]
call fcn.00404d50
push dword [ebp - 0x3c]
mov ecx, esi
push edx
mov eax, dword [eax]
push eax
call fcn.00440320
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.0040dda0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.004b1b80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.004b1c00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.004b1c80
push ebx
mov ecx, edi
call fcn.004bc010
mov eax, dword [ebx + 4]
cmp dword [ebx], eax
jne 0x4b13b2
lea ecx, [ebp - 0x34]
call fcn.004120c0
mov dword [ebp - 4], 6
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
cmp esi, edi
je 0x4b12b4
nop dword [eax]
push ecx
mov ecx, esi
call fcn.004b2470
add esi, 0x94
cmp esi, edi
jne 0x4b12a0
mov esi, dword [ebx]
mov ecx, ebx
mov dword [ebx + 4], esi
call fcn.004c0210
mov esi, dword [ebx]
cmp esi, dword [ebx + 4]
je 0x4b139d
lea edi, [esi + 0x18]
nop dword [eax]
mov ecx, edi
call fcn.0040df80
test al, al
jne 0x4b12ef
push str.000000000000
mov ecx, edi
call fcn.0040efb0
mov byte [ebp - 0x2d], 1
test al, al
je 0x4b12f3
mov byte [ebp - 0x2d], 0
lea eax, [edi + 0x18]
mov ecx, eax
call fcn.0040df80
test al, al
jne 0x4b1316
push str.000000000000
lea ecx, [edi + 0x18]
call fcn.0040efb0
test al, al
jne 0x4b1316
mov al, 1
jmp 0x4b1318
xor al, al
cmp byte [ebp - 0x2d], 0
jne 0x4b1345
test al, al
jne 0x4b1345
mov edx, dword [ebx + 4]
lea ecx, [edi + 0x7c]
push esi
call fcn.004b2040
mov ecx, dword [ebx + 4]
sub ecx, 0x94
call fcn.004b2470
add dword [ebx + 4], 0xffffff6c
jmp 0x4b1392
push edi
call fcn.00413090
lea eax, [edi + 0x18]
push eax
call fcn.00413090
or byte [edi + 0x48], 1
lea ecx, [edi + 0x4c]
add esp, 8
call fcn.00404d50
mov dword [ebp - 0x38], 0
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], 0
jb 0x4b1379
mov eax, dword [eax]
lea ecx, [ebp - 0x38]
push ecx
push eax
call fcn.0040e900
add esp, 8
add esi, 0x94
add edi, 0x94
mov eax, dword [ebx + 4]
cmp esi, eax
jne 0x4b12d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00412180
mov eax, dword [ebx + 4]
lea edi, [ebx + 0xc]
mov esi, dword [ebx]
cmp esi, eax
je 0x4b13fb
lea eax, [esi + 0x7c]
mov ecx, edi
push eax
push esi
call fcn.004bbb80
test al, al
jne 0x4b13ee
mov edx, dword [ebx + 4]
lea ecx, [esi + 0x94]
push esi
call fcn.004b2040
mov ecx, dword [ebx + 4]
sub ecx, 0x94
call fcn.004b2470
add dword [ebx + 4], 0xffffff6c
jmp 0x4b13f4
add esi, 0x94
mov eax, dword [ebx + 4]
cmp esi, eax
jne 0x4b13b8
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.004bb9c0
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 0x4b15b4
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 0x4b159d
mov ecx, eax
call fcn.0040e3b0
mov ecx, esi
mov edi, eax
call fcn.0040e3b0
cmp eax, edi
jne 0x4b1585
mov ecx, dword [ebp - 0x2c]
call fcn.0040df90
mov ecx, esi
mov edi, eax
call fcn.0040df90
mov edx, edi
mov ecx, eax
call fcn.00412dc0
test al, al
je 0x4b1585
mov edi, dword [ebp - 0x2c]
add edi, 0x30
mov ecx, edi
call fcn.0040df80
test al, al
jne 0x4b1517
push str.0.0.0.0
mov ecx, edi
call fcn.0040efb0
test al, al
jne 0x4b1517
mov ecx, edi
lea edx, [esi + 0x64]
call fcn.00404d50
cmp edx, eax
je 0x4b1517
call fcn.00404d50
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x4b150b
mov edx, dword [eax]
push dword [eax + 0x10]
lea ecx, [esi + 0x64]
push edx
call fcn.0040e3c0
or byte [esi + 0x60], 2
lea edi, [esi + 0x30]
mov ecx, edi
call fcn.0040df80
test al, al
je 0x4b1552
mov ecx, dword [ebp - 0x2c]
add ecx, 0x78
call fcn.00404d50
cmp edi, eax
je 0x4b1552
call fcn.00404d50
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4b1547
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.0040e3c0
lea ecx, [esi + 0x48]
call fcn.0040df80
test al, al
mov eax, dword [ebp - 0x2c]
je 0x4b1588
cmp dword [eax + 0x2b8], 5
jne 0x4b1588
push 0x566590
call fcn.0040e690
add esp, 4
lea ecx, [esi + 0x48]
push eax
push 0x566590
call fcn.0040e3c0
mov eax, dword [ebp - 0x2c]
add esi, 0x94
cmp esi, dword [ebx + 4]
jne 0x4b1493
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 0x4b1483
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 0x4b16b0
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 0x4b1680
lea edi, [esi + 0x30]
mov ecx, eax
call fcn.0040e3b0
mov ecx, esi
mov ebx, eax
call fcn.0040e3b0
cmp eax, ebx
jne 0x4b165f
mov ecx, dword [ebp - 0x2c]
call fcn.0040df90
mov ecx, esi
mov ebx, eax
call fcn.0040df90
mov edx, ebx
mov ecx, eax
call fcn.00412dc0
test al, al
je 0x4b165f
or byte [edi + 0x30], 4
mov ecx, edi
call fcn.0040df80
test al, al
je 0x4b165f
mov ecx, dword [ebp - 0x2c]
add ecx, 0x18
call fcn.00404d50
cmp edi, eax
je 0x4b165f
call fcn.00404d50
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4b1654
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.0040e3c0
mov ebx, dword [ebp - 0x3c]
add esi, 0x94
mov eax, dword [ebp - 0x2c]
add edi, 0x94
cmp esi, dword [ebx + 4]
jne 0x4b15f5
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 0x4b15e1
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
call fcn.004b1c00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004b1c80
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.004f6f55
mov esp, ebp
pop ebp
ret