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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dee80
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x50e008]
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 - 0x38], edi
cmp byte [edi + 0x3c], 0
jne 0x4975a8
mov byte [edi + 0x3c], 1
mov edx, dword [edi + 4]
push ecx
mov ecx, dword [edi]
call fcn.004982a0
mov eax, dword [edi]
lea ecx, [ebp - 0x70]
add esp, 4
mov dword [edi + 4], eax
movzx eax, byte [edi + 0x3d]
push eax
call fcn.004a8250
mov esi, eax
mov dword [ebp - 4], 0
lea ebx, [edi + 0xc]
mov dword [ebp - 0x30], ebx
cmp ebx, esi
je 0x497130
push dword [ebp - 0x34]
mov ecx, ebx
push dword [esi + 4]
push dword [esi]
call fcn.00498b40
lea eax, [esi + 0xc]
lea ecx, [ebx + 0xc]
cmp ecx, eax
je 0x497147
push dword [ebp - 0x34]
push dword [eax + 4]
push dword [eax]
call fcn.00498950
lea eax, [esi + 0x18]
lea ecx, [ebx + 0x18]
cmp ecx, eax
je 0x49715e
push dword [ebp - 0x34]
push dword [eax + 4]
push dword [eax]
call fcn.00498780
add esi, 0x24
lea ecx, [ebx + 0x24]
cmp ecx, esi
je 0x497175
push dword [ebp - 0x34]
push dword [esi + 4]
push dword [esi]
call fcn.0042e560
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.00403c70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00497ac0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.00497b40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00497bc0
push edi
mov ecx, ebx
call fcn.004aa060
mov eax, dword [edi + 4]
cmp dword [edi], eax
jne 0x4972d8
lea ecx, [ebp - 0x3c]
call fcn.004948d0
mov dword [ebp - 4], 6
mov edx, dword [edi + 4]
push ecx
mov ecx, dword [edi]
call fcn.004982a0
mov eax, dword [edi]
add esp, 4
mov ecx, edi
mov dword [edi + 4], eax
call fcn.004aedb0
mov esi, dword [edi]
cmp esi, dword [edi + 4]
je 0x4972c6
cmp dword [esi + 0x28], 0
je 0x497228
cmp dword [esi + 0x2c], 8
lea eax, [esi + 0x18]
mov edi, eax
jb 0x497205
mov edi, dword [eax]
cmp dword [eax + 0x10], 0xc
jne 0x49727e
mov ecx, str.000000000000
mov edx, 0xc
sub edi, ecx
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x49727e
add ecx, 2
sub edx, 1
jne 0x497217
xor bl, bl
cmp dword [esi + 0x40], 0
je 0x497261
cmp dword [esi + 0x44], 8
lea eax, [esi + 0x30]
mov edi, eax
jb 0x49723d
mov edi, dword [eax]
cmp dword [eax + 0x10], 0xc
jne 0x497282
mov ecx, str.000000000000
mov edx, 0xc
sub edi, ecx
nop
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x497282
add ecx, 2
sub edx, 1
jne 0x497250
xor al, al
test bl, bl
jne 0x497286
test al, al
jne 0x497286
mov edi, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
push esi
push eax
mov ecx, edi
call fcn.004977e0
mov esi, dword [eax]
jmp 0x4972ba
mov bl, 1
jmp 0x49722a
mov al, 1
jmp 0x497263
lea ecx, [esi + 0x18]
call fcn.0047e8a0
lea ecx, [esi + 0x30]
call fcn.0047e8a0
or byte [esi + 0x60], 1
lea eax, [esi + 0x64]
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], 0
jb 0x4972ac
mov eax, dword [eax]
mov edi, dword [ebp - 0x38]
xor ecx, ecx
mov word [eax], cx
add esi, 0x94
cmp esi, dword [edi + 4]
jne 0x4971f2
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004949c0
mov eax, dword [edi + 4]
mov esi, dword [edi]
cmp esi, eax
je 0x49730b
nop
lea eax, [esi + 0x7c]
mov ecx, ebx
push eax
push esi
call fcn.004a9cb0
test al, al
jne 0x497300
push esi
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
call fcn.004977e0
mov esi, dword [eax]
jmp 0x497306
add esi, 0x94
cmp esi, dword [edi + 4]
jne 0x4972e0
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.004a9ac0
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 eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x2c], eax
je 0x4974c1
mov eax, dword [ebp - 0x38]
xor ecx, ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
nop dword [eax]
mov esi, dword [eax]
lea ebx, [edi + ecx]
mov dword [ebp - 0x3c], ebx
cmp esi, dword [eax + 4]
je 0x4974ac
lea edi, [esi + 0x64]
mov eax, dword [edi - 0x54]
cmp eax, dword [ebx + 0x10]
jne 0x49748b
cmp dword [ebx + 0x14], 8
mov edx, ebx
jb 0x4973ca
mov edx, dword [ebx]
cmp dword [edi - 0x50], 8
mov ecx, esi
jb 0x4973d4
mov ecx, dword [esi]
call fcn.0047e540
test al, al
je 0x49748b
cmp dword [ebx + 0x40], 0
je 0x497440
mov eax, dword [ebx + 0x44]
lea edx, [ebx + 0x30]
mov ecx, edx
cmp eax, 8
jb 0x4973f6
mov ecx, dword [edx]
mov ebx, dword [edx + 0x10]
mov dword [ebp - 0x34], ebx
cmp ebx, 7
jne 0x49742c
mov eax, str.0.0.0.0
sub ecx, eax
mov dword [ebp - 0x40], ecx
nop dword [eax + eax]
mov cx, word [ecx + eax]
cmp cx, word [eax]
jne 0x497426
mov ecx, dword [ebp - 0x40]
add eax, 2
sub ebx, 1
jne 0x497410
jmp 0x497440
mov eax, dword [edx + 0x14]
mov ebx, dword [ebp - 0x34]
cmp edi, edx
je 0x497440
cmp eax, 8
jb 0x497437
mov edx, dword [edx]
push ebx
push edx
mov ecx, edi
call fcn.00403d60
or byte [edi - 4], 2
cmp dword [edi - 0x24], 0
mov ebx, dword [ebp - 0x3c]
jne 0x49746d
lea ecx, [ebx + 0x78]
lea eax, [edi - 0x34]
cmp eax, ecx
je 0x49746d
cmp dword [ecx + 0x14], 8
mov eax, ecx
jb 0x497461
mov eax, dword [ecx]
push dword [ecx + 0x10]
lea ecx, [edi - 0x34]
push eax
call fcn.00403d60
cmp dword [edi - 0xc], 0
jne 0x49748b
cmp dword [ebx + 0x2b8], 5
jne 0x49748b
push 1
push 0x4ec508
lea ecx, [edi - 0x1c]
call fcn.00403d60
mov eax, dword [ebp - 0x38]
add esi, 0x94
add edi, 0x94
cmp esi, dword [eax + 4]
jne 0x4973b4
mov edi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
add ecx, 0x3f4
sub edx, 1
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
jne 0x4973a0
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 0x49758d
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
nop
mov eax, dword [ebp - 0x38]
lea edi, [ebx + ecx]
mov esi, dword [eax]
cmp esi, dword [eax + 4]
je 0x49755d
mov ebx, eax
nop
mov eax, dword [esi + 0x10]
cmp eax, dword [edi + 0x10]
jne 0x49754c
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x497512
mov edx, dword [edi]
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x49751c
mov ecx, dword [esi]
call fcn.0047e540
test al, al
je 0x49754c
or byte [esi + 0x60], 4
cmp dword [esi + 0x40], 0
jne 0x49754c
lea eax, [edi + 0x18]
lea ecx, [esi + 0x30]
cmp ecx, eax
je 0x49754c
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x497543
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.00403d60
add esi, 0x94
cmp esi, dword [ebx + 4]
jne 0x497500
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
add ecx, 0x38
mov dword [ebp - 0x2c], 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 - 0x2c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4974f0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
call fcn.00497b40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00497bc0
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.004c4853
mov esp, ebp
pop ebp
ret