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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ac880
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x60a070]
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 0x4bb30a
mov byte [ebx + 0x3c], 1
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
cmp esi, edi
je 0x4bae1b
push ecx
mov ecx, esi
call fcn.004bd250
add esi, 0x94
cmp esi, edi
jne 0x4bae07
mov esi, dword [ebx]
mov dword [ebx + 4], esi
lea ecx, [ebp - 0x6c]
movzx eax, byte [ebx + 0x3d]
push eax
call fcn.004d6150
mov esi, eax
mov dword [ebp - 4], 0
lea edi, [ebx + 0xc]
cmp edi, esi
je 0x4bae4a
push dword [ebp - 0x3c]
mov ecx, edi
push dword [esi + 4]
push dword [esi]
call fcn.004bdb70
lea eax, [esi + 0xc]
lea ecx, [edi + 0xc]
cmp ecx, eax
je 0x4bae61
push dword [ebp - 0x3c]
push dword [eax + 4]
push dword [eax]
call fcn.004bd910
lea eax, [esi + 0x18]
lea ecx, [edi + 0x18]
cmp ecx, eax
je 0x4bae78
push dword [ebp - 0x3c]
push dword [eax + 4]
push dword [eax]
call fcn.004bd690
lea ecx, [esi + 0x24]
lea esi, [edi + 0x24]
cmp esi, ecx
je 0x4bae9c
call fcn.00403e10
mov edx, dword [eax]
call fcn.00403e30
push dword [ebp - 0x3c]
mov ecx, esi
push edx
mov eax, dword [eax]
push eax
call fcn.00430db0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00403a60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.004bbf30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.004bc090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.004bc110
push ebx
mov ecx, edi
call fcn.004d81b0
mov eax, dword [ebx + 4]
cmp dword [ebx], eax
jne 0x4bafea
lea ecx, [ebp - 0x34]
call fcn.004c9d70
mov dword [ebp - 4], 6
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
cmp esi, edi
je 0x4baf14
nop dword [eax]
push ecx
mov ecx, esi
call fcn.004bd250
add esi, 0x94
cmp esi, edi
jne 0x4baf00
mov esi, dword [ebx]
mov ecx, ebx
mov dword [ebx + 4], esi
call fcn.004e27a0
mov esi, dword [ebx]
cmp esi, dword [ebx + 4]
je 0x4bafd5
lea edi, [esi + 0x18]
nop dword [eax]
mov ecx, edi
call fcn.0040d260
test eax, eax
je 0x4baf4f
push str.000000000000
mov ecx, edi
call fcn.00404d10
mov byte [ebp - 0x2d], 1
test al, al
je 0x4baf53
mov byte [ebp - 0x2d], 0
lea ecx, [edi + 0x18]
call fcn.0040d260
test eax, eax
je 0x4baf74
push str.000000000000
lea ecx, [edi + 0x18]
call fcn.00404d10
test al, al
jne 0x4baf74
mov al, 1
jmp 0x4baf76
xor al, al
cmp byte [ebp - 0x2d], 0
jne 0x4bafa3
test al, al
jne 0x4bafa3
mov edx, dword [ebx + 4]
lea ecx, [edi + 0x7c]
push esi
call fcn.004bcc40
mov ecx, dword [ebx + 4]
sub ecx, 0x94
call fcn.004bd250
add dword [ebx + 4], 0xffffff6c
jmp 0x4bafca
mov ecx, edi
call fcn.00497370
lea ecx, [edi + 0x18]
call fcn.00497370
or byte [edi + 0x48], 1
lea ecx, [edi + 0x4c]
call fcn.0040d270
add esi, 0x94
add edi, 0x94
mov eax, dword [ebx + 4]
cmp esi, eax
jne 0x4baf30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004c9e30
mov eax, dword [ebx + 4]
lea edi, [ebx + 0xc]
mov esi, dword [ebx]
cmp esi, eax
je 0x4bb033
lea eax, [esi + 0x7c]
mov ecx, edi
push eax
push esi
call fcn.004d7d00
test al, al
jne 0x4bb026
mov edx, dword [ebx + 4]
lea ecx, [esi + 0x94]
push esi
call fcn.004bcc40
mov ecx, dword [ebx + 4]
sub ecx, 0x94
call fcn.004bd250
add dword [ebx + 4], 0xffffff6c
jmp 0x4bb02c
add esi, 0x94
mov eax, dword [ebx + 4]
cmp esi, eax
jne 0x4baff0
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.004d7b40
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 - 0x34], ecx
je 0x4bb1f1
xor eax, eax
mov dword [ebp - 0x38], eax
nop dword [eax + eax]
mov esi, dword [ebx]
add eax, edi
mov dword [ebp - 0x2c], eax
cmp esi, dword [ebx + 4]
je 0x4bb1da
mov ecx, eax
call fcn.0040d260
mov ecx, esi
mov edi, eax
call fcn.0040d260
cmp eax, edi
jne 0x4bb1c2
mov ecx, dword [ebp - 0x2c]
call fcn.00403b40
mov ecx, esi
mov edi, eax
call fcn.00403b40
mov edx, edi
mov ecx, eax
call fcn.00497000
test al, al
je 0x4bb1c2
mov edi, dword [ebp - 0x2c]
add edi, 0x30
mov ecx, edi
call fcn.0040d260
test eax, eax
je 0x4bb154
push str.0.0.0.0
mov ecx, edi
call fcn.00404d10
test al, al
jne 0x4bb154
mov ecx, edi
lea edx, [esi + 0x64]
call fcn.00404970
cmp edx, eax
je 0x4bb154
call fcn.00403fa0
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x4bb148
mov edx, dword [eax]
push dword [eax + 0x10]
lea ecx, [esi + 0x64]
push edx
call fcn.004040c0
or byte [esi + 0x60], 2
lea edi, [esi + 0x30]
mov ecx, edi
call fcn.0040d260
test eax, eax
jne 0x4bb18f
mov ecx, dword [ebp - 0x2c]
add ecx, 0x78
call fcn.00404970
cmp edi, eax
je 0x4bb18f
call fcn.00403fa0
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4bb184
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.004040c0
lea ecx, [esi + 0x48]
call fcn.0040d260
test eax, eax
mov eax, dword [ebp - 0x2c]
jne 0x4bb1c5
cmp dword [eax + 0x2b8], 5
jne 0x4bb1c5
push 0x5d7800
call fcn.00404680
add esp, 4
lea ecx, [esi + 0x48]
push eax
push 0x5d7800
call fcn.004040c0
mov eax, dword [ebp - 0x2c]
add esi, 0x94
cmp esi, dword [ebx + 4]
jne 0x4bb0d0
mov edi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
add eax, 0x3f4
sub ecx, 1
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
jne 0x4bb0c0
mov ecx, dword [ebp - 0x18]
mov eax, 0x92492493
mov edi, dword [ebp - 0x1c]
sub ecx, edi
imul ecx
mov dword [ebp - 0x34], 0
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4bb2ef
xor ecx, ecx
mov dword [ebp - 0x38], ecx
nop
mov esi, dword [ebx]
lea eax, [edi + ecx]
mov dword [ebp - 0x2c], eax
cmp esi, dword [ebx + 4]
je 0x4bb2bf
lea edi, [esi + 0x30]
mov ecx, eax
call fcn.0040d260
mov ecx, esi
mov ebx, eax
call fcn.0040d260
cmp eax, ebx
jne 0x4bb29e
mov ecx, dword [ebp - 0x2c]
call fcn.00403b40
mov ecx, esi
mov ebx, eax
call fcn.00403b40
mov edx, ebx
mov ecx, eax
call fcn.00497000
test al, al
je 0x4bb29e
or byte [edi + 0x30], 4
mov ecx, edi
call fcn.0040d260
test eax, eax
jne 0x4bb29e
mov ecx, dword [ebp - 0x2c]
add ecx, 0x18
call fcn.00404970
cmp edi, eax
je 0x4bb29e
call fcn.00403fa0
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4bb293
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.004040c0
mov ebx, dword [ebp - 0x3c]
add esi, 0x94
mov eax, dword [ebp - 0x2c]
add edi, 0x94
cmp esi, dword [ebx + 4]
jne 0x4bb234
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x34]
add ecx, 0x38
mov dword [ebp - 0x38], ecx
mov eax, 0x92492493
mov ecx, dword [ebp - 0x18]
inc esi
sub ecx, edi
mov dword [ebp - 0x34], esi
imul ecx
add edx, ecx
mov ecx, dword [ebp - 0x38]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4bb220
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
call fcn.004bc090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004bc110
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.0053c439
mov esp, ebp
pop ebp
ret