Function at 0x1019777
Capabilities:
Allocate or change rwx memory
Authenticate hmac
Contain obfuscated stackstrings
Execute shellcode via indirect call

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x1050d74]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, dword [eax + 4]
movzx edx, byte [ecx]
mov dword [ebp - 0xfc], eax
add eax, 8
push ebx
xor ebx, ebx
mov dword [ebp - 0x11c], eax
mov eax, dword [eax]
and edx, 0xf
add ecx, 1
cmp ecx, ebx
push esi
push edi
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0xc4], ebx
je 0x10198be
lea edi, [ecx - 1]
cmp edi, section..data
jb 0x1019817
mov eax, dword [0x1017bcc]
mov edx, dword [0x1012f80]
imul eax, edx
lea eax, [eax + section..data]
cmp edi, eax
jae 0x1019817
mov esi, dword [0x1012f80]
mov eax, edi
sub eax, section..data
xor edx, edx
div esi
mov esi, dword [0x1012f80]
imul esi, eax
lea esi, [esi + section..data]
cmp esi, ebx
jne 0x1019824
mov esi, dword [0x104e440]
add esi, 0xffffffff
not esi
and esi, edi
mov edx, dword [0x100003c]
sub ecx, esi
lea eax, [ecx - 0x40]
xor ecx, ecx
cmp eax, ebx
setl cl
mov dword [ebp - 0x98], esi
mov dword [ebp - 0xc4], esi
sub ecx, 1
and ecx, eax
mov eax, dword [edx + 0x1000050]
sub eax, 0x40
mov dword [ebp - 0x9c], ecx
lea ecx, [eax + 1]
xor eax, eax
cmp ecx, ebx
mov dword [ebp - 0xa4], ecx
je 0x1019890
mov edx, dword [0x104f4c0]
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov edi, edx
shr edi, 0x10
shl eax, 0x10
or eax, edi
shr dword [ebp - 0xa4], 0x10
jne 0x101986b
mov dword [0x104f4c0], edx
xor edx, edx
div ecx
mov eax, dword [ebp - 0x9c]
lea eax, [esi + eax + 3]
and eax, 0xfffffffc
lea ecx, [edx + 0x1000003]
and ecx, 0xfffffffc
sub ecx, eax
mov edx, 0x10
mov esi, dword [ecx + eax]
mov dword [eax], esi
add eax, 4
sub edx, 1
jne 0x10198b1
mov eax, dword [0x103f2c0]
mov edi, dword [0x1040e44]
xor esi, esi
sub eax, 1
cmp dword [ebp - 0xd8], 0x1000000
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xb0], eax
jb 0x10199cb
mov ecx, dword [0x100003c]
mov ecx, dword [ecx + 0x1000050]
add ecx, 0x1000000
cmp dword [ebp - 0xd8], ecx
jae 0x10199cb
mov ecx, dword [ebp - 0xd8]
sub ecx, 0x1000000
cmp eax, ebx
mov dword [ebp - 0xa4], ecx
jl 0x10199b4
add eax, esi
cdq
sub eax, edx
sar eax, 1
mov esi, eax
shl esi, 5
add esi, 0x104108c
mov ecx, dword [esi + 8]
and ecx, 0xfffffff
mov edx, ecx
xor edx, edi
cmp dword [ebp - 0xa4], edx
jae 0x101995a
mov esi, dword [ebp - 0xc8]
add eax, 0xffffffff
mov dword [ebp - 0xb0], eax
jmp 0x101997d
mov edi, dword [esi]
shr edi, 1
and edi, 0x3fff
add edi, edx
cmp dword [ebp - 0xa4], edi
jb 0x1019985
lea esi, [eax + 1]
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xc8], esi
cmp eax, esi
mov edi, ecx
jge 0x1019922
jmp 0x10199b4
mov ecx, 8
lea edi, [ebp - 0x13c]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x134]
mov esi, dword [ebp - 0xc8]
xor edx, eax
and edx, 0xfffffff
xor eax, edx
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0xb0]
mov edx, dword [0x103f2c0]
xor ecx, ecx
cmp esi, eax
setle cl
mov eax, ecx
cmp eax, ebx
jne 0x1019a73
mov esi, dword [ebp - 0x98]
cmp esi, ebx
je 0x1019a68
cmp esi, section..data
jb 0x1019a46
mov eax, dword [0x1017bcc]
mov edx, dword [0x1012f80]
imul eax, edx
lea eax, [eax + section..data]
cmp esi, eax
jae 0x1019a46
mov ecx, dword [0x1012f80]
sub esi, section..data
xor edx, edx
mov eax, esi
div ecx
mov ecx, dword [0x1012f80]
imul ecx, eax
lea eax, [ecx + section..data]
cmp eax, ebx
je 0x1019a46
mov ecx, dword [0x1012f80]
xor edx, edx
mov eax, esi
div ecx
mov edx, dword [0x1017bcc]
mov edx, dword [ebp - 0xd8]
mov dword [eax*4 + 0x104e01c], 0x29
jmp 0x101aa6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x8000
mov esi, eax
mov eax, dword [ebp - 0x98]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [ebp - 0xd8]
jmp 0x101aa6f
mov eax, dword [ebp - 0x13c]
shr eax, 1
and eax, 0x3fff
mov dword [ebp - 0xc8], eax
mov edx, eax
mov eax, dword [ebp - 0x128]
and eax, 0x1f
mov dword [ebp - 0x140], eax
sub eax, 0x14
je 0x1019aa8
sub eax, 1
je 0x1019b80
sub eax, 9
add edx, 0x11
cmp dword [ebp - 0x98], ebx
mov dword [ebp - 0xb0], edx
jne 0x1019c87
mov esi, dword [0x1012f80]
lea ecx, [esi + edx - 1]
mov eax, ecx
xor edx, edx
div esi
sub ecx, edx
mov dword [ebp - 0xac], ecx
mov ecx, dword [0x1012f80]
mov edx, dword [0x1017bcc]
mov eax, dword [0x1012f80]
mov ecx, dword [0x1017bcc]
test ecx, ecx
mov dword [ebp - 0xa0], edx
je 0x1019b9e
mov eax, dword [0x1017bcc]
sub eax, 1
lea esi, [eax + 1]
xor edi, edi
xor eax, eax
cmp esi, ebx
mov dword [ebp - 0xa4], esi
je 0x1019b40
mov ecx, dword [0x104f4c0]
mov edi, edi
imul ecx, ecx, 0x343fd
add ecx, 0x269ec3
mov edx, ecx
shr edx, 0x10
shl eax, 0x10
or eax, edx
shr dword [ebp - 0xa4], 0x10
jne 0x1019b1b
mov dword [0x104f4c0], ecx
xor edx, edx
div esi
cmp dword [ebp - 0xa0], ebx
jbe 0x1019b9e
add edi, 1
mov ecx, 0xffffffd6
lea esi, [edx*4 + 0x104e01c]
mov eax, 0x29
lock cmpxchg dword [esi], ecx
cmp eax, 0x29
je 0x1019b88
mov ecx, dword [0x1017bcc]
lea eax, [edx + 1]
xor edx, edx
div ecx
cmp edi, dword [ebp - 0xa0]
jb 0x1019b4c
jmp 0x1019b9e
add edx, 6
jmp 0x1019aab
mov eax, dword [0x1012f80]
imul eax, edx
lea eax, [eax + section..data]
cmp eax, ebx
jne 0x1019c79
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0xac]
mov dword [ebp - 0x9c], eax
xor esi, esi
push 0x40
push 0x1000
push edi
push ebx
add esi, 1
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, eax
cmp ecx, ebx
jne 0x1019bde
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, 0x11
jb 0x1019bb2
mov dword [ebp - 0x98], ebx
jmp 0x1019c5a
mov edx, dword [0x100003c]
mov eax, dword [edx + 0x1000050]
sub eax, edi
lea esi, [eax + 1]
xor eax, eax
cmp esi, ebx
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0xa4], esi
je 0x1019c2d
mov edx, dword [0x104f4c0]
nop
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov edi, edx
shr edi, 0x10
shl eax, 0x10
or eax, edi
shr dword [ebp - 0xa4], 0x10
jne 0x1019c08
mov dword [0x104f4c0], edx
xor edx, edx
div esi
lea eax, [ecx + 3]
mov ecx, dword [ebp - 0xac]
and eax, 0xfffffffc
lea edx, [edx + 0x1000003]
and edx, 0xfffffffc
shr ecx, 2
je 0x1019c5a
sub edx, eax
mov esi, dword [edx + eax]
mov dword [eax], esi
add eax, 4
sub ecx, 1
jne 0x1019c4d
mov eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x98], ebx
je 0x1019adb
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0xc4], eax
jmp 0x1019c8d
mov ecx, dword [0x1012f80]
mov ecx, dword [ebp - 0x134]
and ecx, 0xfffffff
lea eax, [ecx + 0x1000000]
mov dword [ebp - 0xb0], eax
mov eax, dword [0x1012f80]
sub eax, edx
lea esi, [eax + 1]
xor eax, eax
cmp esi, ebx
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xa4], esi
je 0x1019ced
mov edx, dword [0x104f4c0]
nop
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov edi, edx
shr edi, 0x10
shl eax, 0x10
or eax, edi
shr dword [ebp - 0xa4], 0x10
jne 0x1019cc8
mov dword [0x104f4c0], edx
xor edx, edx
div esi
mov esi, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xb0]
mov byte [ebp - 0x91], 0xa5
add esi, edx
sub eax, esi
mov dword [ebp - 0xc4], esi
mov esi, dword [ebp - 0x13c]
test esi, 0x180000
mov dword [ebp - 0xa4], eax
jne 0x101a0a9
mov edi, dword [ebp - 0x130]
mov edx, dword [0x1002900]
mov dword [ebp - 0x104], ecx
mov dword [ebp - 0x100], ecx
mov ecx, dword [ebp - 0x12c]
and ecx, 0xfffffff
shr esi, 0x15
and edi, 0xfffffff
add ecx, 0x1000000
mov eax, 0x1000000
and esi, 0x7f
sub eax, edx
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xcc], eax
jne 0x1019de4
mov eax, 0x8421085
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 6
imul eax, eax, 0x7c
sub esi, eax
lea edx, [ebp - 0xf0]
push edx
mov edx, dword [esi*4 + 0x1038b60]
lea eax, [ecx + edi]
push eax
push ecx
lea ecx, [ebp - 0x104]
push ecx
mov byte [ebp - 0xf0], bl
mov byte [ebp - 0xef], 1
mov byte [ebp - 0xee], 2
mov byte [ebp - 0xed], 3
mov byte [ebp - 0xec], 4
mov byte [ebp - 0xeb], 5
call edx
mov edi, dword [ebp - 0x104]
mov esi, dword [ebp - 0x100]
jmp 0x101a0b5
mov ecx, dword [0x100003c]
mov eax, dword [ecx + 0x10000a0]
mov ecx, dword [ecx + 0x10000a4]
mov edx, dword [ebp - 0xac]
sub edx, 0x1000000
mov dword [ebp - 0x9c], ecx
mov ecx, edx
and ecx, 0xfffff000
mov edi, edx
sub edi, ecx
mov dword [ebp - 0x98], ecx
mov ecx, dword [ebp - 0xa0]
add edx, ecx
mov ecx, edx
and ecx, 0xfffff000
sub edx, ecx
add eax, 0x1000000
mov dword [ebp - 0x114], edx
mov edx, dword [ebp - 0x9c]
add edx, eax
cmp eax, edx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x110], edx
je 0x1019e6c
mov ecx, dword [ebp - 0x98]
cmp dword [eax], ecx
jae 0x1019e66
add eax, dword [eax + 4]
cmp eax, edx
jne 0x1019e5b
mov dword [ebp - 0x10c], eax
xor edx, edx
cmp eax, dword [ebp - 0x110]
je 0x1019eaa
mov ecx, dword [ebp - 0x98]
cmp dword [eax], ecx
jne 0x1019eaa
mov ecx, dword [eax + 4]
sub ecx, 8
shr ecx, 1
mov dword [ebp - 0x9c], ecx
je 0x1019eaa
movzx ecx, word [eax + edx*2 + 8]
and ecx, 0xfff
cmp ecx, edi
jae 0x1019eaa
add edx, 1
cmp edx, dword [ebp - 0x9c]
jne 0x1019e90
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0x98], ecx
cmp eax, dword [ebp - 0x110]
je 0x101a02e
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x118]
ja 0x101a02e
lea ebx, [ebx]
mov ecx, dword [eax + 4]
lea edi, [ecx - 8]
shr edi, 1
cmp edx, edi
jne 0x1019f04
add eax, ecx
cmp eax, dword [ebp - 0x110]
mov dword [ebp - 0x10c], eax
je 0x101a02e
mov edx, dword [ebp - 0x118]
cmp dword [eax], edx
ja 0x101a02e
xor edx, edx
jmp 0x1019ed2
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x118]
jne 0x1019f25
movzx edi, word [eax + edx*2 + 8]
and edi, 0xfff
cmp edi, dword [ebp - 0x114]
jae 0x101a02e
mov edi, edx
movzx edi, word [eax + edi*2 + 8]
add edx, 1
test edi, 0xf000
mov dword [ebp - 0x108], edx
je 0x1019eb6
mov eax, 0x8421085
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 6
imul eax, eax, 0x7c
and edi, 0xfff
lea edi, [edi + ecx + 0x1000000]
mov ecx, esi
sub ecx, eax
lea eax, [ecx*4 + 0x1038b60]
mov ecx, dword [ebp - 0x98]
lea edx, [ebp - 0xe8]
push edx
push edi
push ecx
lea edx, [ebp - 0x104]
mov dword [ebp - 0x9c], eax
mov eax, dword [eax]
push edx
mov byte [ebp - 0xe8], bl
mov byte [ebp - 0xe7], 1
mov byte [ebp - 0xe6], 2
mov byte [ebp - 0xe5], 3
mov byte [ebp - 0xe4], 4
mov byte [ebp - 0xe3], 5
call eax
mov eax, dword [edi]
sub eax, dword [ebp - 0xcc]
lea ecx, [ebp - 0xf8]
push ecx
mov dword [ebp - 0x90], eax
lea edx, [ebp - 0x8c]
push edx
mov edx, dword [ebp - 0x9c]
lea eax, [ebp - 0x90]
push eax
mov eax, dword [edx]
lea ecx, [ebp - 0x104]
push ecx
mov byte [ebp - 0xf8], bl
mov byte [ebp - 0xf7], 1
mov byte [ebp - 0xf6], 2
mov byte [ebp - 0xf5], 3
mov byte [ebp - 0xf4], 4
mov byte [ebp - 0xf3], 5
call eax
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x10c]
add edi, 4
mov dword [ebp - 0x98], edi
jmp 0x1019eb6
mov eax, 0x8421085
mul esi
mov eax, dword [ebp - 0xac]
mov ecx, esi
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 6
imul ecx, ecx, 0x7c
sub esi, ecx
mov ecx, dword [ebp - 0xa0]
lea edx, [ebp - 0xe0]
push edx
mov edx, dword [ebp - 0x98]
add eax, ecx
mov ecx, dword [esi*4 + 0x1038b60]
push eax
push edx
lea eax, [ebp - 0x104]
push eax
mov byte [ebp - 0xe0], bl
mov byte [ebp - 0xdf], 1
mov byte [ebp - 0xde], 2
mov byte [ebp - 0xdd], 3
mov byte [ebp - 0xdc], 4
mov byte [ebp - 0xdb], 5
call ecx
mov edi, dword [ebp - 0x104]
mov esi, dword [ebp - 0x100]
jmp 0x101a0b5
mov edi, dword [ebp - 0x124]
mov esi, dword [ebp - 0x120]
mov cl, 0x5c
mov al, 0xd3
mov dl, 0x55
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x148], esi
mov byte [ebp - 0x80], 0x42
mov byte [ebp - 0x7f], 0xe6
mov byte [ebp - 0x7e], 0x77
mov byte [ebp - 0x7d], 0xdb
mov byte [ebp - 0x7c], bl
mov byte [ebp - 0x7b], bl
mov byte [ebp - 0x7a], bl
mov byte [ebp - 0x79], bl
mov byte [ebp - 0x78], 0x83
mov byte [ebp - 0x77], 0x3e
mov byte [ebp - 0x76], 0xea
mov byte [ebp - 0x75], 0x3f
mov byte [ebp - 0x74], al
mov byte [ebp - 0x73], 0x3b
mov byte [ebp - 0x72], 0xdd
mov byte [ebp - 0x71], cl
mov byte [ebp - 0x70], bl
mov byte [ebp - 0x6f], bl
mov byte [ebp - 0x6e], bl
mov byte [ebp - 0x6d], bl
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], bl
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], bl
mov byte [ebp - 0x67], bl
mov byte [ebp - 0x66], bl
mov byte [ebp - 0x65], bl
mov byte [ebp - 0x64], bl
mov byte [ebp - 0x63], bl
mov byte [ebp - 0x62], bl
mov byte [ebp - 0x61], bl
mov byte [ebp - 0x60], bl
mov byte [ebp - 0x5f], bl
mov byte [ebp - 0x5e], bl
mov byte [ebp - 0x5d], bl
mov byte [ebp - 0x5c], bl
mov byte [ebp - 0x5b], bl
mov byte [ebp - 0x5a], bl
mov byte [ebp - 0x59], bl
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], bl
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], bl
mov byte [ebp - 0x53], bl
mov byte [ebp - 0x52], bl
mov byte [ebp - 0x51], bl
mov byte [ebp - 0x50], bl
mov byte [ebp - 0x4f], bl
mov byte [ebp - 0x4e], bl
mov byte [ebp - 0x4d], bl
mov byte [ebp - 0x4c], 0x73
mov byte [ebp - 0x4b], 0xed
mov byte [ebp - 0x4a], 0xa1
mov byte [ebp - 0x49], 0x69
mov byte [ebp - 0x48], bl
mov byte [ebp - 0x47], bl
mov byte [ebp - 0x46], bl
mov byte [ebp - 0x45], bl
mov byte [ebp - 0x44], bl
mov byte [ebp - 0x43], bl
mov byte [ebp - 0x42], bl
mov byte [ebp - 0x41], bl
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], bl
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], dl
mov byte [ebp - 0x3b], 0xf0
mov byte [ebp - 0x3a], 9
mov byte [ebp - 0x39], cl
mov byte [ebp - 0x38], bl
mov byte [ebp - 0x37], bl
mov byte [ebp - 0x29], al
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xc8]
mov cl, 0xa
and eax, 7
mov byte [ebp - 0xf], dl
mov edx, dword [ebp - 0xb0]
mov byte [ebp - 0x36], bl
mov byte [ebp - 0x35], bl
mov byte [ebp - 0x34], 6
mov byte [ebp - 0x33], 0x2e
mov byte [ebp - 0x32], 0xf2
mov byte [ebp - 0x31], 0xc3
mov byte [ebp - 0x30], 0x5d
mov byte [ebp - 0x2f], 0x98
mov byte [ebp - 0x2e], 0x6a
mov byte [ebp - 0x2d], 0x3c
mov byte [ebp - 0x2c], pe_nt_image_headers32
mov byte [ebp - 0x2b], 0xdf
mov byte [ebp - 0x2a], 0xb7
mov byte [ebp - 0x28], bl
mov byte [ebp - 0x27], bl
mov byte [ebp - 0x26], bl
mov byte [ebp - 0x25], bl
mov byte [ebp - 0x24], bl
mov byte [ebp - 0x23], bl
mov byte [ebp - 0x22], bl
mov byte [ebp - 0x21], bl
mov byte [ebp - 0x20], bl
mov byte [ebp - 0x1f], bl
mov byte [ebp - 0x1e], bl
mov byte [ebp - 0x1d], bl
mov byte [ebp - 0x1c], 0x8d
mov byte [ebp - 0x1b], 0xff
mov byte [ebp - 0x1a], 0xc9
mov byte [ebp - 0x19], 0x84
mov byte [ebp - 0x18], 0x3f
mov byte [ebp - 0x17], 0xb4
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], 0x80
mov byte [ebp - 0x14], 0x9e
mov byte [ebp - 0x13], 0xf8
mov byte [ebp - 0x12], 0x4d
mov byte [ebp - 0x11], 0x35
mov byte [ebp - 0x10], cl
mov byte [ebp - 0xe], 0xcc
mov byte [ebp - 0xd], 0xa6
mov byte [ebp - 0xb], 0xfe
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0x36
mov byte [ebp - 8], bl
mov byte [ebp - 7], bl
mov byte [ebp - 6], bl
mov byte [ebp - 5], bl
mov dword [ebp - 0x9c], eax
je 0x101a56e
xor ecx, ecx
cmp eax, ebx
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0xb4], ecx
jle 0x101a314
mov ebx, 0x38
mov dword [ebp - 0xa0], ebx
lea esp, [esp]
cmp ecx, 4
jge 0x101a2d6
lea ecx, [ebx - 0x20]
movzx ebx, byte [edx]
shl ebx, cl
or dword [ebp - 0xd0], ebx
jmp 0x101a2ef
movzx ecx, byte [edx]
mov dword [ebp - 0x98], ecx
mov ecx, ebx
mov ebx, dword [ebp - 0x98]
shl ebx, cl
or dword [ebp - 0xcc], ebx
mov ecx, dword [ebp - 0xb4]
mov ebx, dword [ebp - 0xa0]
add ecx, 1
sub ebx, 8
add edx, 1
cmp ecx, eax
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xa0], ebx
jl 0x101a2c1
mov eax, edi
xor eax, esi
mov ecx, eax
xor ecx, esi
sub edi, ecx
xor edi, dword [ebp - 0xc0]
movzx ecx, si
mov ebx, edi
ror ebx, 1
xor ebx, ecx
movzx ecx, word [ebp - 0xb6]
imul ebx, ecx
xor eax, ebx
movzx ebx, word [ebp - 0xba]
mov ecx, eax
xor ecx, esi
ror ecx, 1
imul ecx, ebx
mov dword [ebp - 0xa8], eax
ror eax, 1
xor eax, ecx
movzx ebx, word [ebp - 0xbc]
xor edi, eax
mov eax, edi
xor eax, esi
ror eax, 1
imul eax, ebx
mov ecx, edi
ror ecx, 1
sub eax, ecx
mov ecx, dword [ebp - 0xa8]
xor ecx, eax
mov eax, ecx
ror eax, 1
mov dword [ebp - 0xa0], eax
movzx eax, word [ebp - 0xb6]
mov dword [ebp - 0xa8], ecx
xor ecx, ebx
imul ecx, eax
mov ebx, dword [ebp - 0xa0]
add ebx, ecx
xor edi, ebx
mov ecx, dword [ebp - 0xa8]
mov ebx, edi
xor ebx, eax
movzx eax, si
imul ebx, eax
mov eax, edi
shr eax, 1
add ebx, eax
xor ecx, ebx
mov eax, ecx
sub eax, esi
mov dword [ebp - 0xa8], ecx
mov ebx, ecx
movzx ecx, word [ebp - 0xba]
ror eax, 1
imul eax, ecx
ror ebx, 1
add ebx, eax
xor edi, ebx
mov ebx, dword [ebp - 0xa8]
mov eax, esi
sub eax, edi
ror eax, 1
mov ecx, edi
ror ecx, 1
mov dword [ebp - 0xa0], ecx
movzx ecx, word [ebp - 0xbc]
imul eax, ecx
mov ecx, dword [ebp - 0xa0]
xor ecx, eax
xor ebx, ecx
mov eax, ebx
ror eax, 2
mov ecx, eax
movzx eax, word [ebp - 0xb6]
sub ecx, eax
mov eax, ecx
movzx ecx, si
imul eax, ecx
xor edi, eax
mov eax, edi
sub eax, ecx
xor eax, ebx
xor eax, dword [ebp - 0xbc]
mov ebx, eax
xor ebx, ecx
movzx ecx, word [ebp - 0xba]
imul ebx, ecx
movzx ecx, word [ebp - 0xbc]
mov dword [ebp - 0xa8], eax
shr eax, 1
xor ebx, eax
xor edi, ebx
mov eax, esi
sub eax, edi
ror eax, 0xe
imul eax, ecx
mov ecx, dword [ebp - 0x9c]
mov ebx, edi
xor edi, dword [ebp - 0xcc]
ror ebx, 0x1b
add ebx, eax
xor ebx, dword [ebp - 0xd0]
mov eax, dword [ebp - 0xa8]
xor eax, ebx
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xc0], eax
xor ebx, ebx
xor eax, eax
cmp ecx, ebx
mov dword [ebp - 0x98], edi
mov dword [ebp - 0xb4], eax
jle 0x101a4f5
lea ebx, [ebx]
cmp eax, 4
mov ecx, dword [ebp - 0xac]
jge 0x101a4bc
mov eax, dword [ebp - 0xc0]
rol eax, 8
mov byte [ecx], al
add ecx, 1
mov dword [ebp - 0xac], ecx
mov cl, al
xor byte [ebp - 0x91], cl
mov dword [ebp - 0xc0], eax
jmp 0x101a4dc
mov eax, dword [ebp - 0x98]
rol eax, 8
mov byte [ecx], al
add ecx, 1
xor byte [ebp - 0x91], al
mov dword [ebp - 0x98], eax
mov dword [ebp - 0xac], ecx
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0x9c]
add eax, 1
cmp eax, ecx
mov dword [ebp - 0xb4], eax
jl 0x101a48d
add ecx, 0xfffffffc
cmp ecx, ebx
jle 0x101a548
mov eax, 4
sub eax, ecx
add eax, eax
add eax, eax
add eax, eax
mov ecx, eax
shr edi, cl
shl edi, cl
mov eax, edi
mov edi, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xc8]
shr ecx, 3
je 0x101a768
movzx ebx, word [ebp - 0xb6]
mov dword [ebp - 0xb4], ebx
movzx ebx, word [ebp - 0xba]
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ecx
jmp 0x101a596
xor eax, eax
cmp ecx, ebx
jge 0x101a511
mov edi, dword [ebp - 0xa8]
neg ecx
add ecx, ecx
add ecx, ecx
add ecx, ecx
shr edi, cl
mov dword [ebp - 0xb4], ecx
shl edi, cl
mov dword [ebp - 0xa8], edi
jmp 0x101a511
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
xor eax, eax
mov dword [ebp - 0xa8], ebx
jmp 0x101a517
mov edi, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xd4]
movzx ecx, byte [edx + 1]
mov ch, byte [edx]
movzx ebx, byte [edx + 2]
add edx, 8
mov dword [ebp - 0xd4], edx
shl ecx, 8
or ecx, ebx
movzx ebx, byte [edx - 5]
shl ecx, 8
or ecx, ebx
movzx ebx, byte [edx - 2]
mov dword [ebp - 0xc0], ecx
xor ecx, ecx
mov ch, byte [edx - 4]
mov cl, byte [edx - 3]
shl ecx, 8
or ecx, ebx
movzx ebx, byte [edx - 1]
shl ecx, 8
or ecx, ebx
xor eax, ecx
mov dword [ebp - 0x98], ecx
mov ecx, dword [ebp - 0xc0]
xor ecx, eax
xor ecx, dword [ebp - 0xa8]
xor ecx, edi
xor ecx, esi
mov edx, ecx
xor edx, esi
sub edi, edx
xor eax, edi
mov edi, eax
ror edi, 1
movzx edx, si
xor edi, edx
imul edi, dword [ebp - 0xb4]
xor ecx, edi
mov edx, ecx
xor edx, esi
ror edx, 1
imul edx, dword [ebp - 0xa0]
mov edi, ecx
ror edi, 1
xor edi, edx
xor eax, edi
movzx edi, word [ebp - 0xbc]
mov edx, eax
xor edx, esi
ror edx, 1
imul edx, edi
mov ebx, eax
ror ebx, 1
sub edx, ebx
xor ecx, edx
mov edx, ecx
xor edx, edi
mov edi, edx
mov edx, dword [ebp - 0xb4]
imul edi, edx
mov ebx, ecx
ror ebx, 1
add ebx, edi
xor eax, ebx
mov edi, eax
xor edi, edx
movzx edx, si
imul edi, edx
mov edx, eax
shr edx, 1
add edi, edx
xor ecx, edi
mov edx, ecx
sub edx, esi
ror edx, 1
imul edx, dword [ebp - 0xa0]
mov edi, ecx
ror edi, 1
add edi, edx
xor eax, edi
mov edx, esi
movzx ebx, word [ebp - 0xbc]
sub edx, eax
ror edx, 1
imul edx, ebx
mov edi, eax
ror edi, 1
xor edi, edx
xor ecx, edi
mov edx, ecx
ror edx, 2
sub edx, dword [ebp - 0xb4]
movzx edi, si
imul edx, edi
xor eax, edx
mov edx, eax
sub edx, edi
xor edx, ecx
xor edx, dword [ebp - 0xbc]
mov ecx, edx
xor ecx, edi
imul ecx, dword [ebp - 0xa0]
mov edi, edx
shr edi, 1
xor ecx, edi
xor eax, ecx
mov ecx, esi
sub ecx, eax
ror ecx, 0xe
imul ecx, ebx
mov edi, eax
xor eax, dword [ebp - 0xcc]
ror edi, 0x1b
add edi, ecx
xor edi, dword [ebp - 0xd0]
mov cl, byte [ebp - 0x91]
xor edx, edi
mov edi, dword [ebp - 0xac]
xor cl, dl
mov byte [edi + 3], dl
xor cl, al
ror edx, 8
xor cl, dl
mov byte [edi + 7], al
ror eax, 8
mov byte [edi + 2], dl
xor cl, al
ror edx, 8
mov byte [edi + 6], al
xor cl, dl
ror eax, 8
mov byte [edi + 1], dl
ror edx, 8
xor cl, al
mov byte [edi + 5], al
ror eax, 8
mov bl, al
xor bl, dl
xor cl, bl
mov byte [edi], dl
ror edx, 8
mov byte [edi + 4], al
mov byte [ebp - 0x91], cl
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0xa8], edx
mov edx, dword [ebp - 0xc0]
add edi, 8
ror eax, 8
sub dword [ebp - 0x9c], 1
mov dword [ebp - 0xd0], edx
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0xac], edi
jne 0x101a58a
xor ebx, ebx
mov edx, dword [0x1002900]
mov eax, 0x1000000
sub eax, edx
mov dword [ebp - 0x9c], eax
jne 0x101a789
cmp dword [ebp - 0xa4], ebx
je 0x101a86a
mov ecx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0xc4]
mov esi, dword [0x101d0a8]
sub eax, ecx
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xc8]
sub ecx, 0x1000000
add esi, 0xffffffff
lea edx, [ecx + eax]
xor edi, edi
cmp esi, ebx
mov dword [ebp - 0xd4], edx
jl 0x101a7ec
lea eax, [esi + edi]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [eax*4 + 0x101d0ac]
and edx, 0xfffffff
cmp ecx, edx
jae 0x101a7df
lea esi, [eax - 1]
jmp 0x101a7e4
jbe 0x101a7ea
lea edi, [eax + 1]
cmp esi, edi
jge 0x101a7c1
jmp 0x101a7ec
mov edi, eax
cmp edi, dword [0x101d0a8]
jae 0x101a86a
mov edi, edi
mov eax, dword [edi*4 + 0x101d0ac]
mov esi, eax
and esi, 0xfffffff
cmp esi, dword [ebp - 0xd4]
jae 0x101a86a
lea ecx, [eax*4]
sar ecx, 0x1e
sar eax, 0x1e
and ecx, 3
and eax, 3
xor edx, edx
sub ecx, 1
je 0x101a841
sub ecx, 1
je 0x101a839
sub ecx, 1
jne 0x101a84d
mov edx, dword [ebp - 0x9c]
jmp 0x101a84d
mov edx, dword [ebp - 0xa4]
jmp 0x101a84d
mov edx, dword [ebp - 0x9c]
sub edx, dword [ebp - 0xa4]
sub eax, 2
jne 0x101a85f
mov eax, dword [ebp - 0xa0]
add dword [esi + eax + 0x1000000], edx
add edi, 1
cmp edi, dword [0x101d0a8]
jb 0x101a7f6
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x91]
call fcn.01040fd1
test eax, eax
jne 0x101a932
call fcn.01002871
mov esi, dword [ebp - 0x11c]
push 0x1000
mov edi, eax
and esi, 0xfffffffc
push esi
and edi, 0xfffff000
call fcn.0103139f
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0xd4], eax
mov dword [ecx + 4], 0x1001218
mov ecx, dword [0x104f4c0]
xor eax, eax
mov dword [ebp - 0x9c], 0xffff
imul ecx, ecx, 0x343fd
add ecx, 0x269ec3
mov edx, ecx
shr edx, 0x10
shl eax, 0x10
or eax, edx
shr dword [ebp - 0x9c], 0x10
jne 0x101a8ca
mov dword [0x104f4c0], ecx
xor edx, edx
mov ecx, 0xffff
div ecx
mov eax, dword [ebp - 0xfc]
add edx, 1
mov dword [eax - 0x18], edx
mov dword [eax - 4], edi
mov eax, dword [ebp - 0xd4]
cmp esi, eax
mov dword [ebp - 0x9c], ebx
jae 0x101a928
lea ecx, [ecx]
mov edx, dword [ebp - 0x9c]
mov dword [esi], edx
add esi, 4
cmp esi, eax
jb 0x101a919
mov edx, 0x1001218
jmp 0x101aa6f
mov esi, dword [ebp - 0x140]
mov edi, dword [ebp - 0xc8]
mov edx, dword [ebp - 0xc4]
mov ecx, esi
sub ecx, 0x14
lea eax, [edi + edx]
je 0x101a9c5
sub ecx, 1
je 0x101a99e
sub ecx, 9
je 0x101a9c5
mov ecx, dword [ebp - 0x134]
add edi, ecx
xor edi, dword [eax + 0xd]
and edi, 0xfffffff
xor dword [eax + 0xd], edi
mov ecx, dword [eax + 5]
xor ecx, dword [ebp - 0x138]
and ecx, 0xfffffff
xor dword [eax + 5], ecx
mov ecx, dword [eax + 9]
and ecx, 0xffffff80
or ecx, esi
mov dword [eax + 9], ecx
mov ecx, 0x10011d8
sub ecx, eax
sub ecx, 5
mov byte [eax], 0xe8
mov dword [eax + 1], ecx
jmp 0x101aa5e
mov ecx, dword [ebp - 0x13c]
shr ecx, 0xf
xor cl, byte [eax + 5]
and cl, 0xf
xor byte [eax + 5], cl
mov ecx, 0x10168da
sub ecx, eax
sub ecx, 5
mov byte [eax], 0xe8
mov dword [eax + 1], ecx
jmp 0x101aa5e
mov edx, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x128]
mov edi, edx
mov ebx, ecx
shr edi, 0x11
and edi, 0x1800
shl esi, 0xe
and ebx, 0x1e0
or edi, ebx
mov ebx, dword [eax + 5]
and ebx, 0xffe03fff
or esi, ebx
and esi, 0xfffffcc1
shr edi, 3
or edi, esi
mov esi, edx
and esi, 1
add esi, esi
or edi, esi
mov esi, dword [ebp - 0x130]
mov dword [eax + 5], edi
shr esi, 0x1c
xor esi, dword [eax + 0xd]
shr ecx, 5
and edx, 0x78000
and ecx, 0x1000
or ecx, edx
and esi, 1
xor dword [eax + 0xd], esi
mov edx, dword [eax + 5]
and edx, 0xffffc37f
shr ecx, 5
or ecx, edx
mov dword [eax + 5], ecx
mov ecx, dword [ebp - 0x138]
mov edx, 0x1011379
sub edx, eax
mov dword [eax + 9], ecx
sub edx, 5
mov byte [eax], 0xe8
mov dword [eax + 1], edx
mov edx, dword [ebp - 0xc4]
sub edx, dword [ebp - 0xb0]
mov eax, dword [0x1012f80]
add edx, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0x144]
mov eax, dword [ecx*4 + 0x1038480]
mov ecx, dword [ebp - 0xfc]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x11c]
pop edi
pop esi
xor ecx, ebp
mov dword [eax], edx
pop ebx
call fcn.01035a40
mov esp, ebp
pop ebp
ret