Function at 0x10046809
Capabilities:
Authenticate hmac
Contain obfuscated stackstrings
Parse pe header
Resolve function by parsing pe exports
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069340
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x29c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
cmp dword [ebp + 0x10], 0
jbe 0x10046850
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10046850
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.100461ae
pop ecx
pop ecx
jmp 0x10047aad
cmp dword [ebp + 0x10], 0
jne 0x10047025
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.10044247
mov dword [ebp - 0x54], eax
cmp dword [0x1061256c], 0
jne 0x10046ff9
mov dword [ebp - 0x1d8], 0x2393
lea eax, [ebp - 0x1d8]
push eax
call fcn.10046072
pop ecx
mov dword [ebp - 0x180], eax
mov byte [ebp - 0x170], 4
mov byte [ebp - 0x16f], 0
mov byte [ebp - 0x16e], 0xc
mov byte [ebp - 0x16d], 0x32
mov byte [ebp - 0x16c], 5
mov byte [ebp - 0x16b], 0x25
mov byte [ebp - 0x16a], 6
mov byte [ebp - 0x169], 1
mov byte [ebp - 0x168], 2
mov byte [ebp - 0x167], 7
mov byte [ebp - 0x166], 0x3e
mov byte [ebp - 0x165], 0x9b
mov byte [ebp - 0x164], 0x90
mov byte [ebp - 0x163], 8
mov byte [ebp - 0x162], 0x15
mov byte [ebp - 0x161], 0x69
mov byte [ebp - 0x160], 0x31
mov byte [ebp - 0x15f], 0xb4
mov byte [ebp - 0x15e], 0xe5
mov byte [ebp - 0x15d], 0xfd
mov byte [ebp - 0x15c], 0xce
mov byte [ebp - 0x15b], 0xf4
mov byte [ebp - 0x15a], 0xc9
mov byte [ebp - 0x159], 0x10
mov byte [ebp - 0x158], 0x66
mov byte [ebp - 0x157], 0x3c
mov byte [ebp - 0x156], 0xeb
mov byte [ebp - 0x155], 0xc4
mov byte [ebp - 0x154], 0x4b
mov byte [ebp - 0x153], 0x7f
mov byte [ebp - 0x152], 0x6f
mov byte [ebp - 0x151], 0xc
mov byte [ebp - 0x150], 0xec
mov byte [ebp - 0x14f], 0x6c
mov byte [ebp - 0x14e], 0x7a
mov byte [ebp - 0x14d], 4
mov byte [ebp - 0x14c], 0x79
mov byte [ebp - 0x14b], 0x24
mov byte [ebp - 0x14a], 0xfb
mov byte [ebp - 0x149], 0xbf
mov byte [ebp - 0x148], 0x5b
mov byte [ebp - 0x147], 0xc3
mov byte [ebp - 0x146], 0x48
mov byte [ebp - 0x145], 0xfe
mov byte [ebp - 0x144], 0x5c
mov byte [ebp - 0x143], 0x8c
mov byte [ebp - 0x142], 0x72
mov byte [ebp - 0x141], 0xb1
mov byte [ebp - 0x140], 0x70
mov byte [ebp - 0x13f], 0x1b
mov byte [ebp - 0x13e], 0x87
mov byte [ebp - 0x13d], 0xd4
mov byte [ebp - 0x13c], 0xe9
mov byte [ebp - 0x13b], 0x50
mov byte [ebp - 0x13a], 0x11
mov byte [ebp - 0x139], 3
mov byte [ebp - 0x138], 0xa0
mov byte [ebp - 0x137], 0xf8
mov byte [ebp - 0x136], 0x7b
mov byte [ebp - 0x135], 0xc6
mov byte [ebp - 0x134], 0x46
mov byte [ebp - 0x133], 0xd0
mov byte [ebp - 0x132], 0x4f
mov byte [ebp - 0x131], 0x81
mov byte [ebp - 0x130], 0xf8
mov byte [ebp - 0x12f], 0xeb
mov byte [ebp - 0x12e], 0xda
mov byte [ebp - 0x12d], 0x88
mov byte [ebp - 0x12c], 0xc9
mov byte [ebp - 0x12b], 0x9e
mov byte [ebp - 0x12a], 0xaa
mov byte [ebp - 0x129], 0xb9
mov byte [ebp - 0x128], 0x4d
mov byte [ebp - 0x127], 8
mov byte [ebp - 0x126], 0x1b
mov byte [ebp - 0x125], 0
mov byte [ebp - 0x124], 0x28
mov byte [ebp - 0x123], 1
mov byte [ebp - 0x122], 0x22
mov byte [ebp - 0x121], 9
mov byte [ebp - 0x120], 0xb
mov byte [ebp - 0x11f], 0xb
mov byte [ebp - 0x11e], 0x16
mov byte [ebp - 0x11d], 3
mov byte [ebp - 0x11c], 0x2e
mov byte [ebp - 0x11b], 7
mov byte [ebp - 0x11a], 0x3f
mov byte [ebp - 0x119], 0xa
mov byte [ebp - 0x118], 0x2c
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x170]
and eax, 0x65
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x170]
or ecx, 0x65
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x170]
mov byte [ebp + eax - 0x1a4], cl
mov dword [ebp - 0x18], 2
and dword [ebp - 0x40], 0
jmp 0x10046b4f
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x59
jae 0x10046c1e
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x170]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x10046b96
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x170]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x170]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x10046b47
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x40]
movzx eax, byte [ebp + eax - 0x172]
movsx eax, byte [ebp + eax - 0x1a4]
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x16f]
and ecx, eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x40]
movzx eax, byte [ebp + eax - 0x172]
movsx eax, byte [ebp + eax - 0x1a4]
mov edx, dword [ebp - 0x18]
movzx edx, byte [ebp + edx - 0x16f]
and edx, eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x40]
movzx eax, byte [ebp + eax - 0x172]
movsx eax, byte [ebp + eax - 0x1a4]
mov esi, dword [ebp - 0x18]
movzx ebx, byte [ebp + esi - 0x16f]
add ebx, eax
sub ebx, edx
sub ebx, ecx
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x170]
mov byte [ebp + eax - 0x1a4], bl
and dword [ebp - 0x40], 0
jmp 0x10046b47
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x1a4], 0
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x2ac]
call fcn.1001c111
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x1d4], eax
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x180]
mov ecx, dword [ebp - 0x1d4]
call fcn.10044247
mov dword [0x1061256c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2ac]
call fcn.1001c199
and dword [ebp - 0x7c], 0
jmp 0x10046c86
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0xe
jae 0x10046c99
mov eax, dword [ebp - 0x7c]
mov byte [ebp + eax - 0x1a4], 0
jmp 0x10046c7f
mov byte [ebp - 0x114], 6
mov byte [ebp - 0x113], 0x5d
mov byte [ebp - 0x112], 8
mov byte [ebp - 0x111], 0x3f
mov byte [ebp - 0x110], 1
mov byte [ebp - 0x10f], 0x1d
mov byte [ebp - 0x10e], 7
mov byte [ebp - 0x10d], 0
mov byte [ebp - 0x10c], 2
mov byte [ebp - 0x10b], 0x17
mov byte [ebp - 0x10a], 4
mov byte [ebp - 0x109], 0x11
mov byte [ebp - 0x108], 9
mov byte [ebp - 0x107], 0x17
mov byte [ebp - 0x106], 0x29
mov byte [ebp - 0x105], 0xf6
mov byte [ebp - 0x104], 0x5e
mov byte [ebp - 0x103], 0xfd
mov byte [ebp - 0x102], 0x85
mov byte [ebp - 0x101], 0xcc
mov byte [ebp - 0x100], 0x71
mov byte [ebp - 0xff], 0x17
mov byte [ebp - 0xfe], 0xa3
mov byte [ebp - 0xfd], 0x83
mov byte [ebp - 0xfc], 0x9c
mov byte [ebp - 0xfb], 0x14
mov byte [ebp - 0xfa], 0xf2
mov byte [ebp - 0xf9], 0x20
mov byte [ebp - 0xf8], 0x27
mov byte [ebp - 0xf7], 0x65
mov byte [ebp - 0xf6], 0x75
mov byte [ebp - 0xf5], 0x53
mov byte [ebp - 0xf4], 0xe
mov byte [ebp - 0xf3], 0xa2
mov byte [ebp - 0xf2], 0x82
mov byte [ebp - 0xf1], 0x74
mov byte [ebp - 0xf0], 0xf0
mov byte [ebp - 0xef], 0x47
mov byte [ebp - 0xee], 0xe7
mov byte [ebp - 0xed], 0x34
mov byte [ebp - 0xec], 0xbb
mov byte [ebp - 0xeb], 0x3e
mov byte [ebp - 0xea], 0x82
mov byte [ebp - 0xe9], 0xce
mov byte [ebp - 0xe8], 0xf3
mov byte [ebp - 0xe7], 0x9c
mov byte [ebp - 0xe6], 0x6e
mov byte [ebp - 0xe5], 0x9f
mov byte [ebp - 0xe4], 0x3d
mov byte [ebp - 0xe3], 0x94
mov byte [ebp - 0xe2], 0xf8
mov byte [ebp - 0xe1], 0x57
mov byte [ebp - 0xe0], 0xa
mov byte [ebp - 0xdf], 0xfc
mov byte [ebp - 0xde], 0x5c
mov byte [ebp - 0xdd], 0xc6
mov byte [ebp - 0xdc], 5
mov byte [ebp - 0xdb], 6
mov byte [ebp - 0xda], 0xd
mov byte [ebp - 0xd9], 0x32
mov byte [ebp - 0xd8], 0
mov byte [ebp - 0xd7], 0x14
mov byte [ebp - 0xd6], 0xb
mov byte [ebp - 0xd5], 0x30
mov byte [ebp - 0xd4], 0xa
mov byte [ebp - 0xd3], 0x16
mov byte [ebp - 0xd2], 0xc
mov byte [ebp - 0xd1], 0x16
mov byte [ebp - 0xd0], 3
mov byte [ebp - 0xcf], 0x12
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x114]
and eax, 0xd
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x114]
or ecx, 0xd
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x114]
mov byte [ebp + eax - 0x1f8], cl
mov dword [ebp - 0x1c], 2
and dword [ebp - 0x4c], 0
jmp 0x10046ed1
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x46
jae 0x10046f7b
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x114]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x1c], eax
jne 0x10046f18
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x114]
inc eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x114]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x1c], eax
jmp 0x10046ec9
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x4c]
movzx eax, byte [ebp + eax - 0x116]
movsx eax, byte [ebp + eax - 0x1f8]
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x113]
and ecx, eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x4c]
movzx eax, byte [ebp + eax - 0x116]
movsx eax, byte [ebp + eax - 0x1f8]
mov edx, dword [ebp - 0x1c]
movzx edx, byte [ebp + edx - 0x113]
or edx, eax
sub edx, ecx
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x114]
mov byte [ebp + eax - 0x1f8], dl
and dword [ebp - 0x4c], 0
jmp 0x10046ec9
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x1f8], 0
lea eax, [ebp - 0x1f8]
push eax
lea ecx, [ebp - 0x27c]
call fcn.1001c111
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x180]
mov ecx, dword [ebp - 0x1e4]
call fcn.10044247
mov dword [0x1061262c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x27c]
call fcn.1001c199
and dword [ebp - 0x58], 0
jmp 0x10046fe6
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xf
jae 0x10046ff9
mov eax, dword [ebp - 0x58]
mov byte [ebp + eax - 0x1f8], 0
jmp 0x10046fdf
mov eax, dword [0x1061256c]
cmp eax, dword [ebp - 0x54]
je 0x1004700d
mov eax, dword [0x1061262c]
cmp eax, dword [ebp - 0x54]
jne 0x10047025
mov ecx, dword [ebp + 0xc]
call fcn.1001bfdc
push eax
push dword [ebp + 8]
call fcn.100461ae
pop ecx
pop ecx
jmp 0x10047aad
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x10047aab
mov eax, dword [ebp - 0x5c]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x10047aab
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x5c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0x4550
jne 0x10047aab
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x74], 0
jbe 0x10047aab
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + eax + 0x78], 0
je 0x10047aab
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x34]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x24], edx
mov eax, 0xffff
mov word [ebp - 0x20], ax
or dword [ebp - 0x38], 0xffffffff
cmp dword [ebp + 0x10], 0
jbe 0x10047190
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x1004718b
mov dword [ebp - 0x190], 0x6345
mov dword [ebp - 0x1e0], 0x1000bb90
cmp dword [ebp - 0x190], 0x63ed
jle 0x1004713a
and dword [ebp - 0x74], 0
jmp 0x100470ee
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x2448
jge 0x1004713a
and dword [ebp - 0x64], 0
jmp 0x10047104
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x100
jge 0x10047138
mov eax, dword [ebp - 0x74]
xor eax, dword [ebp - 0x64]
cdq
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x1b0], edx
push dword [ebp - 0x1b0]
push dword [ebp - 0x1b4]
mov ecx, 0x106114d8
call fcn.1001bffc
jmp 0x100470fd
jmp 0x100470e7
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x20], ax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x190], 0x5f67
jge 0x10047165
mov edx, dword [ebp - 0x1e0]
mov ecx, 0x106114d8
call fcn.1001e507
jmp 0x10047181
or dword [ebp - 4], 0xffffffff
jmp 0x1004718b
jmp 0x1004741d
mov dword [ebp - 0x18c], 0x5c89
mov dword [ebp - 0x1a8], 0x1000bc14
cmp dword [ebp - 0x18c], 0x5fe4
jle 0x10047242
push 0
push 0xccc
push 0
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
and dword [ebp - 0x80], 0
jmp 0x100471d0
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0x1d88
jge 0x10047242
and dword [ebp - 0x6c], 0
jmp 0x100471e6
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x3769
jge 0x10047240
mov eax, dword [ebp - 0x80]
or eax, dword [ebp - 0x6c]
cdq
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x1bc], edx
push dword [ebp - 0x1bc]
push dword [ebp - 0x1c0]
lea ecx, [ebp - 0x294]
call fcn.1000dcda
pop ecx
pop ecx
mov dword [ebp - 0x1b8], eax
mov ecx, dword [ebp - 0x1b8]
call fcn.1001bfdc
push eax
call fcn.100530f6
pop ecx
lea ecx, [ebp - 0x294]
call fcn.1001bfd2
jmp 0x100471df
jmp 0x100471c9
mov dword [ebp - 4], 4
cmp dword [ebp - 0x18c], 0x593b
jge 0x10047261
push dword [ebp - 0x1a8]
call fcn.100530f6
pop ecx
jmp 0x1004727d
or dword [ebp - 4], 0xffffffff
jmp 0x10047287
mov eax, dword [0x10612624]
and eax, 1
jne 0x100472be
mov eax, dword [0x10612624]
or eax, 1
mov dword [0x10612624], eax
mov dword [ebp - 4], 6
mov ecx, 0x106125e4
call fcn.1004802a
push 0x100697e8
call fcn.100530cc
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x1061255d]
test eax, eax
je 0x10047324
mov ecx, 0x106125e4
call fcn.100480ef
movzx eax, al
test eax, eax
jne 0x10047324
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x178]
push eax
mov ecx, 0x106125e4
call fcn.100480f8
lea eax, [ebp - 0x204]
push eax
mov ecx, 0x106125e4
call fcn.100480e1
push eax
lea ecx, [ebp - 0x178]
call fcn.10048113
movzx eax, al
test eax, eax
je 0x10047324
lea ecx, [ebp - 0x178]
call fcn.1004810d
mov eax, dword [eax + 4]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x1004741d
mov ecx, 0x106125e4
call fcn.10048164
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x106125e4
call fcn.10048168
and dword [ebp - 0x3c], 0
jmp 0x10047356
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [eax + 0x18]
jae 0x1004741d
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x3c]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0
je 0x10047418
mov eax, dword [ebp - 0x188]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x264]
call fcn.1001c111
mov dword [ebp - 4], 7
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x264]
call fcn.10044247
mov dword [ebp - 0x184], eax
movzx eax, byte [0x1061255d]
test eax, eax
je 0x100473d5
mov ecx, 0x106125e4
call fcn.100480ef
movzx eax, al
test eax, eax
jne 0x100473f2
lea eax, [ebp - 0x184]
push eax
mov ecx, 0x106125e4
call fcn.10048126
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov byte [0x1061255d], 1
cmp dword [ebp - 0x38], 0xffffffff
jne 0x10047409
mov eax, dword [ebp - 0x184]
cmp eax, dword [ebp - 0x54]
jne 0x10047409
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.1001c199
jmp 0x1004734f
cmp dword [ebp + 0x10], 0
jne 0x1004743d
cmp dword [ebp - 0x38], 0xffffffff
je 0x1004743d
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x38]
mov ax, word [ecx + eax*2]
mov word [ebp - 0x20], ax
movzx eax, word [ebp - 0x20]
cmp eax, 0xffff
je 0x10047aab
movzx eax, word [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x34]
add edx, dword [ecx + 0x1c]
lea eax, [edx + eax*4]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x1c4]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x24]
jbe 0x10047aa6
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x28], edx
jae 0x10047aa6
mov eax, dword [0x10612624]
and eax, 2
jne 0x100474c7
mov eax, dword [0x10612624]
or eax, 2
mov dword [0x10612624], eax
mov dword [ebp - 4], 8
push 0x2024
call fcn.1004c784
pop ecx
mov byte [0x106125e0], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0xcc], 0
mov byte [ebp - 0xcb], 0x42
mov byte [ebp - 0xca], 0x43
mov byte [ebp - 0xc9], 0xb5
mov byte [ebp - 0xc8], 0xf8
mov byte [ebp - 0xc7], 0xc6
mov byte [ebp - 0xc6], 0x8b
mov byte [ebp - 0xc5], 0x8a
mov byte [ebp - 0xc4], 0xe5
mov byte [ebp - 0xc3], 0x5a
mov byte [ebp - 0xc2], 4
mov byte [ebp - 0xc1], 0x5e
mov byte [ebp - 0xc0], 0x41
mov byte [ebp - 0xbf], 0x1a
mov byte [ebp - 0xbe], 0x3c
mov byte [ebp - 0xbd], 0x82
mov byte [ebp - 0xbc], 0xcd
mov byte [ebp - 0xbb], 0xf0
mov byte [ebp - 0xba], 0xaa
mov byte [ebp - 0xb9], 0xbf
mov byte [ebp - 0xb8], 0x73
mov byte [ebp - 0xb7], 6
mov byte [ebp - 0xb6], 0x66
mov byte [ebp - 0xb5], 0x50
mov byte [ebp - 0xb4], 0x39
mov byte [ebp - 0xb3], 0xf3
mov byte [ebp - 0xb2], 0xea
mov byte [ebp - 0xb1], 0x39
mov byte [ebp - 0xb0], 0xfa
mov byte [ebp - 0xaf], 0x20
mov byte [ebp - 0xae], 0x4e
mov byte [ebp - 0xad], 0x22
mov byte [ebp - 0xac], 0xb8
mov byte [ebp - 0xab], 0x73
mov byte [ebp - 0xaa], 0x69
mov byte [ebp - 0xa9], 0x7d
mov byte [ebp - 0xa8], 0xe3
mov byte [ebp - 0xa7], 0xe8
mov byte [ebp - 0xa6], 0
mov byte [ebp - 0xa5], 0x17
mov byte [ebp - 0xa4], 0x13
mov byte [ebp - 0xa3], 0x22
mov byte [ebp - 0xa2], 0xdd
mov byte [ebp - 0xa1], 0xd6
mov byte [ebp - 0xa0], 0x7b
mov byte [ebp - 0x9f], 0xee
mov byte [ebp - 0x9e], 0x79
mov byte [ebp - 0x9d], 0xd3
mov byte [ebp - 0x9c], 0x8f
mov byte [ebp - 0x9b], 0xa
mov byte [ebp - 0x9a], 0x9c
mov byte [ebp - 0x99], 5
mov byte [ebp - 0x98], 0xbe
mov byte [ebp - 0x97], 0x77
mov byte [ebp - 0x96], 0x18
mov byte [ebp - 0x95], 0x26
mov byte [ebp - 0x94], 0xf
mov byte [ebp - 0x93], 0x37
mov byte [ebp - 0x92], 0xf7
mov byte [ebp - 0x91], 0x27
mov byte [ebp - 0x90], 0xa2
mov byte [ebp - 0x8f], 0x42
mov byte [ebp - 0x8e], pe_nt_image_headers32
mov byte [ebp - 0x8d], 0xb4
mov byte [ebp - 0x8c], 0xef
mov byte [ebp - 0x8b], 7
mov byte [ebp - 0x8a], 0xe6
mov byte [ebp - 0x89], 0x36
mov byte [ebp - 0x88], 0x99
mov byte [ebp - 0x87], 0xd4
mov byte [ebp - 0x86], 1
mov byte [ebp - 0x85], 8
mov byte [ebp - 0x84], 2
mov byte [ebp - 0x83], 0
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xcc]
and eax, 0x26
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xcc]
or ecx, 0x26
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xcc]
mov byte [ebp + eax - 0x2c], cl
mov dword [ebp - 0x14], 2
and dword [ebp - 0x48], 0
jmp 0x10047718
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x4a
jae 0x100477db
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xcc]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x1004775f
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xcc]
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xcc]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x10047710
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x48]
movzx eax, byte [ebp + eax - 0xce]
movsx eax, byte [ebp + eax - 0x2c]
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xcb]
and ecx, eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x48]
movzx eax, byte [ebp + eax - 0xce]
movsx eax, byte [ebp + eax - 0x2c]
mov edx, dword [ebp - 0x14]
movzx edx, byte [ebp + edx - 0xcb]
and edx, eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x48]
movzx eax, byte [ebp + eax - 0xce]
movsx eax, byte [ebp + eax - 0x2c]
mov esi, dword [ebp - 0x14]
movzx ebx, byte [ebp + esi - 0xcb]
add ebx, eax
sub ebx, edx
sub ebx, ecx
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xcc]
mov byte [ebp + eax - 0x2c], bl
and dword [ebp - 0x48], 0
jmp 0x10047710
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x2c], 0
mov dword [ebp - 0x194], 0x3309
mov dword [ebp - 0x1dc], 0x1000bc58
cmp dword [ebp - 0x194], 0x33f8
jle 0x1004789e
and dword [ebp - 0x50], 0
jmp 0x10047817
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x1a5
jge 0x1004789e
and dword [ebp - 0x60], 0
jmp 0x1004782d
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x525d
jge 0x10047899
and dword [ebp - 0x68], 0
jmp 0x10047843
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x30c
jge 0x10047897
and dword [ebp - 0x70], 0
jmp 0x10047859
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x7ad
jge 0x10047895
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x60]
sar eax, cl
xor eax, dword [ebp - 0x68]
or eax, dword [ebp - 0x70]
cdq
mov dword [ebp - 0x1cc], eax
mov dword [ebp - 0x1c8], edx
push dword [ebp - 0x1c8]
push dword [ebp - 0x1cc]
mov ecx, 0x106114d8
call fcn.1001bffc
jmp 0x10047852
jmp 0x1004783c
jmp 0x10047826
jmp 0x10047810
mov eax, dword [0x10612624]
and eax, 4
jne 0x100478d9
mov eax, dword [0x10612624]
or eax, 4
mov dword [0x10612624], eax
mov dword [ebp - 4], 9
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x1061265c
call fcn.1001c111
push 0x100697d9
call fcn.100530cc
pop ecx
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0xa
cmp dword [ebp - 0x194], 0x2f46
jge 0x100478fc
mov edx, dword [ebp - 0x1dc]
mov ecx, 0x106114d8
call fcn.1001e507
jmp 0x10047918
or dword [ebp - 4], 0xffffffff
jmp 0x10047922
and dword [ebp - 0x78], 0
jmp 0x1004792f
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 4
jae 0x1004793f
mov eax, dword [ebp - 0x78]
mov byte [ebp + eax - 0x2c], 0
jmp 0x10047928
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
movsx eax, byte [0x106125e0]
mov ecx, dword [ebp - 0x30]
movsx ecx, byte [ecx]
cmp ecx, eax
je 0x1004795f
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
jmp 0x10047945
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push dword [ebp - 0x28]
lea ecx, [ebp - 0x21c]
call fcn.100487e1
mov dword [ebp - 4], 0xc
push 0x1061265c
lea ecx, [ebp - 0x21c]
call fcn.1001c1a3
lea eax, [ebp - 0x1fc]
push eax
lea ecx, [ebp - 0x21c]
call fcn.1004800d
push dword [eax]
lea eax, [ebp - 0x200]
push eax
lea ecx, [ebp - 0x21c]
call fcn.10047ff9
push dword [eax]
lea ecx, [ebp - 0x24c]
call fcn.1004880a
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x24c]
push eax
call fcn.10045251
pop ecx
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0
je 0x10047a55
push dword [ebp - 0x30]
lea ecx, [ebp - 0x234]
call fcn.1001c111
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x1d0]
lea ecx, [ebp - 0x234]
call fcn.10044487
movzx eax, al
test eax, eax
je 0x10047a28
push 0
push dword [ebp - 0x1d0]
push 0
push dword [ebp - 0x174]
call fcn.10046809
add esp, 0x10
mov dword [ebp - 0x28], eax
jmp 0x10047a44
push 1
push 0
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x174]
call fcn.10046809
add esp, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x234]
call fcn.1001c199
jmp 0x10047a88
cmp dword [ebp + 0x10], 0
jne 0x10047a6b
mov ecx, dword [ebp + 0xc]
call fcn.1001bfdc
mov dword [ebp - 0x17c], eax
jmp 0x10047a75
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x17c], eax
push dword [ebp - 0x17c]
push dword [ebp + 8]
call fcn.100461ae
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x24c]
call fcn.10047fb2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.1001c199
mov eax, dword [ebp - 0x28]
jmp 0x10047aad
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret