Function at 0x100573a9
Capabilities:
Encode data using xor

Disassembly:
push 0xa10
mov eax, 0x100ec62e
call fcn.100e35bc
mov edi, ecx
mov dword [ebp - 0x9b0], edi
lea eax, [ebp - 0x9a4]
push eax
push edi
push dword [edi + 0x876]
call fcn.100649dc
cmp eax, 0xffffffff
jne 0x100573fb
cmp dword [ebp - 0x9a4], 0x2746
jne 0x100573e8
xor eax, eax
jmp 0x100573fb
cmp dword [ebp - 0x9a4], 0
je 0x100573fb
cmp byte [edi + 4], 0
je 0x1005748b
cmp byte [edi + 4], 0
jne 0x1005749a
test eax, eax
jg 0x100573c0
and dword [ebp - 0x990], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x9cc], xmm0
mov ecx, dword [ebp - 0x9c8]
mov edx, dword [ebp - 0x9cc]
mov dword [ebp - 0x99c], ecx
mov dword [ebp - 0x998], edx
mov eax, dword [edi + 0x849]
cmp eax, dword [edi + 0x855]
je 0x10057594
cmp byte [eax + 0x29], 0
je 0x10057594
mov esi, dword [edi + 0x849]
mov eax, dword [esi + 0x2a]
mov dword [edi + 0x849], eax
test esi, esi
je 0x10057594
cmp dword [esi + 0x25], 0
jne 0x10057543
mov eax, edx
or eax, ecx
jne 0x100574a2
call fcn.10050938
mov ecx, edx
mov dword [ebp - 0x998], eax
mov dword [ebp - 0x99c], ecx
jmp 0x100574a8
mov eax, dword [edi]
mov ecx, edi
push 0
push 0
mov byte [edi + 4], 1
call dword [eax + 0x24]
xor al, al
call fcn.100e356b
ret
mov eax, dword [ebp - 0x998]
push ecx
push eax
movzx eax, byte [esi + 0x13]
lea edx, [esi + 0xd]
push 1
push eax
mov eax, dword [edx]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x9a8], edx
mov dword [ecx], eax
mov ax, word [edx + 4]
mov word [ecx + 4], ax
mov ecx, edi
movzx eax, byte [esi + 0xc]
push eax
push dword [esi + 8]
push dword [esi + 4]
push dword [esi]
push dword [esi + 0x21]
call fcn.10056133
test al, al
jne 0x100574f1
push 1
push dword [esi + 0x21]
call fcn.100e14af
pop ecx
pop ecx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x994], eax
test eax, eax
je 0x10057564
mov esi, dword [ebp - 0x9a8]
mov ecx, esi
push 0x100fdd00
call fcn.100517a2
test al, al
je 0x10057564
mov eax, dword [esi]
push 1
push 1
push ecx
push ecx
mov ecx, esp
mov dword [ecx], eax
mov ax, word [esi + 4]
mov word [ecx + 4], ax
mov ecx, edi
call fcn.10054f65
mov ecx, eax
test ecx, ecx
je 0x10057564
mov eax, dword [ebp - 0x994]
mov dword [ecx + 0x7ee], eax
jmp 0x10057564
movzx eax, byte [esi + 0xc]
push eax
mov eax, dword [esi + 0xd]
push 1
push 0
push ecx
push ecx
mov ecx, esp
mov dword [ecx], eax
mov ax, word [esi + 0x11]
mov word [ecx + 4], ax
mov ecx, edi
call fcn.10055e1d
mov eax, dword [edi + 0x851]
inc dword [edi + 0x859]
mov ecx, dword [ebp - 0x99c]
mov edx, dword [ebp - 0x998]
mov byte [eax + 0x29], 0
mov eax, dword [edi + 0x851]
mov eax, dword [eax + 0x2a]
mov dword [edi + 0x851], eax
jmp 0x10057433
lea ecx, [edi + 0x419]
call fcn.10058dd5
mov ecx, eax
mov dword [ebp - 0x9d4], 0xffff
mov dword [ebp - 0x994], ecx
mov esi, ecx
mov dword [ebp - 0x98c], esi
test ecx, ecx
je 0x100576fc
mov eax, dword [ebp - 0x998]
or eax, dword [ebp - 0x99c]
jne 0x100575fa
call fcn.10050938
push 0
mov ecx, eax
mov eax, edx
push 0x3e8
push eax
push ecx
mov dword [ebp - 0x998], ecx
mov dword [ebp - 0x99c], eax
call fcn.100e25f0
mov dword [ebp - 0x990], eax
jmp 0x10057600
mov eax, dword [ebp - 0x990]
cmp dword [esi + 6], eax
jae 0x100576d1
mov al, byte [esi + 0xa]
mov ecx, esi
push 0x100fdd00
mov byte [ebp - 0x981], al
call fcn.10051785
mov cl, al
mov al, byte [ebp - 0x981]
mov byte [ebp - 0x980], cl
cmp al, 6
je 0x10057709
test cl, cl
jne 0x10057709
inc al
xor ecx, ecx
mov byte [esi + 0xa], al
mov eax, dword [ebp - 0x990]
add eax, 0x3e8
mov dword [ebp - 0x9a4], ecx
mov dword [esi + 6], eax
mov byte [ebp - 0x9a0], 0x18
cmp dword [edi + 0x411], ecx
jbe 0x100576b6
mov eax, dword [edi + 0x40d]
mov ecx, dword [eax + ecx*4]
push ecx
push ecx
mov edx, esp
mov eax, dword [ecx]
push 0x18
mov esi, dword [eax + 0x1c]
mov eax, dword [ebp - 0x98c]
mov eax, dword [eax]
mov dword [edx], eax
mov eax, dword [ebp - 0x98c]
mov ax, word [eax + 4]
mov word [edx + 4], ax
lea eax, [ebp - 0x9a0]
push eax
call esi
mov ecx, dword [ebp - 0x9a4]
inc ecx
mov dword [ebp - 0x9a4], ecx
cmp ecx, dword [edi + 0x411]
jb 0x10057666
mov esi, dword [ebp - 0x98c]
movzx eax, word [esi + 4]
push eax
push dword [esi]
lea eax, [ebp - 0x9a0]
push 3
push eax
push dword [edi + 0x876]
call fcn.10064a8b
lea ecx, [edi + 0x419]
call fcn.10058dd5
mov ecx, dword [ebp - 0x994]
mov esi, eax
mov dword [ebp - 0x98c], esi
test esi, esi
jne 0x100575c1
test ecx, ecx
je 0x100576fc
mov dword [edi + 0x419], ecx
xor ecx, ecx
xor eax, eax
cmp cx, word [edi + 7]
jmp 0x10058726
cmp dword [esi + 0xb], 0
je 0x10057728
push dword [esi + 0xb]
call fcn.100e1ca7
and dword [esi + 0xb], 0
mov al, byte [ebp - 0x981]
pop ecx
mov cl, byte [ebp - 0x980]
cmp al, 6
jne 0x1005776b
test cl, cl
jne 0x1005776b
cmp dword [esi + 0x112], 1
jne 0x1005776b
xor ecx, ecx
inc ecx
call fcn.10052722
push eax
mov ecx, dword [eax + 0x10]
mov byte [ecx], 0x1d
mov dword [eax + 0xc], 8
mov ecx, dword [esi]
mov dword [eax + 2], ecx
mov cx, word [esi + 4]
mov word [eax + 6], cx
mov ecx, 0xffff
mov word [eax], cx
mov ecx, edi
call fcn.100565b8
lea ecx, [edi + 0x419]
cmp esi, dword [ebp - 0x994]
jne 0x10057792
call fcn.10058dfe
call fcn.10058dd5
mov ecx, eax
mov dword [ebp - 0x994], ecx
mov esi, ecx
jmp 0x100576e4
or dword [esi], 0xffffffff
mov eax, 0xffff
mov word [esi + 4], ax
jmp 0x100576d7
imul esi, eax, 0x7f2
add esi, dword [edi + 0x334]
mov dword [ebp - 0x9a4], esi
cmp byte [esi], 0
je 0x10058719
mov eax, dword [esi + 1]
mov dword [ebp - 0x97c], eax
mov ax, word [esi + 5]
mov word [ebp - 0x978], ax
mov eax, dword [ebp - 0x998]
or eax, dword [ebp - 0x99c]
jne 0x1005780b
call fcn.10050938
push 0
mov ecx, eax
mov eax, edx
push 0x3e8
push eax
push ecx
mov dword [ebp - 0x998], ecx
mov dword [ebp - 0x99c], eax
call fcn.100e25f0
mov dword [ebp - 0x990], eax
jmp 0x10057811
mov eax, dword [ebp - 0x990]
mov ecx, dword [esi + 0x6b8]
cmp eax, ecx
jbe 0x10057889
sub eax, ecx
cmp eax, 0x1388
jbe 0x10057889
cmp dword [esi + 0x7ee], 8
jne 0x10057889
lea ecx, [esi + 0xd]
call fcn.1005f099
xor edx, edx
cmp dword [eax + 0x60], edx
jne 0x10057889
push dword [ebp - 0x99c]
mov eax, dword [esi + 1]
push dword [ebp - 0x998]
mov byte [ebp - 0x980], 0x17
push edx
push edx
push ecx
push ecx
mov ecx, esp
push edx
push 8
push 3
mov dword [ecx], eax
mov ax, word [esi + 5]
mov word [ecx + 4], ax
lea eax, [ebp - 0x980]
push 8
push eax
mov ecx, edi
call fcn.10056133
mov eax, dword [esi + 0x2e0]
add eax, dword [ebp - 0x990]
mov dword [esi + 0x6b8], eax
lea eax, [edi + 0x40d]
push eax
push dword [ebp - 0x99c]
mov eax, dword [ebp - 0x97c]
lea ecx, [esi + 0xd]
push dword [ebp - 0x998]
push dword [edi + 0x86d]
push ecx
push ecx
mov edx, esp
push dword [edi + 0x876]
mov dword [edx], eax
mov ax, word [ebp - 0x978]
mov word [edx + 4], ax
call fcn.1005d86a
cmp byte [esi + 0x2d8], 0
jne 0x10058688
mov eax, dword [esi + 0x7ee]
cmp eax, 1
je 0x100578e4
cmp eax, 2
jne 0x10057935
and dword [ebp - 0x994], 0
lea ecx, [esi + 0x71]
call fcn.10050be8
test eax, eax
jne 0x10057935
mov eax, dword [ebp - 0x994]
add ecx, 0x10
inc eax
mov dword [ebp - 0x994], eax
cmp eax, 4
jb 0x100578ee
cmp dword [esi + 0x2d], 0
ja 0x10057935
cmp dword [esi + 0x59], 0
jne 0x10057935
lea ecx, [esi + 0x19]
call fcn.10050be8
test eax, eax
jne 0x10057935
cmp dword [esi + 0x11], eax
ja 0x10057935
cmp dword [esi + 0xb5], eax
jbe 0x10058688
mov eax, dword [esi + 0x7ee]
cmp eax, 3
jne 0x1005794a
cmp dword [esi + 0x2d], 0
jbe 0x10058688
mov ecx, eax
cmp eax, 4
je 0x10057960
cmp eax, 5
je 0x10057960
cmp eax, 6
je 0x10057960
cmp eax, 7
jne 0x1005797d
mov edx, dword [esi + 0x7cd]
mov eax, dword [ebp - 0x990]
cmp eax, edx
jbe 0x10057983
sub eax, edx
cmp eax, 0x2710
ja 0x10058688
mov eax, dword [ebp - 0x990]
cmp byte [esi + 0x2d9], 0
je 0x100579cb
xor ecx, ecx
inc ecx
call fcn.10052722
push eax
mov ecx, dword [eax + 0x10]
mov dword [eax + 0xc], 8
mov byte [ecx], 0x26
mov ecx, dword [ebp - 0x97c]
mov dword [eax + 2], ecx
mov cx, word [ebp - 0x978]
mov word [eax + 6], cx
mov ecx, dword [ebp - 0x9a0]
mov word [eax], cx
mov ecx, edi
call fcn.100565b8
jmp 0x10058719
cmp ecx, 8
jne 0x10057a17
cmp eax, dword [esi + 0x6b4]
jbe 0x10057a17
cmp byte [edi + 6], 0
jne 0x100579ec
mov ecx, 0xffff
cmp word [esi + 0x6b2], cx
jne 0x10057a17
push 1
push ecx
push ecx
mov ecx, esp
add eax, 0x1388
mov dword [esi + 0x6b4], eax
mov eax, dword [ebp - 0x97c]
mov dword [ecx], eax
mov ax, word [ebp - 0x978]
mov word [ecx + 4], ax
mov ecx, edi
call fcn.10055d32
lea eax, [ebp - 0x988]
lea ecx, [esi + 0xd]
push eax
call fcn.1005d69f
mov ecx, eax
mov dword [ebp - 0x98c], ecx
test ecx, ecx
jle 0x10058719
lea eax, [esi + 0xd]
mov dword [ebp - 0x9c8], eax
mov edx, dword [ebp - 0x988]
lea eax, [ecx + 7]
sar eax, 3
cmp dword [edi + 0x831], 0
mov dword [ebp - 0x9a8], eax
je 0x10057b92
push 0x240
lea ecx, [ebp - 0x1e8]
call fcn.1004eb8e
xor eax, eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x1e8]
push dword [ebp - 0x9a8]
mov dword [ebp - 0x1e8], eax
push dword [ebp - 0x988]
mov dword [ebp - 0x1e0], eax
call fcn.1004ee48
mov edx, dword [ebp - 0x1e8]
mov dword [ebp - 0x994], edx
lea ecx, [edx + 7]
sar ecx, 3
add dword [edi + 0x83d], ecx
test edx, edx
je 0x10057b6d
push ecx
call fcn.100e1c9e
mov ecx, dword [ebp - 0x1e8]
mov esi, eax
add ecx, 7
sar ecx, 3
push ecx
push dword [ebp - 0x1dc]
push esi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi + 0x831]
lea eax, [ebp - 0x1e8]
and dword [ebp - 0x1e8], 0
add esp, 0x10
and dword [ebp - 0x1e0], 0
push eax
push dword [ebp - 0x994]
push esi
call fcn.1004fa54
mov ecx, dword [ebp - 0x1e8]
push esi
lea ecx, [ecx + 7]
sar ecx, 3
add dword [edi + 0x845], ecx
call fcn.100e1ca7
mov esi, dword [ebp - 0x1e8]
pop ecx
lea esi, [esi + 7]
sar esi, 3
mov dword [ebp - 0x994], esi
cmp esi, dword [ebp - 0x9a8]
jle 0x10057b4f
push dword [ebp - 0x988]
call fcn.100e1ca7
push esi
call fcn.100e1c9e
pop ecx
pop ecx
mov dword [ebp - 0x988], eax
jmp 0x10057b55
mov eax, dword [ebp - 0x988]
push esi
push dword [ebp - 0x1dc]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [ebp - 0x9a4]
add esp, 0xc
jmp 0x10057b75
xor ecx, ecx
mov dword [ebp - 0x994], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e8]
call fcn.1004ec34
mov edx, dword [ebp - 0x988]
mov eax, dword [ebp - 0x994]
jmp 0x10057b98
mov dword [ebp - 0x994], eax
cmp dword [esi + 0x7ee], 6
jne 0x10057c33
cmp byte [edx], 0xb
jne 0x10057bd0
push eax
mov eax, dword [ebp - 0x97c]
push edx
push ecx
push ecx
mov ecx, esp
push esi
mov dword [ecx], eax
mov ax, word [ebp - 0x978]
mov word [ecx + 4], ax
mov ecx, edi
call fcn.1005501d
jmp 0x100585bb
mov eax, dword [ebp - 0x97c]
push 0
push 1
push 0
push ecx
push ecx
mov ecx, esp
mov dword [ecx], eax
mov ax, word [ebp - 0x978]
mov word [ecx + 4], ax
mov ecx, edi
call fcn.10055e1d
mov eax, dword [edi]
mov esi, dword [esi + 0x2e0]
push ecx
push ecx
mov edi, dword [eax + 0x64]
mov ecx, esp
mov edx, dword [eax + 0xb8]
mov eax, dword [ebp - 0x97c]
mov dword [ecx], eax
mov ax, word [ebp - 0x978]
mov word [ecx + 4], ax
mov ecx, dword [ebp - 0x9b0]
call edx
mov ecx, dword [ebp - 0x9b0]
push esi
push eax
call edi
jmp 0x100585bb
mov cl, byte [edx]
cmp cl, 0xb
jne 0x10057c73
cmp dword [esi + 0x7ee], 8
je 0x10058326
push eax
mov eax, dword [ebp - 0x97c]
push edx
push ecx
push ecx
mov ecx, esp
push esi
mov dword [ecx], eax
mov ax, word [ebp - 0x978]
mov word [ecx + 4], ax
mov ecx, edi
call fcn.1005501d
mov edx, dword [ebp - 0x988]
jmp 0x10058326
cmp cl, 0x1e
jne 0x10057da6
cmp eax, 7
jne 0x10058044
cmp dword [esi + 0x7ee], 5
je 0x10057cb0
cmp dword [esi + 0x7ee], eax
je 0x10057cb0
lea eax, [edi + 0x22d]
push eax
lea ecx, [ebp - 0x97c]
call fcn.10051785
test al, al
je 0x100585bb
push 1
push ecx
push ecx
mov ecx, esp
mov dword [esi + 0x7ee], 8
mov eax, dword [ebp - 0x97c]
mov dword [ecx], eax
mov ax, word [ebp - 0x978]
mov word [ecx + 4], ax
mov ecx, edi
call fcn.10055d32
mov eax, dword [ebp - 0x97c]
push 1
push ecx
push ecx
mov ecx, esp
mov dword [ecx], eax
mov ax, word [ebp - 0x978]
mov word [ecx + 4], ax
mov ecx, edi
call fcn.10055c23
push 0
push 7
push dword [ebp - 0x988]
lea ecx, [ebp - 0x74c]
call fcn.1004ebcc
xor eax, eax
inc eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x74c]
add dword [ebp - 0x744], 8
push eax
push 0x20
lea eax, [ebp - 0x9bc]
push eax
call fcn.1004efdf
push 1
push 0x10
lea eax, [ebp - 0x9b8]
push eax
lea ecx, [ebp - 0x74c]
call fcn.1004efdf
mov eax, dword [ebp - 0x9bc]
mov edx, dword [ebp - 0x988]
mov dword [esi + 7], eax
mov ax, word [ebp - 0x9b8]
push 7
pop ecx
mov word [esi + 0xb], ax
call fcn.1005273f
mov ecx, dword [ebp - 0x98c]
push eax
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x97c]
mov dword [eax + 2], ecx
mov cx, word [ebp - 0x978]
mov word [eax + 6], cx
mov ecx, dword [ebp - 0x9a0]
mov word [eax], cx
mov ecx, edi
call fcn.100565b8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74c]
jmp 0x1005810c
cmp cl, 9
jne 0x10057f1c
cmp eax, 9
jne 0x10058044
push 0
push eax
push edx
lea ecx, [ebp - 0x638]
call fcn.1004ebcc
mov dword [ebp - 4], 2
lea eax, [ebp - 0x9b4]
add dword [ebp - 0x630], 8
lea ecx, [ebp - 0x638]
push 1
push 0x20
push eax
call fcn.1004efdf
push 1
push 0x20
lea eax, [ebp - 0x9d8]
push eax
lea ecx, [ebp - 0x638]
call fcn.1004efdf
call fcn.10050938
push 0
mov ecx, eax
mov eax, edx
push 0x3e8
push eax
push ecx
mov dword [ebp - 0x998], ecx
mov dword [ebp - 0x99c], eax
call fcn.100e25f0
mov ecx, dword [ebp - 0x9b4]
mov dword [ebp - 0x990], eax
cmp eax, ecx
jbe 0x10057e3a
mov edx, eax
sub edx, ecx
jmp 0x10057e3c
xor edx, edx
mov eax, dword [esi + 0x6ae]
add eax, 0x118
imul eax, eax, 6
mov dword [ebp - 0x9a8], eax
movzx eax, word [eax + esi]
test eax, eax
je 0x10057e6f
imul eax, eax, 3
cmp edx, eax
jae 0x10057f01
cmp edx, 0x4b0
jae 0x10057f01
mov ecx, dword [ebp - 0x9a8]
movzx eax, dx
mov edi, eax
mov word [ecx + esi], ax
mov eax, dword [ebp - 0x990]
add eax, dword [ebp - 0x9b4]
mov ecx, dword [ebp - 0x9d8]
shr eax, 1
sub ecx, eax
imul eax, dword [esi + 0x6ae], 6
mov dword [eax + esi + 0x692], ecx
movzx eax, word [esi + 0x6b2]
mov ecx, eax
cmp ax, word [ebp - 0x9d4]
je 0x10057eb8
cmp ecx, edx
jle 0x10057ebf
mov word [esi + 0x6b2], di
cmp edx, 0x2710
jb 0x10057edf
push 0x11e6
push str.C:Usersmegaw_source_reposTEProjectd3d9FullRakNetRakPeer.cpp
push str.ping___10000
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
push edi
lea ecx, [esi + 0xd]
call fcn.1005f007
mov eax, dword [esi + 0x6ae]
inc eax
mov dword [esi + 0x6ae], eax
cmp eax, 5
jne 0x10057f01
and dword [esi + 0x6ae], 0
push dword [ebp - 0x988]
call fcn.100e1ca7
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x638]
jmp 0x1005810c
cmp cl, 6
jne 0x10058030
cmp eax, 5
jne 0x10058044
push 0
push eax
push edx
lea ecx, [ebp - 0x974]
call fcn.1004ebcc
mov dword [ebp - 4], 3
lea eax, [ebp - 0x9dc]
add dword [ebp - 0x96c], 8
lea ecx, [ebp - 0x974]
push 1
push 0x20
push eax
call fcn.1004efdf
lea ecx, [ebp - 0x2fc]
call fcn.1004eb73
mov byte [ebp - 4], 4
lea eax, [ebp - 0x980]
push 1
push 8
push eax
mov byte [ebp - 0x980], 9
call fcn.1004eece
call fcn.100508e7
mov esi, eax
lea ecx, [ebp - 0x2fc]
mov eax, dword [ebp - 0x9dc]
push 1
mov dword [ebp - 0x98c], eax
lea eax, [ebp - 0x98c]
push 0x20
push eax
mov dword [ebp - 0x990], esi
call fcn.1004eece
push 1
push 0x20
lea eax, [ebp - 0x98c]
mov dword [ebp - 0x98c], esi
push eax
lea ecx, [ebp - 0x2fc]
call fcn.1004eece
mov eax, dword [ebp - 0x97c]
xor edx, edx
push edx
push esi
push edx
push edx
push ecx
push ecx
mov ecx, esp
push edx
push 6
push edx
push dword [ebp - 0x2fc]
mov dword [ecx], eax
mov ax, word [ebp - 0x978]
push dword [ebp - 0x2f0]
mov word [ecx + 4], ax
mov ecx, edi
call fcn.10056133
push dword [ebp - 0x988]
call fcn.100e1ca7
pop ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2fc]
call fcn.1004ec34
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x974]
jmp 0x1005810c
cmp cl, 0x20
jne 0x10058044
mov dword [esi + 0x7ee], 3
jmp 0x10058326
cmp cl, 0x11
jne 0x10058116
push 0
push eax
push edx
lea ecx, [ebp - 0x860]
call fcn.1004ebcc
mov dword [ebp - 4], 5
lea eax, [ebp - 0x9a9]
add dword [ebp - 0x858], 8
push ecx
push 8
push eax
lea ecx, [ebp - 0x860]
call fcn.1004f099
lea edi, [esi + 0x7e2]
movzx esi, byte [ebp - 0x9a9]
push esi
mov ecx, edi
call fcn.10062ba8
movzx edx, al
cmp edx, esi
je 0x100580f6
cmp al, 0xff
je 0x100580b2
mov eax, dword [edi]
push 9
mov ecx, dword [eax + edx*4]
and dword [eax + edx*4], 0
push ecx
call fcn.100e14af
pop ecx
pop ecx
push 9
call fcn.100e147f
pop ecx
mov dword [ebp - 0x9a8], eax
and dword [eax + 4], 0
mov dword [eax], esi
cmp esi, dword [edi + 4]
jae 0x100580ec
mov ecx, dword [edi]
cmp dword [ecx + esi*4], 0
je 0x100580df
push 9
push dword [ecx + esi*4]
call fcn.100e14af
pop ecx
pop ecx
mov eax, dword [edi]
mov ecx, dword [ebp - 0x9a8]
mov dword [eax + esi*4], ecx
jmp 0x100580f6
push esi
push ecx
push eax
mov ecx, edi
call fcn.10062da3
push dword [ebp - 0x988]
call fcn.100e1ca7
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x860]
call fcn.1004ec34
jmp 0x1005860d
cmp cl, 0xa
jne 0x10058140
mov eax, dword [ebp - 0x97c]
push 1
push ecx
push ecx
mov ecx, esp
mov dword [ecx], eax
mov ax, word [ebp - 0x978]
mov word [ecx + 4], ax
mov ecx, edi
call fcn.10055c23
jmp 0x100585bb
cmp cl, 0x29
jne 0x1005816e
lea ecx, [esi + 0x6bc]
and dword [ecx], 0
and dword [ecx + 8], 0
dec eax
push eax
lea eax, [edx + 1]
push eax
call fcn.1004ec89
mov edx, dword [ebp - 0x988]
mov ecx, dword [ebp - 0x994]
jmp 0x100585da
cmp cl, 0xf
jne 0x1005818a
cmp eax, 0x39
jne 0x100585c9
push edx
push esi
mov ecx, edi
call fcn.1005595c
jmp 0x100585bb
cmp cl, 0x10
jne 0x10058318
cmp eax, 0x35
jne 0x100585c9
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0xd4], vtable.CSHA1.0
call fcn.10062fb5
mov dword [ebp - 4], 6
call fcn.10062fb5
push 4
lea eax, [ebp - 0x97c]
push eax
call fcn.1006462a
push 2
lea eax, [ebp - 0x978]
push eax
lea ecx, [ebp - 0xd4]
call fcn.1006462a
push 0x14
lea eax, [edi + 0x9f1]
push eax
lea ecx, [ebp - 0xd4]
call fcn.1006462a
lea ecx, [ebp - 0xd4]
call fcn.100646d0
mov esi, dword [ebp - 0x988]
lea edx, [ebp - 0x74]
xor ecx, ecx
mov eax, dword [edx + ecx*4]
cmp eax, dword [esi + ecx*4 + 1]
jne 0x1005821a
inc ecx
cmp ecx, 5
jne 0x10058209
jmp 0x1005827e
lea ecx, [ebp - 0xd4]
call fcn.10062fb5
push 4
lea eax, [ebp - 0x97c]
push eax
call fcn.1006462a
push 2
lea eax, [ebp - 0x978]
push eax
lea ecx, [ebp - 0xd4]
call fcn.1006462a
push 0x14
lea eax, [edi + 0xa05]
push eax
lea ecx, [ebp - 0xd4]
call fcn.1006462a
lea ecx, [ebp - 0xd4]
call fcn.100646d0
lea edx, [ebp - 0x74]
xor ecx, ecx
mov eax, dword [edx + ecx*4]
cmp eax, dword [esi + ecx*4 + 1]
jne 0x100582fe
inc ecx
cmp ecx, 5
jne 0x1005826b
push 8
add esi, 0x15
lea edi, [ebp - 0x9fc]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x9b0]
cmp byte [edi + 0x916], 0
je 0x100582ce
sub esp, 0x10
lea eax, [edi + 0x9b7]
lea edx, [ebp - 0x9fc]
lea ecx, [ebp - 0xa1c]
push eax
lea eax, [edi + 0x987]
push eax
lea eax, [edi + 0x957]
push eax
lea eax, [edi + 0x917]
push eax
call fcn.1005943c
add esp, 0x20
mov esi, dword [ebp - 0x988]
xor ecx, ecx
mov al, byte [ebp + ecx - 0xa1c]
xor al, byte [ecx + esi + 1]
mov byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 0x10
jl 0x100582d6
push 1
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x9a4]
call fcn.100550e4
push esi
call fcn.100e1ca7
pop ecx
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0xd4], vtable.CSHA1.0
jmp 0x1005860d
cmp cl, 0x17
jne 0x1005832c
cmp eax, 1
jne 0x100585c9
push edx
jmp 0x100585c1
cmp cl, 0x22
jne 0x100585c9
cmp eax, 0xd
jne 0x100585c9
mov eax, dword [esi + 0x7ee]
cmp eax, 5
je 0x10058415
cmp eax, 4
je 0x10058415
cmp byte [edi + 0xa19], 0
jne 0x10058415
xor cl, cl
mov byte [ebp - 0x981], 0
push 0
test cl, cl
je 0x1005859b
push 0xd
push edx
lea ecx, [ebp - 0x410]
call fcn.1004ebcc
mov dword [ebp - 4], 7
lea eax, [ebp - 0x9c4]
add dword [ebp - 0x408], 8
lea ecx, [ebp - 0x410]
push 1
push 0x20
push eax
call fcn.1004efdf
push 1
push 0x10
lea eax, [ebp - 0x9c0]
push eax
lea ecx, [ebp - 0x410]
call fcn.1004efdf
push 1
push 0x10
lea eax, [ebp - 0x9d0]
push eax
lea ecx, [ebp - 0x410]
call fcn.1004efdf
cmp byte [ebp - 0x981], 0
mov eax, dword [ebp - 0x9c4]
mov dword [esi + 7], eax
mov ax, word [ebp - 0x9c0]
mov word [esi + 0xb], ax
mov dword [esi + 0x7ee], 8
jne 0x10058432
cmp byte [esi + 0x7e1], 0
je 0x1005842b
lea eax, [esi + 0x7d1]
push eax
lea ecx, [esi + 0xd]
call fcn.1005c9d8
jmp 0x10058432
mov cl, 1
cmp eax, 5
jne 0x10058365
mov byte [ebp - 0x981], cl
jmp 0x1005836c
mov byte [esi + 0x651], 0
mov edx, dword [ebp - 0x988]
push 0xd
pop ecx
call fcn.1005273f
mov esi, eax
push 1
mov dword [esi + 0xc], 0x68
mov ecx, dword [ebp - 0x97c]
mov dword [esi + 2], ecx
mov cx, word [ebp - 0x978]
push ecx
mov word [esi + 6], cx
mov eax, dword [ebp - 0x97c]
push ecx
mov ecx, esp
mov dword [ecx], eax
mov ax, word [ebp - 0x978]
mov word [ecx + 4], ax
mov ecx, edi
call fcn.10054d84
push esi
mov ecx, edi
mov word [esi], ax
call fcn.100565b8
push 7
lea ecx, [ebp - 0x524]
call fcn.1004eb8e
mov byte [ebp - 4], 8
lea eax, [ebp - 0x980]
push 1
push 8
push eax
lea ecx, [ebp - 0x524]
mov byte [ebp - 0x980], 0x1e
call fcn.1004eece
mov eax, dword [ebp - 0x97c]
lea ecx, [ebp - 0x524]
push 1
mov dword [ebp - 0x98c], eax
lea eax, [ebp - 0x98c]
push 0x20
push eax
call fcn.1004eece
movzx eax, word [ebp - 0x978]
lea ecx, [ebp - 0x524]
push 1
mov dword [ebp - 0x98c], eax
lea eax, [ebp - 0x98c]
push 0x10
push eax
call fcn.1004eece
call fcn.100508e7
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x97c]
push edx
push edx
push ecx
push ecx
mov ecx, esp
push edx
push 8
push edx
push dword [ebp - 0x524]
mov dword [ecx], eax
mov ax, word [ebp - 0x978]
push dword [ebp - 0x518]
mov word [ecx + 4], ax
mov ecx, edi
call fcn.10056133
cmp byte [ebp - 0x981], 0
jne 0x1005857d
mov eax, dword [ebp - 0x97c]
push 1
push ecx
push ecx
mov ecx, esp
mov dword [ecx], eax
mov ax, word [ebp - 0x978]
mov word [ecx + 4], ax
mov ecx, edi
call fcn.10055d32
mov eax, dword [ebp - 0x97c]
push 1
push ecx
push ecx
mov ecx, esp
mov dword [ecx], eax
mov ax, word [ebp - 0x978]
mov word [ecx + 4], ax
mov ecx, edi
call fcn.10055c23
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x524]
call fcn.1004ec34
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x410]
jmp 0x1005810c
mov eax, dword [ebp - 0x97c]
push 1
push ecx
push ecx
mov ecx, esp
mov dword [ecx], eax
mov ax, word [ebp - 0x978]
mov word [ecx + 4], ax
mov ecx, edi
call fcn.1005521d
push dword [ebp - 0x988]
call fcn.100e1ca7
pop ecx
jmp 0x1005860d
cmp eax, 2
jbe 0x100585d3
cmp cl, 0xc
je 0x100585d8
cmp cl, 0x14
jb 0x1005860d
mov ecx, eax
call fcn.1005273f
mov ecx, dword [ebp - 0x98c]
push eax
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x97c]
mov dword [eax + 2], ecx
mov cx, word [ebp - 0x978]
mov word [eax + 6], cx
mov ecx, dword [ebp - 0x9a0]
mov word [eax], cx
mov ecx, edi
call fcn.100565b8
mov eax, dword [ebp - 0x990]
mov ecx, dword [ebp - 0x9c8]
mov dword [ebp - 0x990], eax
mov eax, dword [ebp - 0x998]
mov dword [ebp - 0x998], eax
mov eax, dword [ebp - 0x99c]
mov dword [ebp - 0x99c], eax
lea eax, [ebp - 0x988]
push eax
call fcn.1005d69f
mov edi, dword [ebp - 0x9b0]
mov ecx, eax
mov esi, dword [ebp - 0x9a4]
mov dword [ebp - 0x98c], eax
test ecx, ecx
jg 0x10057a3f
mov eax, dword [ebp - 0x998]
mov dword [ebp - 0x998], eax
mov eax, dword [ebp - 0x99c]
mov dword [ebp - 0x99c], eax
mov eax, dword [ebp - 0x990]
mov dword [ebp - 0x990], eax
jmp 0x10058719
mov eax, dword [esi + 0x7ee]
cmp eax, 8
je 0x100586a2
cmp eax, 4
je 0x100586a2
cmp eax, 1
je 0x100586a2
cmp eax, 3
jne 0x100586f5
xor ecx, ecx
inc ecx
call fcn.10052722
mov edx, eax
mov eax, dword [esi + 0x7ee]
mov ecx, dword [edx + 0x10]
cmp eax, 4
jne 0x100586bf
mov byte [ecx], 0x1d
jmp 0x100586c9
cmp eax, 8
sete al
add al, 0x20
mov byte [ecx], al
mov dword [edx + 0xc], 8
mov ecx, edi
mov eax, dword [ebp - 0x97c]
mov dword [edx + 2], eax
mov ax, word [ebp - 0x978]
mov word [edx + 6], ax
mov eax, dword [ebp - 0x9a0]
push edx
mov word [edx], ax
call fcn.100565b8
mov eax, dword [ebp - 0x97c]
push 0
push 1
push 0
push ecx
push ecx
mov ecx, esp
mov dword [ecx], eax
mov ax, word [ebp - 0x978]
mov word [ecx + 4], ax
mov ecx, edi
call fcn.10055e1d
mov eax, dword [ebp - 0x9a0]
movzx ecx, word [edi + 7]
inc eax
cmp eax, ecx
mov dword [ebp - 0x9a0], eax
jb 0x100577a3
mov al, 1
jmp 0x1005749c