Function at 0x100577d0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10089a5a
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x100a7078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xdc], edi
mov ecx, dword [ebp + 8]
mov eax, dword [edi]
mov dword [0x100aabcc], eax
test ecx, ecx
je 0x100582af
cmp dword [ebp + 0xc], 1
jne 0x100582af
mov eax, dword [edi + 4]
test eax, eax
je 0x1005783a
cmp ecx, eax
jne 0x1005783a
mov ecx, edi
call fcn.10059670
mov al, 1
jmp 0x100582b1
mov eax, dword [edi + 8]
test eax, eax
je 0x10057853
cmp ecx, eax
jne 0x10057853
mov ecx, edi
call fcn.1005abd0
mov al, 1
jmp 0x100582b1
mov eax, dword [edi + 0x38]
test eax, eax
je 0x10057bcd
cmp ecx, eax
jne 0x10057bcd
mov edx, dword [edi + 0x24]
lea ecx, [ebp - 0x94]
call fcn.10018bb0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x84], 4
jne 0x10057981
mov edx, dword [edi + 0x28]
lea ecx, [ebp - 0x7c]
call fcn.10018bb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
mov edx, dword [edi + 0x2c]
call fcn.10018bb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc4]
mov edx, dword [edi + 0x30]
call fcn.10018bb0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xac]
mov edx, dword [edi + 0x34]
call fcn.10018bb0
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0x94]
lea ecx, [ebp - 0x170]
call fcn.1005d450
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
push ecx
mov edx, eax
lea ecx, [ebp - 0x158]
call fcn.1005d530
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 6
push ecx
mov edx, eax
lea ecx, [ebp - 0x140]
call fcn.1005d530
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0x4c]
call fcn.1005d530
add esp, 0x10
lea ecx, [ebp - 0x140]
call fcn.10002220
lea ecx, [ebp - 0x158]
call fcn.10002220
lea ecx, [ebp - 0x170]
call fcn.10002220
cmp dword [ebp - 0x3c], 0x14
je 0x10057a9c
lea ecx, [ebp - 0x4c]
call fcn.10002220
lea ecx, [ebp - 0xac]
call fcn.10002220
lea ecx, [ebp - 0xc4]
call fcn.10002220
lea ecx, [ebp - 0x64]
call fcn.10002220
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0
call fcn.10002220
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, eax
call fcn.10085440
cvtsd2ss xmm0, xmm0
xor ecx, ecx
addss xmm0, dword [0x1009d9ec]
movss dword [edi + 0x1b8], xmm0
movaps xmm0, xmmword [0x1009dc70]
movups xmmword [ebp - 0x44], xmm0
nop
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0xe
jb 0x100579b0
lea eax, [ebp - 0x43]
mov byte [ebp - 0x35], 0
push eax
lea ecx, [ebp - 0x64]
call fcn.10002870
mov byte [ebp - 4], 0xf
xor ecx, ecx
movaps xmm0, xmmword [0x1009e270]
movups xmmword [ebp - 0x128], xmm0
mov dword [ebp - 0xe8], 0x28333430
movaps xmm0, xmmword [0x1009e960]
movups xmmword [ebp - 0x118], xmm0
mov dword [ebp - 0xe4], 0x732e3829
movaps xmm0, xmmword [0x1009e1d0]
movups xmmword [ebp - 0x108], xmm0
mov word [ebp - 0xe0], 0x7c
movaps xmm0, xmmword [0x1009eb70]
movups xmmword [ebp - 0xf8], xmm0
nop dword [eax + eax]
mov al, byte [ebp - 0x128]
xor byte [ebp + ecx - 0x127], al
inc ecx
cmp ecx, 0x48
jb 0x10057a30
lea eax, [ebp - 0x127]
mov byte [ebp - 0xdf], 0
push eax
lea ecx, [ebp - 0x7c]
call fcn.10002870
push 0
push 0
lea edx, [ebp - 0x64]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x7c]
call fcn.10022e30
add esp, 8
lea ecx, [ebp - 0x7c]
call fcn.10002220
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0
call fcn.10002220
mov ecx, edi
call fcn.1005aa90
lea ecx, [ebp - 0x94]
call fcn.10002220
mov al, 1
jmp 0x100582b1
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x2c], xmm0
mov byte [ebp - 0xc5], 0xa1
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x2c], vtable.ByteBuffer.0
mov byte [ebp - 0x28], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x1000
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.1000f360
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov dword [ebp - 0x2c], vtable.Packet.0
cmp eax, 0x989680
ja 0x10057b34
mov ecx, dword [ebp - 0x20]
lea esi, [ecx + 1]
cmp eax, esi
jae 0x10057b28
push esi
lea ecx, [ebp - 0x1c]
call fcn.1000f2a0
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov al, byte [ebp - 0xc5]
mov byte [edx + ecx], al
inc dword [ebp - 0x20]
push 3
push 0
push 0xa6
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
call fcn.1001e9d0
mov ecx, eax
call fcn.1001e9d0
mov ecx, eax
call fcn.1001e9d0
cmp dword [ebp - 0x38], 0x10
lea ecx, [ebp - 0x4c]
cmovae ecx, dword [ebp - 0x4c]
push ecx
mov ecx, eax
call fcn.1001eac0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub edx, ecx
call fcn.10019520
mov ecx, edi
call fcn.1005aa90
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x2c], vtable.ByteBuffer.0
call fcn.1000f460
lea ecx, [ebp - 0x4c]
call fcn.10002220
lea ecx, [ebp - 0xac]
call fcn.10002220
lea ecx, [ebp - 0xc4]
call fcn.10002220
lea ecx, [ebp - 0x64]
call fcn.10002220
lea ecx, [ebp - 0x7c]
call fcn.10002220
lea ecx, [ebp - 0x94]
call fcn.10002220
mov al, 1
jmp 0x100582b1
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x10057be6
cmp ecx, eax
jne 0x10057be6
mov ecx, edi
call fcn.1005aa90
mov al, 1
jmp 0x100582b1
mov eax, dword [edi + 0x54]
test eax, eax
je 0x10057cfb
cmp ecx, eax
jne 0x10057cfb
cmp dword [edi + 0x5c], 0
jbe 0x100582ab
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x2c], xmm0
mov byte [ebp - 0xc5], 0xa1
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x2c], vtable.ByteBuffer.0
mov byte [ebp - 0x28], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x1000
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0x11
call fcn.1000f360
mov dword [ebp - 4], 0x12
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov dword [ebp - 0x2c], vtable.Packet.0
cmp eax, 0x989680
ja 0x10057ca1
mov ecx, dword [ebp - 0x20]
lea esi, [ecx + 1]
cmp eax, esi
jae 0x10057c95
push esi
lea ecx, [ebp - 0x1c]
call fcn.1000f2a0
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov al, byte [ebp - 0xc5]
mov byte [edx + ecx], al
inc dword [ebp - 0x20]
mov dword [ebp - 4], 0x13
lea ecx, [ebp - 0x2c]
push dword [edi + 0x5c]
push 2
push 0xa
push 0xa6
call fcn.1001e9d0
mov ecx, eax
call fcn.1001e9d0
mov ecx, eax
call fcn.1001e9d0
mov ecx, eax
call fcn.1001e980
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub edx, ecx
call fcn.10019520
mov ecx, edi
call fcn.1005ae00
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x2c], vtable.ByteBuffer.0
call fcn.1000f460
mov al, 1
jmp 0x100582b1
mov eax, dword [edi + 0x58]
test eax, eax
je 0x10057d14
cmp ecx, eax
jne 0x10057d14
mov ecx, edi
call fcn.1005ae00
mov al, 1
jmp 0x100582b1
mov eax, dword [edi + 0x80]
test eax, eax
je 0x10057d30
cmp ecx, eax
jne 0x10057d30
mov ecx, edi
call fcn.1005bca0
mov al, 1
jmp 0x100582b1
mov eax, dword [edi + 0x84]
test eax, eax
je 0x10057d4c
cmp ecx, eax
jne 0x10057d4c
mov ecx, edi
call fcn.1005b8b0
mov al, 1
jmp 0x100582b1
mov eax, dword [edi + 0x8c]
test eax, eax
je 0x10057d6f
cmp ecx, eax
jne 0x10057d6f
mov edx, dword [edi + 0x88]
sub esp, 0x18
mov ecx, esp
call fcn.10018bb0
jmp 0x10057dfd
mov eax, dword [edi + 0x194]
test eax, eax
je 0x10057d8b
cmp ecx, eax
jne 0x10057d8b
mov ecx, edi
call fcn.1005b990
mov al, 1
jmp 0x100582b1
mov eax, dword [edi + 0x198]
test eax, eax
je 0x10057da7
cmp ecx, eax
jne 0x10057da7
mov ecx, edi
call fcn.1005c490
mov al, 1
jmp 0x100582b1
mov eax, dword [edi + 0x1a4]
test eax, eax
je 0x10057dca
cmp ecx, eax
jne 0x10057dca
mov eax, dword [edi + 0x1a8]
cmp eax, dword [edi + 0x1ac]
jae 0x100582ab
inc eax
jmp 0x10057de8
mov eax, dword [edi + 0x19c]
test eax, eax
je 0x10057e19
cmp ecx, eax
jne 0x10057e19
mov eax, dword [edi + 0x1a8]
cmp eax, 1
jbe 0x100582ab
dec eax
sub esp, 0x18
mov dword [edi + 0x1a8], eax
mov ecx, esp
push 0x10097d58
call fcn.10002870
movzx eax, byte [edi + 0x1b0]
mov ecx, edi
push eax
push dword [edi + 0x1a8]
call fcn.10059bd0
mov al, 1
jmp 0x100582b1
lea esi, [edi + 0x90]
xor cl, cl
mov eax, esi
mov byte [ebp - 0xc5], cl
mov dword [ebp - 0xcc], eax
nop
mov edx, dword [eax]
test edx, edx
je 0x10057eb2
cmp dword [ebp + 8], edx
jne 0x10057eb2
mov edi, 6
mov ecx, dword [esi]
mov dl, 2
call fcn.100189e0
lea esi, [esi + 4]
sub edi, 1
jne 0x10057e40
mov ecx, dword [ebp - 0xcc]
mov dl, 3
mov ecx, dword [ecx]
call fcn.100189e0
mov edi, dword [ebp - 0xdc]
sub esp, 0x18
mov al, byte [ebp - 0xc5]
mov ecx, esp
push 0x10097d58
mov dword [edi + 0x1a8], 1
mov byte [edi + 0x1b0], al
call fcn.10002870
movzx eax, byte [edi + 0x1b0]
mov ecx, edi
push eax
push dword [edi + 0x1a8]
call fcn.10059bd0
mov eax, dword [ebp - 0xcc]
lea esi, [edi + 0x90]
mov cl, byte [ebp - 0xc5]
inc cl
add eax, 4
mov byte [ebp - 0xc5], cl
mov dword [ebp - 0xcc], eax
cmp cl, 6
jb 0x10057e30
mov byte [ebp - 0xcc], 0
call fcn.100151c0
mov ecx, dword [edi + 0x18]
mov esi, eax
mov dword [ebp - 0xd0], edx
call fcn.10018a40
test al, al
je 0x10057f18
push dword [ebp - 0xd0]
mov ecx, dword [edi + 0x18]
mov edx, esi
call fcn.10018840
mov ecx, dword [ebp - 0xcc]
add esp, 4
test al, al
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 0xcc], ecx
mov ecx, dword [edi + 0x1c]
call fcn.10018a40
test al, al
je 0x10057f50
push dword [ebp - 0xd0]
mov ecx, dword [edi + 0x1c]
mov edx, esi
call fcn.10018840
mov ecx, dword [ebp - 0xcc]
add esp, 4
test al, al
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov byte [ebp - 0xcc], cl
mov ecx, dword [edi + 0x20]
call fcn.10018a40
test al, al
je 0x10057f77
push dword [ebp - 0xd0]
mov ecx, dword [edi + 0x20]
mov edx, esi
call fcn.10018840
add esp, 4
test al, al
jne 0x100582ab
mov ecx, dword [ebp - 0xcc]
test cl, cl
jne 0x100582ab
mov ecx, dword [edi + 0xec]
mov eax, 0x92492493
sub ecx, dword [edi + 0xe8]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100582ab
xor ecx, ecx
mov eax, 0x92492493
mov dword [ebp - 0xd8], ecx
mov ecx, dword [edi + 0xec]
sub ecx, dword [edi + 0xe8]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100582ab
xor esi, esi
mov dword [ebp - 0xd0], esi
nop
mov eax, dword [edi + 0xe8]
mov ecx, dword [ebp + 8]
cmp dword [eax + esi + 0xc], 0
je 0x100580fa
cmp ecx, dword [eax + esi + 0xc]
jne 0x100580fa
mov eax, dword [esi + eax + 0x1c]
xor ecx, ecx
mov dword [edi + 0x5c], eax
mov eax, dword [edi + 0xe8]
mov dword [ebp - 0xcc], ecx
mov eax, dword [eax + esi + 0x20]
mov dword [ebp - 0xd4], eax
mov dword [edi + 0x60], eax
mov eax, dword [edi + 0xf8]
sub eax, dword [edi + 0xf4]
sar eax, 6
test eax, eax
je 0x100580f0
xor edx, edx
nop dword [eax]
mov eax, dword [edi + 0xf4]
mov esi, dword [edi + 0x5c]
cmp dword [eax + edx + 0x18], esi
mov esi, dword [ebp - 0xd0]
jne 0x10058066
mov ecx, eax
mov eax, dword [edi + 0x60]
cmp eax, dword [edx + ecx + 0x1c]
je 0x10058085
mov ecx, dword [ebp - 0xcc]
mov eax, dword [edi + 0xf8]
inc ecx
sub eax, dword [edi + 0xf4]
add edx, 0x40
sar eax, 6
mov dword [ebp - 0xcc], ecx
cmp ecx, eax
jb 0x10058040
jmp 0x100580f0
mov eax, dword [ebp - 0xd4]
dec eax
cmp eax, 0x5f5e0fe
ja 0x100580c0
mov esi, dword [ebp - 0xcc]
add ecx, 0x34
shl esi, 6
add ecx, esi
push ecx
lea ecx, [edi + 0x70]
call fcn.1005e570
mov edx, dword [edi + 0xf4]
mov ecx, dword [edi + 0x40]
add edx, esi
call fcn.10019110
mov esi, dword [ebp - 0xd0]
mov eax, dword [edi + 0xf4]
mov ecx, dword [ebp - 0xcc]
shl ecx, 6
mov eax, dword [eax + ecx + 0x20]
mov dword [edi + 0x64], eax
mov eax, dword [edi + 0xf4]
mov eax, dword [eax + ecx + 0x24]
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0xf4]
mov eax, dword [ecx + eax + 0x28]
mov dword [edi + 0x6c], eax
mov ecx, edi
call fcn.1005b0e0
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0xe8]
cmp dword [eax + esi + 0x10], 0
je 0x10058271
cmp ecx, dword [eax + esi + 0x10]
jne 0x10058271
mov eax, dword [edi + 0xf8]
xor ecx, ecx
sub eax, dword [edi + 0xf4]
sar eax, 6
mov dword [ebp - 0xd0], ecx
test eax, eax
je 0x10058271
xor edx, edx
nop word [eax + eax]
mov eax, dword [edi + 0xe8]
cmp dword [esi + eax + 0x20], 0
jbe 0x10058157
cmp dword [eax + esi + 0x20], 0x5f5e100
jb 0x100581b5
mov eax, dword [edi + 0xf4]
mov ecx, dword [edi + 0xe8]
mov eax, dword [edx + eax + 0x18]
cmp eax, dword [esi + ecx + 0x1c]
mov ecx, dword [ebp - 0xd0]
jne 0x10058193
mov eax, dword [edi + 0xf4]
mov edi, dword [edi + 0xe8]
mov eax, dword [edx + eax + 0x1c]
cmp eax, dword [esi + edi + 0x20]
mov edi, dword [ebp - 0xdc]
je 0x10058251
mov eax, dword [edi + 0xf8]
inc ecx
sub eax, dword [edi + 0xf4]
add edx, 0x40
sar eax, 6
mov dword [ebp - 0xd0], ecx
cmp ecx, eax
jb 0x10058140
jmp 0x10058271
movaps xmm0, xmmword [0x1009da40]
xor ecx, ecx
movups xmmword [ebp - 0x44], xmm0
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0xe
jb 0x100581c2
lea eax, [ebp - 0x43]
mov byte [ebp - 0x35], 0
push eax
lea ecx, [ebp - 0x64]
call fcn.10002870
mov dword [ebp - 4], 0x14
xor ecx, ecx
movaps xmm0, xmmword [0x1009e660]
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x14], 0x171842
movaps xmm0, xmmword [0x1009e440]
movups xmmword [ebp - 0x24], xmm0
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x22
jb 0x10058205
lea eax, [ebp - 0x33]
mov byte [ebp - 0x11], 0
push eax
lea ecx, [ebp - 0x7c]
call fcn.10002870
push 0
push 0
lea edx, [ebp - 0x64]
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x7c]
call fcn.10022e30
add esp, 8
lea ecx, [ebp - 0x7c]
call fcn.10002220
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xffffffff
call fcn.10002220
jmp 0x10058271
mov eax, dword [edi + 0xf4]
shl ecx, 6
push dword [ecx + eax + 0x24]
push dword [ecx + eax + 0x20]
push dword [ecx + eax + 0x1c]
push dword [ecx + eax + 0x18]
mov ecx, edi
call fcn.1005c070
mov ecx, dword [edi + 0xec]
mov eax, 0x92492493
sub ecx, dword [edi + 0xe8]
add esi, 0x38
inc dword [ebp - 0xd8]
imul ecx
mov dword [ebp - 0xd0], esi
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0xd8], eax
jb 0x10057fe0
mov al, 1
jmp 0x100582b1
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10067955
mov esp, ebp
pop ebp
ret 8