Function at 0x1004855c
Capabilities:
Contain obfuscated stackstrings
Modify service
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063317
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x28c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
cmp dword [ebp + 0x10], 0
jbe 0x100485a3
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100485a3
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.10047ea2
pop ecx
pop ecx
jmp 0x100496f9
cmp dword [ebp + 0x10], 0
jne 0x10048fa4
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.10045e97
mov dword [ebp - 0x5c], eax
cmp dword [0x1060c14c], 0
jne 0x10048f78
mov dword [ebp - 0x19c], 0x6111
lea eax, [ebp - 0x19c]
push eax
call fcn.10047d72
pop ecx
mov dword [ebp - 0x164], eax
mov byte [ebp - 0x154], 0xb
mov byte [ebp - 0x153], 0x4b
mov byte [ebp - 0x152], 5
mov byte [ebp - 0x151], 0xa
mov byte [ebp - 0x150], 0xc
mov byte [ebp - 0x14f], 0x25
mov byte [ebp - 0x14e], 8
mov byte [ebp - 0x14d], 0x38
mov byte [ebp - 0x14c], 4
mov byte [ebp - 0x14b], 0xa
mov byte [ebp - 0x14a], 7
mov byte [ebp - 0x149], 0xc
mov byte [ebp - 0x148], 6
mov byte [ebp - 0x147], 0x1a
mov byte [ebp - 0x146], 1
mov byte [ebp - 0x145], 0x16
mov byte [ebp - 0x144], 0
mov byte [ebp - 0x143], 0x22
mov byte [ebp - 0x142], 3
mov byte [ebp - 0x141], 0x11
mov byte [ebp - 0x140], 9
mov byte [ebp - 0x13f], 0x38
mov byte [ebp - 0x13e], 2
mov byte [ebp - 0x13d], 0x1a
mov byte [ebp - 0x13c], 0x4c
mov byte [ebp - 0x13b], 0xb9
mov byte [ebp - 0x13a], 0xf5
mov byte [ebp - 0x139], 0x9e
mov byte [ebp - 0x138], 0x61
mov byte [ebp - 0x137], 0xb8
mov byte [ebp - 0x136], 0x98
mov byte [ebp - 0x135], 0x20
mov byte [ebp - 0x134], 0x39
mov byte [ebp - 0x133], 0xbc
mov byte [ebp - 0x132], 0x76
mov byte [ebp - 0x131], 0x1b
mov byte [ebp - 0x130], 0x1d
mov byte [ebp - 0x12f], 0xd7
mov byte [ebp - 0x12e], 0xfe
mov byte [ebp - 0x12d], 0x8e
mov byte [ebp - 0x12c], 0x64
mov byte [ebp - 0x12b], 0x4c
mov byte [ebp - 0x12a], 0x33
mov byte [ebp - 0x129], 0x4b
mov byte [ebp - 0x128], 0xd8
mov byte [ebp - 0x127], 0x3f
mov byte [ebp - 0x126], 0xf3
mov byte [ebp - 0x125], 0x9b
mov byte [ebp - 0x124], 0x1c
mov byte [ebp - 0x123], 0x86
mov byte [ebp - 0x122], 0xc8
mov byte [ebp - 0x121], 0x76
mov byte [ebp - 0x120], 0xe3
mov byte [ebp - 0x11f], 8
mov byte [ebp - 0x11e], 0xae
mov byte [ebp - 0x11d], 0xa9
mov byte [ebp - 0x11c], 0xb2
mov byte [ebp - 0x11b], 0x20
mov byte [ebp - 0x11a], 0x21
mov byte [ebp - 0x119], 0xcb
mov byte [ebp - 0x118], 0x6c
mov byte [ebp - 0x117], 0xf7
mov byte [ebp - 0x116], 0x6f
mov byte [ebp - 0x115], 0xcb
mov byte [ebp - 0x114], 0x66
mov byte [ebp - 0x113], 0x55
mov byte [ebp - 0x112], 0x9c
mov byte [ebp - 0x111], 0xe5
mov byte [ebp - 0x110], 0x6c
mov byte [ebp - 0x10f], 0xbb
mov byte [ebp - 0x10e], 0xcd
mov byte [ebp - 0x10d], 0x60
mov byte [ebp - 0x10c], 0x38
mov byte [ebp - 0x10b], 0x6d
mov byte [ebp - 0x10a], 0x8b
mov byte [ebp - 0x109], 0x60
mov byte [ebp - 0x108], 0x6b
mov byte [ebp - 0x107], 0x30
mov byte [ebp - 0x106], 0x5b
mov byte [ebp - 0x105], 0x24
mov byte [ebp - 0x104], 0xe
mov byte [ebp - 0x103], 0xcd
mov byte [ebp - 0x102], 0x75
mov byte [ebp - 0x101], 0x7f
mov byte [ebp - 0x100], 6
mov byte [ebp - 0xff], 0x42
mov byte [ebp - 0xfe], 0x14
mov byte [ebp - 0xfd], 0xe8
mov byte [ebp - 0xfc], 0x29
mov byte [ebp - 0xfb], 0x1a
mov byte [ebp - 0xfa], 0x32
mov byte [ebp - 0xf9], 0x68
mov byte [ebp - 0xf8], 0x4a
mov byte [ebp - 0xf7], 0xd5
mov byte [ebp - 0xf6], 0x20
mov byte [ebp - 0xf5], 0x4e
mov byte [ebp - 0xf4], 0xe9
mov byte [ebp - 0xf3], 0xea
mov byte [ebp - 0xf2], 0x53
mov byte [ebp - 0xf1], 0x64
mov byte [ebp - 0xf0], 0xe7
mov byte [ebp - 0xef], 0xa
mov byte [ebp - 0xee], 0x31
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x154]
or eax, 0x33
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x154]
and ecx, 0x33
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x154]
mov byte [ebp + ecx - 0x184], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x40], 0
jmp 0x10048904
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x67
jae 0x10048b26
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x154]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x10048a9e
mov dword [ebp - 0x160], 0x60
mov dword [ebp - 0x1ac], 0x1000c3e8
cmp dword [ebp - 0x160], 0x42a
jle 0x10048a33
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x2f
push 0x25f8
push 0x51f
push 0
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
and dword [ebp - 0x58], 0
jmp 0x1004897c
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x5e2f
jge 0x10048a33
and dword [ebp - 0x48], 0
jmp 0x10048996
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x1171
jge 0x10048a2e
and dword [ebp - 0x7c], 0
jmp 0x100489b0
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x2b6
jge 0x10048a29
and dword [ebp - 0x50], 0
jmp 0x100489c6
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x20f8
jge 0x10048a27
mov eax, dword [ebp - 0x7c]
imul eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x48]
xor eax, dword [ebp - 0x58]
cdq
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], edx
push dword [ebp - 0x194]
push dword [ebp - 0x198]
lea ecx, [ebp - 0x284]
call fcn.1000d8f0
pop ecx
pop ecx
mov dword [ebp - 0x18c], eax
mov ecx, dword [ebp - 0x18c]
call fcn.1002fc5c
push eax
call fcn.1004cdd6
pop ecx
lea ecx, [ebp - 0x284]
call fcn.1002fc52
jmp 0x100489bf
jmp 0x100489a9
jmp 0x1004898f
jmp 0x10048975
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x154]
inc eax
mov dword [ebp - 0x40], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x160], 0xffffff1c
jge 0x10048a5e
push dword [ebp - 0x1ac]
call fcn.1004cdd6
pop ecx
jmp 0x10048a7a
or dword [ebp - 4], 0xffffffff
jmp 0x10048a84
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x154]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x100488fc
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x153]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x40]
movzx ecx, byte [ebp + ecx - 0x156]
movsx ecx, byte [ebp + ecx - 0x184]
add eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x153]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x40]
movzx edx, byte [ebp + edx - 0x156]
movsx edx, byte [ebp + edx - 0x184]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x153]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x40]
movzx edx, byte [ebp + edx - 0x156]
movsx edx, byte [ebp + edx - 0x184]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x154]
mov byte [ebp + ecx - 0x184], al
and dword [ebp - 0x40], 0
jmp 0x100488fc
mov dword [ebp - 0x170], 0x176f
mov dword [ebp - 0x1bc], 0x1000c408
cmp dword [ebp - 0x170], 0x1b07
jle 0x10048bf6
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
and dword [ebp - 0x74], 0
jmp 0x10048b61
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x6450
jge 0x10048bf6
and dword [ebp - 0x60], 0
jmp 0x10048b7b
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x6ab6
jge 0x10048bf1
and dword [ebp - 0x78], 0
jmp 0x10048b91
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x2f60
jge 0x10048bef
mov eax, dword [ebp - 0x74]
imul eax, dword [ebp - 0x60]
and eax, dword [ebp - 0x78]
cdq
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1a0], edx
push dword [ebp - 0x1a0]
push dword [ebp - 0x1a4]
lea ecx, [ebp - 0x254]
call fcn.1000d8f0
pop ecx
pop ecx
mov dword [ebp - 0x1c0], eax
mov ecx, dword [ebp - 0x1c0]
call fcn.1002fc5c
push eax
call fcn.1004cdd6
pop ecx
lea ecx, [ebp - 0x254]
call fcn.1002fc52
jmp 0x10048b8a
jmp 0x10048b74
jmp 0x10048b5a
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x184], 0
mov dword [ebp - 4], 2
cmp dword [ebp - 0x170], 0x14a0
jge 0x10048c23
push dword [ebp - 0x1bc]
call fcn.1004cdd6
pop ecx
jmp 0x10048c3f
or dword [ebp - 4], 0xffffffff
jmp 0x10048c49
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0x26c]
call fcn.1003e1f9
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x1b0]
call fcn.10045e97
mov dword [0x1060c14c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x26c]
call fcn.1003e281
and dword [ebp - 0x68], 0
jmp 0x10048ca6
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xe
jae 0x10048cb9
mov eax, dword [ebp - 0x68]
mov byte [ebp + eax - 0x184], 0
jmp 0x10048c9f
mov byte [ebp - 0xac], 5
mov byte [ebp - 0xab], 0xd2
mov byte [ebp - 0xaa], 9
mov byte [ebp - 0xa9], 6
mov byte [ebp - 0xa8], 1
mov byte [ebp - 0xa7], 0x11
mov byte [ebp - 0xa6], 7
mov byte [ebp - 0xa5], 0
mov byte [ebp - 0xa4], 8
mov byte [ebp - 0xa3], 0x1d
mov byte [ebp - 0xa2], 2
mov byte [ebp - 0xa1], 0xa
mov byte [ebp - 0xa0], 0x13
mov byte [ebp - 0x9f], 0x36
mov byte [ebp - 0x9e], 0x68
mov byte [ebp - 0x9d], 0xf1
mov byte [ebp - 0x9c], 0xcb
mov byte [ebp - 0x9b], 0x91
mov byte [ebp - 0x9a], 0x4f
mov byte [ebp - 0x99], 0xd
mov byte [ebp - 0x98], 0x4a
mov byte [ebp - 0x97], 0x68
mov byte [ebp - 0x96], 0xad
mov byte [ebp - 0x95], 0x4d
mov byte [ebp - 0x94], pe_nt_image_headers32
mov byte [ebp - 0x93], 0x5a
mov byte [ebp - 0x92], 0xcd
mov byte [ebp - 0x91], 0x90
mov byte [ebp - 0x90], 0x26
mov byte [ebp - 0x8f], 0x7d
mov byte [ebp - 0x8e], 0xd2
mov byte [ebp - 0x8d], 4
mov byte [ebp - 0x8c], 6
mov byte [ebp - 0x8b], 0x35
mov byte [ebp - 0x8a], 0
mov byte [ebp - 0x89], 0x13
mov byte [ebp - 0x88], 0xa
mov byte [ebp - 0x87], 0x26
mov byte [ebp - 0x86], 4
mov byte [ebp - 0x85], 0x11
mov byte [ebp - 0x84], 0xb
mov byte [ebp - 0x83], 7
mov byte [ebp - 0x82], 0xc
mov byte [ebp - 0x81], 0
mov byte [ebp - 0x80], 3
mov byte [ebp - 0x7f], 0x12
mov byte [ebp - 0x7e], 0xd
mov byte [ebp - 0x7d], 0x36
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xac]
or eax, 0xb7
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xac]
and ecx, 0xb7
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xac]
mov byte [ebp + ecx - 0x1d0], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0x70], 0
jmp 0x10048e50
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x30
jae 0x10048efa
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xac]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x10048e97
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0xac]
inc eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0xac]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x10048e48
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0xab]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x70]
movzx ecx, byte [ebp + ecx - 0xae]
movsx ecx, byte [ebp + ecx - 0x1d0]
or eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0xab]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x70]
movzx edx, byte [ebp + edx - 0xae]
movsx edx, byte [ebp + edx - 0x1d0]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0xac]
mov byte [ebp + ecx - 0x1d0], al
and dword [ebp - 0x70], 0
jmp 0x10048e48
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x1d0], 0
lea eax, [ebp - 0x1d0]
push eax
lea ecx, [ebp - 0x29c]
call fcn.1003e1f9
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 4], 5
mov edx, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x1b4]
call fcn.10045e97
mov dword [0x1060c254], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.1003e281
and dword [ebp - 0x4c], 0
jmp 0x10048f65
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xf
jae 0x10048f78
mov eax, dword [ebp - 0x4c]
mov byte [ebp + eax - 0x1d0], 0
jmp 0x10048f5e
mov eax, dword [0x1060c14c]
cmp eax, dword [ebp - 0x5c]
je 0x10048f8c
mov eax, dword [0x1060c254]
cmp eax, dword [ebp - 0x5c]
jne 0x10048fa4
mov ecx, dword [ebp + 0xc]
call fcn.1002fc5c
push eax
push dword [ebp + 8]
call fcn.10047ea2
pop ecx
pop ecx
jmp 0x100496f9
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x100496f7
mov eax, dword [ebp - 0x54]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x100496f7
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x54]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0x4550
jne 0x100496f7
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x74], 0
jbe 0x100496f7
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + eax + 0x78], 0
je 0x100496f7
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x30]
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 0x10049045
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x10049040
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x20], ax
jmp 0x100491db
mov eax, dword [0x1060c2a8]
and eax, 1
jne 0x1004907c
mov eax, dword [0x1060c2a8]
or eax, 1
mov dword [0x1060c2a8], eax
mov dword [ebp - 4], 6
mov ecx, 0x1060c260
call fcn.100448ab
push 0x10063541
call fcn.1004cdac
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x1060c14a]
test eax, eax
je 0x100490e2
mov ecx, 0x1060c260
call fcn.10049d64
movzx eax, al
test eax, eax
jne 0x100490e2
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x15c]
push eax
mov ecx, 0x1060c260
call fcn.10044883
lea eax, [ebp - 0x1d8]
push eax
mov ecx, 0x1060c260
call fcn.10044875
push eax
lea ecx, [ebp - 0x15c]
call fcn.10044898
movzx eax, al
test eax, eax
je 0x100490e2
lea ecx, [ebp - 0x15c]
call fcn.10049d6d
mov eax, dword [eax + 4]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x100491db
mov ecx, 0x1060c260
call fcn.10049db1
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x1060c260
call fcn.10049db5
and dword [ebp - 0x3c], 0
jmp 0x10049114
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 0x100491db
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x3c]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0
je 0x100491d6
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x23c]
call fcn.1003e1f9
mov dword [ebp - 4], 7
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x23c]
call fcn.10045e97
mov dword [ebp - 0x174], eax
movzx eax, byte [0x1060c14a]
test eax, eax
je 0x10049193
mov ecx, 0x1060c260
call fcn.10049d64
movzx eax, al
test eax, eax
jne 0x100491b0
lea eax, [ebp - 0x174]
push eax
mov ecx, 0x1060c260
call fcn.10049d73
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov byte [0x1060c14a], 1
cmp dword [ebp - 0x38], 0xffffffff
jne 0x100491c7
mov eax, dword [ebp - 0x174]
cmp eax, dword [ebp - 0x5c]
jne 0x100491c7
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x23c]
call fcn.1003e281
jmp 0x1004910d
cmp dword [ebp + 0x10], 0
jne 0x100491fb
cmp dword [ebp - 0x38], 0xffffffff
je 0x100491fb
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
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 0x100496f7
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax + 0x1c]
movzx eax, word [ebp - 0x20]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x24]
jbe 0x100496f2
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 0x100496f2
mov eax, dword [0x1060c2a8]
and eax, 2
jne 0x10049285
mov eax, dword [0x1060c2a8]
or eax, 2
mov dword [0x1060c2a8], eax
mov dword [ebp - 4], 8
push 0x7b81
call fcn.10043bf3
pop ecx
mov byte [0x1060c258], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0xec], 1
mov byte [ebp - 0xeb], 0xb4
mov byte [ebp - 0xea], 2
mov byte [ebp - 0xe9], 0
mov byte [ebp - 0xe8], 0x37
mov byte [ebp - 0xe7], 0x6c
mov byte [ebp - 0xe6], 0xaa
mov byte [ebp - 0xe5], 0x7a
mov byte [ebp - 0xe4], 0xc7
mov byte [ebp - 0xe3], 0xd9
mov byte [ebp - 0xe2], 0x5d
mov byte [ebp - 0xe1], 0x5d
mov byte [ebp - 0xe0], 0xdf
mov byte [ebp - 0xdf], 0x38
mov byte [ebp - 0xde], 0x97
mov byte [ebp - 0xdd], 0xe9
mov byte [ebp - 0xdc], pe_nt_image_headers32
mov byte [ebp - 0xdb], 0xab
mov byte [ebp - 0xda], 0xda
mov byte [ebp - 0xd9], 0x74
mov byte [ebp - 0xd8], 0x26
mov byte [ebp - 0xd7], 0x7e
mov byte [ebp - 0xd6], 0xc0
mov byte [ebp - 0xd5], 0x28
mov byte [ebp - 0xd4], 0xea
mov byte [ebp - 0xd3], 0x68
mov byte [ebp - 0xd2], 0x53
mov byte [ebp - 0xd1], 0x7b
mov byte [ebp - 0xd0], 0x52
mov byte [ebp - 0xcf], 0x88
mov byte [ebp - 0xce], 0x89
mov byte [ebp - 0xcd], 0x55
mov byte [ebp - 0xcc], 0x85
mov byte [ebp - 0xcb], 7
mov byte [ebp - 0xca], 0x28
mov byte [ebp - 0xc9], 0xf8
mov byte [ebp - 0xc8], 0x46
mov byte [ebp - 0xc7], 0x41
mov byte [ebp - 0xc6], 0x85
mov byte [ebp - 0xc5], 0x4a
mov byte [ebp - 0xc4], 0xf9
mov byte [ebp - 0xc3], 0x19
mov byte [ebp - 0xc2], 0xfb
mov byte [ebp - 0xc1], 0x83
mov byte [ebp - 0xc0], 0xcd
mov byte [ebp - 0xbf], 0xa9
mov byte [ebp - 0xbe], 0x8a
mov byte [ebp - 0xbd], 0xe6
mov byte [ebp - 0xbc], 0x79
mov byte [ebp - 0xbb], 0x8b
mov byte [ebp - 0xba], 0xe8
mov byte [ebp - 0xb9], 0x14
mov byte [ebp - 0xb8], 0x15
mov byte [ebp - 0xb7], 0xe7
mov byte [ebp - 0xb6], 0x92
mov byte [ebp - 0xb5], pe_nt_image_headers32
mov byte [ebp - 0xb4], 0x98
mov byte [ebp - 0xb3], 0x7d
mov byte [ebp - 0xb2], 0xd
mov byte [ebp - 0xb1], 0x6e
mov byte [ebp - 0xb0], 0
mov byte [ebp - 0xaf], 8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xec]
or eax, 0xd8
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xec]
and ecx, 0xd8
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xec]
mov byte [ebp + ecx - 0x34], al
mov dword [ebp - 0x1c], 2
and dword [ebp - 0x64], 0
jmp 0x10049487
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3e
jae 0x10049528
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xec]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x1c], eax
jne 0x100494ce
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0xec]
inc eax
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0xec]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x1c], eax
jmp 0x1004947f
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0xeb]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x64]
movzx ecx, byte [ebp + ecx - 0xee]
movsx ecx, byte [ebp + ecx - 0x34]
or eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0xeb]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x64]
movzx edx, byte [ebp + edx - 0xee]
movsx edx, byte [ebp + edx - 0x34]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0xec]
mov byte [ebp + ecx - 0x34], al
and dword [ebp - 0x64], 0
jmp 0x1004947f
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x34], 0
mov eax, dword [0x1060c2a8]
and eax, 4
jne 0x1004956e
mov eax, dword [0x1060c2a8]
or eax, 4
mov dword [0x1060c2a8], eax
mov dword [ebp - 4], 9
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x1060c2ac
call fcn.1003e1f9
push 0x10063532
call fcn.1004cdac
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0x6c], 0
jmp 0x1004957b
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 4
jae 0x1004958b
mov eax, dword [ebp - 0x6c]
mov byte [ebp + eax - 0x34], 0
jmp 0x10049574
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movsx eax, byte [eax]
movsx ecx, byte [0x1060c258]
cmp eax, ecx
je 0x100495ab
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
jmp 0x10049591
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
lea ecx, [ebp - 0x1f4]
call fcn.1004a02c
mov dword [ebp - 4], 0xa
push 0x1060c2ac
lea ecx, [ebp - 0x1f4]
call fcn.1003e28b
lea eax, [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0x1f4]
call fcn.10044ce8
push dword [eax]
lea eax, [ebp - 0x1dc]
push eax
lea ecx, [ebp - 0x1f4]
call fcn.10044cd4
push dword [eax]
lea ecx, [ebp - 0x224]
call fcn.1004a055
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x224]
push eax
call fcn.10046cfc
pop ecx
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 0
je 0x100496a1
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x20c]
call fcn.1003e1f9
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x1b8]
lea ecx, [ebp - 0x20c]
call fcn.10046503
movzx eax, al
test eax, eax
je 0x10049674
push 0
push dword [ebp - 0x1b8]
push 0
push dword [ebp - 0x158]
call fcn.1004855c
add esp, 0x10
mov dword [ebp - 0x28], eax
jmp 0x10049690
push 1
push 0
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x158]
call fcn.1004855c
add esp, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x20c]
call fcn.1003e281
jmp 0x100496d4
cmp dword [ebp + 0x10], 0
jne 0x100496b7
mov ecx, dword [ebp + 0xc]
call fcn.1002fc5c
mov dword [ebp - 0x16c], eax
jmp 0x100496c1
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x16c], eax
push dword [ebp - 0x16c]
push dword [ebp + 8]
call fcn.10047ea2
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x224]
call fcn.10044666
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f4]
call fcn.1003e281
mov eax, dword [ebp - 0x28]
jmp 0x100496f9
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