Function at 0x45a631
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x344
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x45a930
mov dword [ebp - 0x5c], 0x714a
mov byte [ebp - 0x33], 0
movzx eax, byte [ebp - 0x33]
test eax, eax
je 0x45a660
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x5c], 0
je 0x45a8e3
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x90], 0
jmp 0x45a68d
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 2
jge 0x45a6a9
mov eax, dword [ebp - 0x90]
mov dword [ebp + eax*4 - 0x2b8], 0x1369
jmp 0x45a680
mov dword [ebp - 0x5c], 0
jmp 0x45a6b9
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 1
jg 0x45a8e1
mov dword [ebp - 8], 0xc6e5c7a0
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x88], 0
jmp 0x45a6ea
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 2
jge 0x45a706
mov eax, dword [ebp - 0x88]
mov dword [ebp + eax*4 - 0x278], 0xfffffff6
jmp 0x45a6dd
mov dword [ebp - 8], 0
jmp 0x45a716
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jg 0x45a736
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x278], 0xf6c74aa0
mov dword [ebp - 0x10], 0xf6c74aa0
jmp 0x45a70f
mov dword [ebp - 8], 0
jmp 0x45a746
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jg 0x45a8dc
mov dword [ebp - 0xac], 0x61780eec
mov dword [ebp - 0x10], 1
jmp 0x45a76a
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x45a8c5
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x278], 0
je 0x45a797
push 0xfffffffffffffff8
pop eax
test eax, eax
je 0x45a797
mov dword [ebp - 0x114], 1
jmp 0x45a79e
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x114]
mov dword [ebp + eax*4 - 0x278], ecx
mov eax, dword [ebp - 0xac]
add eax, 0x2617
cmp eax, dword [ebp - 0x5c]
jg 0x45a7ca
mov dword [ebp - 0x1dc], 1
jmp 0x45a7d1
and dword [ebp - 0x1dc], 0
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x1dc]
mov ecx, 0x43e2
sub ecx, eax
add ecx, dword [ebp - 8]
cmp ecx, 4
ja 0x45a7f6
mov dword [ebp - 0xd8], 1
jmp 0x45a7fd
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xac]
sub eax, dword [ebp - 0xd8]
sub eax, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
je 0x45a826
mov eax, 0xa3fd
test eax, eax
je 0x45a826
mov dword [ebp - 0x1d4], 1
jmp 0x45a82d
and dword [ebp - 0x1d4], 0
cmp dword [ebp - 0x1d4], 9
jl 0x45a842
mov dword [ebp - 0xd4], 1
jmp 0x45a849
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xac]
cmp dword [ebp - 0xd4], eax
jge 0x45a863
mov dword [ebp - 0x1d8], 1
jmp 0x45a86a
and dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x2b8]
cmp dword [ebp - 0x1d8], eax
je 0x45a888
mov dword [ebp - 0xe0], 1
jmp 0x45a88f
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x2b8]
cmp eax, dword [ebp - 0xe0]
jle 0x45a8ad
mov dword [ebp - 0x160], 1
jmp 0x45a8b4
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x290], eax
jmp 0x45a763
mov byte [ebp - 0x34], 0
movzx eax, byte [ebp - 0x34]
test eax, eax
je 0x45a8d7
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
jmp 0x45a73f
jmp 0x45a6b2
jmp 0x45a8f9
mov byte [ebp - 0x31], 0
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x45a8f9
push 0
push 0
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x288], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x280], eax
push dword [ebp - 0x280]
push 0x42c1
push 0
push 0x67de
push dword [ebp - 0x288]
call fcn.0045c081
add esp, 0x14
jmp 0x45bcfa
push 2
lea ecx, [ebp - 0x2a0]
call fcn.00401e5e
mov dword [ebp - 0x1c], 0
jmp 0x45a94d
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x45a969
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x2a0]
call fcn.004017e6
mov dword [eax], 5
jmp 0x45a946
mov dword [ebp - 0x1c], 0
jmp 0x45a979
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 4
jge 0x45a98f
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x334], 0
jmp 0x45a972
push 0
lea ecx, [ebp - 0x2a0]
call fcn.004017e6
mov dword [eax], 9
jmp 0x45a9c8
push 0
lea ecx, [ebp - 0x2a0]
call fcn.004017e6
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xe8]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x2a0]
call fcn.004017e6
cmp dword [eax], 0x13
jl 0x45aa8b
mov dword [ebp - 0x1ec], 0xfffffff7
mov dword [ebp - 0x204], 0xffffffff
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x1a0], eax
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x1a0]
mov dword [ebp + eax - 0x334], ecx
cmp dword [ebp - 0x1a0], 0
jne 0x45aa39
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x334]
push 4
pop ecx
imul ecx, ecx, 3
imul eax, dword [ebp + ecx - 0x334]
test eax, eax
je 0x45aa57
mov eax, 0x7308
test eax, eax
je 0x45aa57
mov eax, 0x727cad7d
test eax, eax
je 0x45aa57
mov dword [ebp - 0x26c], 1
jmp 0x45aa5e
and dword [ebp - 0x26c], 0
mov dword [ebp - 0x204], 0x7bff44ca
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x45aa86
push 0x19e0
push 0xddb
push 0
call dword [sym.imp.USER32.dll_DeleteMenu]
jmp 0x45a9a4
lea ecx, [ebp - 0x2a0]
call fcn.00401f30
lea eax, [ebp + 0x10]
mov dword [ebp - 0x23c], eax
push 2
lea ecx, [ebp - 0x200]
call fcn.00401e5e
mov dword [ebp - 0x2c8], 0xfffc
mov dword [ebp - 0x7c], 0
jmp 0x45aac6
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 2
jge 0x45aadf
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x200]
call fcn.004017e6
and dword [eax], 0
jmp 0x45aabf
push 1
lea ecx, [ebp - 0x200]
call fcn.004017e6
and dword [eax], 0
jmp 0x45ab15
push 1
lea ecx, [ebp - 0x200]
call fcn.004017e6
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xf0]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x200]
call fcn.004017e6
cmp dword [eax], 0x11
jne 0x45ab67
mov byte [ebp - 0x30], 0
movzx eax, byte [ebp - 0x30]
test eax, eax
je 0x45ab65
push 0x1c1f
push 0x223c
push 0x156d
push 0x261c
push 0xc83
push 0x12e4
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_RoundRect]
jmp 0x45aaf1
lea ecx, [ebp - 0x200]
call fcn.00401f30
lea eax, [ebp + 0x14]
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x2c], 5
mov dword [ebp - 0x94], 0
jmp 0x45ab9b
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 3
jge 0x45abb7
mov eax, dword [ebp - 0x94]
mov dword [ebp + eax*4 - 0x344], 0
jmp 0x45ab8e
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x2c]
cmp eax, 0xa115
je 0x45abd0
mov dword [ebp - 0x168], 1
jmp 0x45abd7
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x2c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2c]
mov dword [ebp + eax - 0x344], ecx
mov dword [ebp - 0x2c], 5
jmp 0x45ac00
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xfffffffd
jne 0x45ac20
mov byte [ebp - 0x41], 0
movzx eax, byte [ebp - 0x41]
test eax, eax
je 0x45ac1e
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
jmp 0x45abf9
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x1f0], eax
mov dword [ebp - 0x270], 0xffffffff
mov dword [ebp - 0x208], 0xfffffff6
mov dword [ebp - 0x2d4], 2
mov dword [ebp - 0x2dc], 0xcfe04822
mov dword [ebp - 0x2f0], 0x9f845d81
mov dword [ebp - 0x2f8], 0xbc662a2b
mov dword [ebp - 0x300], 0xffffffff
mov dword [ebp - 0x308], 0x938dd44a
mov dword [ebp - 0x310], 1
mov dword [ebp - 0x318], 0xfe8b0d19
mov dword [ebp - 0x338], 8
mov dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0xf8]
inc eax
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x238], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x18], 0xfe6e3245
mov dword [ebp - 0xc8], 0xffffffff
mov dword [ebp - 0x70], 0x94bb489f
mov dword [ebp - 0x1a8], 1
mov dword [ebp - 0x294], 0xffffffff
mov dword [ebp - 0x84], 0
jmp 0x45ad23
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 4
jge 0x45ad3f
mov eax, dword [ebp - 0x84]
mov dword [ebp + eax*4 - 0x2b0], 0x7507af9c
jmp 0x45ad16
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2d0], eax
cmp dword [ebp - 0x18], 0
jne 0x45ad5d
cmp dword [ebp - 0x18], 0
jne 0x45ad5d
and dword [ebp - 0x1c0], 0
jmp 0x45ad67
mov dword [ebp - 0x1c0], 1
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
cmp dword [ebp - 0xc8], eax
jne 0x45ad8d
mov dword [ebp - 0x100], 1
jmp 0x45ad94
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0x100], eax
je 0x45adab
mov dword [ebp - 0x250], 1
jmp 0x45adb2
and dword [ebp - 0x250], 0
cmp dword [ebp - 0x18], 0
je 0x45adbc
cmp dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x70], eax
jle 0x45add0
mov dword [ebp - 0x170], 1
jmp 0x45add7
and dword [ebp - 0x170], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x2b0]
cmp dword [ebp - 0x170], eax
jge 0x45adf7
mov dword [ebp - 0x108], 1
jmp 0x45adfe
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x1a8], eax
cmp dword [ebp - 0x1a8], 0
jne 0x45ae1f
mov dword [ebp - 0x110], 1
jmp 0x45ae26
and dword [ebp - 0x110], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2b0]
cmp dword [ebp - 0x110], eax
je 0x45ae47
mov dword [ebp - 0x178], 1
jmp 0x45ae4e
and dword [ebp - 0x178], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x2b0]
cmp dword [ebp - 0x178], eax
jg 0x45ae6e
mov dword [ebp - 0x118], 1
jmp 0x45ae75
and dword [ebp - 0x118], 0
cmp dword [ebp - 0x118], 0xc88f
jne 0x45ae8d
mov dword [ebp - 0x1d0], 1
jmp 0x45ae94
and dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x1d0], eax
je 0x45aeab
mov dword [ebp - 0x120], 1
jmp 0x45aeb2
and dword [ebp - 0x120], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x2b0]
cmp dword [ebp - 0x120], eax
je 0x45aed2
mov dword [ebp - 0x210], 1
jmp 0x45aed9
and dword [ebp - 0x210], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x304], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x2b0]
cmp dword [ebp - 0x70], eax
jge 0x45aeff
mov dword [ebp - 0x180], 1
jmp 0x45af06
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x180]
jg 0x45af1d
mov dword [ebp - 0x128], 1
jmp 0x45af24
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x294]
cmp dword [ebp - 0x128], eax
jne 0x45af3e
mov dword [ebp - 0x1b0], 1
jmp 0x45af45
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x38], 9
push 4
lea ecx, [ebp - 0x1e8]
call fcn.00401e5e
mov dword [ebp - 0xb4], 0xacb8f2ba
mov dword [ebp - 0x258], 7
mov dword [ebp - 0x2d8], 0xe945
mov dword [ebp - 0x9c], 0
jmp 0x45afa2
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 4
jge 0x45afc4
push dword [ebp - 0x9c]
lea ecx, [ebp - 0x1e8]
call fcn.004017e6
mov dword [eax], 0xe713a473
jmp 0x45af95
mov dword [ebp - 0x38], 0
jmp 0x45afd4
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffe8
jle 0x45b288
mov dword [ebp - 0x188], 0x9973063d
mov dword [ebp - 0xd0], 0xcc7bc501
mov dword [ebp - 0x8c], 0
jmp 0x45b00b
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 1
jge 0x45b024
mov eax, dword [ebp - 0x8c]
mov dword [ebp + eax*4 - 0x14], 0xa9831117
jmp 0x45affe
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x14], 3
jmp 0x45b049
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x14], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x14], 0
jl 0x45b283
mov dword [ebp - 0x158], 0xfffffffa
mov dword [ebp - 0x31c], 0x46aa1dd
mov dword [ebp - 0x2e0], 8
mov dword [ebp - 0x30c], 0x6fc33146
mov dword [ebp - 0x2ec], 0x1d0ee3b0
mov dword [ebp - 0x320], 0x29b4ccc
xor eax, eax
jne 0x45b0db
cmp dword [ebp - 0x38], 0x3072
jne 0x45b0af
mov dword [ebp - 0x130], 1
jmp 0x45b0b6
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x188]
neg eax
je 0x45b0d2
cmp dword [ebp - 0x38], 0
jne 0x45b0db
and dword [ebp - 0x138], 0
jmp 0x45b0e5
mov dword [ebp - 0x138], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
imul eax, dword [ebp - 0x138]
test eax, eax
jne 0x45b10c
mov eax, 0x446bd29a
test eax, eax
jne 0x45b10c
and dword [ebp - 0x1c8], 0
jmp 0x45b116
mov dword [ebp - 0x1c8], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x1c8]
add eax, 0x67f6a191
cmp dword [ebp - 0xb4], eax
jne 0x45b140
cmp dword [ebp - 0xb4], 0
push 2
lea ecx, [ebp - 0x1e8]
call fcn.004017e6
mov eax, dword [eax]
inc eax
cmp eax, dword [ebp - 0x38]
jge 0x45b161
mov dword [ebp - 0x140], 1
jmp 0x45b168
and dword [ebp - 0x140], 0
cmp dword [ebp - 0x140], 0xc3d076c5
jbe 0x45b180
mov dword [ebp - 0x190], 1
jmp 0x45b187
and dword [ebp - 0x190], 0
cmp dword [ebp - 0x190], 0xc545e213
je 0x45b19f
mov dword [ebp - 0x148], 1
jmp 0x45b1a6
and dword [ebp - 0x148], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
cmp dword [ebp - 0x148], eax
jne 0x45b1c4
mov dword [ebp - 0x1b8], 1
jmp 0x45b1cb
and dword [ebp - 0x1b8], 0
push 2
lea ecx, [ebp - 0x1e8]
call fcn.004017e6
mov ecx, dword [ebp - 0x1b8]
cmp ecx, dword [eax]
jg 0x45b1ee
mov dword [ebp - 0x150], 1
jmp 0x45b1f5
and dword [ebp - 0x150], 0
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x14]
lea ecx, [ebp - 0x1e8]
call fcn.004017e6
mov eax, dword [eax]
cmp eax, dword [ebp - 0x150]
jge 0x45b220
mov dword [ebp - 0x198], 1
jmp 0x45b227
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 0xa6d7
jne 0x45b24b
mov dword [ebp - 0x218], 1
jmp 0x45b252
and dword [ebp - 0x218], 0
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x14]
lea ecx, [ebp - 0x1e8]
call fcn.004017e6
mov dword [ebp - 0x258], 0xe2efe8e6
mov eax, dword [ebp - 0xd0]
dec eax
mov dword [ebp - 0xd0], eax
jmp 0x45b034
jmp 0x45afcd
lea ecx, [ebp - 0x1e8]
call fcn.00401f30
mov dword [ebp - 0x74], 0xf2c29a3d
mov dword [ebp - 0x40], 0x3ee67684
mov dword [ebp - 0x98], 0
jmp 0x45b2ba
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 1
jge 0x45b2d6
mov eax, dword [ebp - 0x98]
mov dword [ebp + eax*4 - 0x220], 0xaf1124f0
jmp 0x45b2ad
mov byte [ebp - 0x32], 0
movzx eax, byte [ebp - 0x32]
test eax, eax
je 0x45b2f8
push 0
push 0
push 0x43e
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 0x74], 0
jmp 0x45b308
mov eax, dword [ebp - 0x74]
dec eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jl 0x45b486
mov dword [ebp - 0x4c], 0x4fddd3f4
mov dword [ebp - 0x4c], 0
jmp 0x45b329
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jg 0x45b481
mov dword [ebp - 4], 0xfffe
mov dword [ebp - 0x64], 0
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], 0
jmp 0x45b358
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jg 0x45b47c
mov dword [ebp - 0xc4], 0xfff6
mov eax, dword [ebp - 4]
mov dword [ebp - 0x2f4], eax
cmp dword [ebp - 4], 0
je 0x45b38d
cmp dword [ebp - 4], 0
je 0x45b38d
mov dword [ebp - 0xdc], 1
jmp 0x45b394
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xdc]
lea eax, [eax + ecx + 0x38e486a5]
cmp eax, dword [ebp - 4]
jle 0x45b3b8
mov dword [ebp - 0xe4], 1
jmp 0x45b3bf
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x40], eax
xor eax, eax
sub eax, dword [ebp - 0x40]
jne 0x45b3e1
cmp dword [ebp - 0xc4], 0
jne 0x45b3e1
and dword [ebp - 0xec], 0
jmp 0x45b3eb
mov dword [ebp - 0xec], 1
mov eax, dword [ebp - 0xec]
sub eax, dword [ebp - 0xc4]
imul eax, dword [ebp - 0x4c]
add eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x64]
jne 0x45b40f
mov dword [ebp - 0xf4], 1
jmp 0x45b416
and dword [ebp - 0xf4], 0
imul eax, dword [ebp - 0xf4], 0xfffffffc
imul eax, dword [ebp - 0x4c]
test eax, eax
je 0x45b451
mov dword [ebp - 0x64], 0
jmp 0x45b435
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jg 0x45b44f
mov byte [ebp - 0x39], 0
movzx eax, byte [ebp - 0x39]
test eax, eax
je 0x45b44d
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x45b42e
jmp 0x45b477
mov dword [ebp - 0x40], 0
jmp 0x45b461
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 1
jge 0x45b477
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x220], 0
jmp 0x45b45a
jmp 0x45b351
jmp 0x45b322
jmp 0x45b301
mov eax, dword [ebp - 0x27c]
movzx eax, byte [eax]
test eax, eax
je 0x45bcbb
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0xc], 0x4a12b57e
mov dword [ebp - 0x28], 0x2edc7555
mov dword [ebp - 0x58], 4
mov dword [ebp - 0x60], 0x56574b60
mov dword [ebp - 0x28c], 0xffffffff
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x314], eax
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0xc], eax
jne 0x45b4e6
mov dword [ebp - 0xfc], 1
jmp 0x45b4ed
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x28], 0xc
jmp 0x45b506
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x1d
jne 0x45b6cf
mov dword [ebp - 0x68], 0x4adca1a1
push 3
lea ecx, [ebp - 0x2c4]
call fcn.00401e5e
mov dword [ebp - 0x78], 0
jmp 0x45b534
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 3
jge 0x45b550
push dword [ebp - 0x78]
lea ecx, [ebp - 0x2c4]
call fcn.004017e6
mov dword [eax], 0xffff
jmp 0x45b52d
cmp dword [ebp - 0x28], 0
jne 0x45b562
mov dword [ebp - 0x104], 1
jmp 0x45b569
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x104], eax
jge 0x45b580
mov dword [ebp - 0x10c], 1
jmp 0x45b587
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x58], eax
jge 0x45b5a4
mov dword [ebp - 0xcc], 1
jmp 0x45b5ab
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 0xcc]
cmp eax, dword [ebp - 0x68]
jne 0x45b5c6
mov dword [ebp - 0x11c], 1
jmp 0x45b5cd
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jne 0x45b5ea
or eax, 0xffffffff
jne 0x45b5ea
and dword [ebp - 0x124], 0
jmp 0x45b5f4
mov dword [ebp - 0x124], 1
mov eax, dword [ebp - 0x68]
imul eax, dword [ebp - 0x124]
test eax, eax
je 0x45b60e
mov dword [ebp - 0x12c], 1
jmp 0x45b615
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x12c]
sub ecx, dword [ebp - 0x68]
add eax, ecx
cmp eax, dword [ebp - 0xc]
je 0x45b634
mov dword [ebp - 0x260], 1
jmp 0x45b63b
and dword [ebp - 0x260], 0
mov eax, 0x6e483bbb
test eax, eax
je 0x45b6b6
mov dword [ebp - 0x230], 0xffffffff
mov dword [ebp - 0x58], 0
jmp 0x45b65e
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x10
jle 0x45b6b4
mov dword [ebp - 0x60], 0xfffffff3
jmp 0x45b674
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0xd
jne 0x45b6a8
mov dword [ebp - 0xc], 0
jmp 0x45b68a
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jge 0x45b6a6
push dword [ebp - 0xc]
lea ecx, [ebp - 0x2c4]
call fcn.004017e6
mov dword [eax], 0xfffc
jmp 0x45b683
jmp 0x45b66d
mov dword [ebp - 0x230], 0xe97312b9
jmp 0x45b657
jmp 0x45b6bf
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x28c], eax
lea ecx, [ebp - 0x2c4]
call fcn.00401f30
jmp 0x45b4ff
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x24], 0
jmp 0x45b6f5
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x45b708
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x50], 0xdd33
jmp 0x45b6ee
mov dword [ebp - 0x24], 0
jmp 0x45b718
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x45b72e
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0xa8], 0xa76aabec
jmp 0x45b711
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0xa8], 0
jmp 0x45b75c
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xa8]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0xa8], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xa8], 0
jl 0x45b921
mov dword [ebp - 0x6c], 0xbd035c5
mov dword [ebp - 0x284], 0x28451d77
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xa8]
cmp dword [ebp + eax*4 - 0x50], 0x987f
jl 0x45b7a4
mov dword [ebp - 0x134], 1
jmp 0x45b7ab
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jne 0x45b8c6
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xa8]
mov dword [ebp - 0x2fc], eax
cmp dword [ebp - 0x268], 0
jne 0x45b7e6
mov dword [ebp - 0x240], 1
jmp 0x45b7ed
and dword [ebp - 0x240], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xa8]
mov dword [ebp - 0x324], eax
cmp dword [ebp - 0x6c], 0
jne 0x45b817
mov eax, 0x128f3b8c
test eax, eax
jne 0x45b817
and dword [ebp - 0x13c], 0
jmp 0x45b821
mov dword [ebp - 0x13c], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xa8]
mov eax, dword [ebp + eax*4 - 0x50]
cmp dword [ebp - 0x13c], eax
jge 0x45b846
mov dword [ebp - 0x144], 1
jmp 0x45b84d
and dword [ebp - 0x144], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x50]
cmp dword [ebp - 0x144], eax
je 0x45b86b
mov dword [ebp - 0x14c], 1
jmp 0x45b872
and dword [ebp - 0x14c], 0
imul eax, dword [ebp - 0x14c], 0xc4f3
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0xa8]
jne 0x45b897
mov dword [ebp - 0x154], 1
jmp 0x45b89e
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x6c], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xa8]
mov eax, dword [ebp + eax*4 - 0x50]
cmp dword [ebp - 0x6c], eax
jne 0x45b8c6
and dword [ebp - 0x15c], 0
jmp 0x45b8d0
mov dword [ebp - 0x15c], 1
xor eax, eax
inc eax
sub eax, dword [ebp - 0x15c]
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0xa8]
cmp eax, dword [ebp + ecx*4 - 0x50]
jle 0x45b8f8
mov dword [ebp - 0x164], 1
jmp 0x45b8ff
and dword [ebp - 0x164], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xa8]
mov eax, dword [ebp + eax*4 - 0x50]
add eax, dword [ebp - 0x164]
mov dword [ebp - 0x284], eax
jmp 0x45b741
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x21c], eax
push 3
lea ecx, [ebp - 0xc0]
call fcn.00401e5e
mov dword [ebp - 0x48], 0xad59e57a
mov dword [ebp - 0x16c], 0x2a5bc422
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x20], 0
jmp 0x45b965
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x45b981
push dword [ebp - 0x20]
lea ecx, [ebp - 0xc0]
call fcn.004017e6
mov dword [eax], 0xc204
jmp 0x45b95e
mov dword [ebp - 0x20], 0
jmp 0x45b991
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x45b9a7
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x2e8], 0xffffffff
jmp 0x45b98a
mov dword [ebp - 0x48], 2
jmp 0x45b9b7
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jl 0x45ba19
mov dword [ebp - 0x80], 0x197f0a2
mov dword [ebp - 0x80], 0
jmp 0x45b9d4
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 2
jg 0x45b9f9
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x45b9f7
push 0
push 0
push 0x1ae7
push 0
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
jmp 0x45b9cd
mov byte [ebp - 0x2f], 0
movzx eax, byte [ebp - 0x2f]
test eax, eax
je 0x45ba17
push 0x17e4
push 0x25dd
push 0
call dword [sym.imp.USER32.dll_EnableMenuItem]
jmp 0x45b9b0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x2cc], eax
push 1
lea ecx, [ebp - 0xc0]
call fcn.004017e6
cmp dword [eax], 0
jne 0x45bb52
push 2
lea ecx, [ebp - 0xc0]
call fcn.004017e6
mov eax, dword [eax]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x174], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x174]
mov dword [ebp + eax - 0x2e8], ecx
cmp dword [ebp - 0x174], 0
jne 0x45ba81
mov dword [ebp - 0x17c], 1
jmp 0x45ba88
and dword [ebp - 0x17c], 0
cmp dword [ebp - 0x17c], 0xffffffff
jne 0x45ba9d
mov dword [ebp - 0x184], 1
jmp 0x45baa4
and dword [ebp - 0x184], 0
push 0
lea ecx, [ebp - 0xc0]
call fcn.004017e6
mov ecx, dword [ebp - 0x184]
cmp ecx, dword [eax]
jle 0x45bac7
mov dword [ebp - 0x18c], 1
jmp 0x45bace
and dword [ebp - 0x18c], 0
push 1
lea ecx, [ebp - 0xc0]
call fcn.004017e6
mov esi, dword [ebp - 0x18c]
imul esi, dword [eax]
push 2
lea ecx, [ebp - 0xc0]
call fcn.004017e6
cmp esi, dword [eax]
jne 0x45bb01
mov dword [ebp - 0x194], 1
jmp 0x45bb08
and dword [ebp - 0x194], 0
push 1
lea ecx, [ebp - 0xc0]
call fcn.004017e6
mov ecx, dword [ebp - 0x194]
cmp ecx, dword [eax]
jge 0x45bb2b
mov dword [ebp - 0x19c], 1
jmp 0x45bb32
and dword [ebp - 0x19c], 0
push 2
lea ecx, [ebp - 0xc0]
call fcn.004017e6
mov ecx, dword [ebp - 0x19c]
cmp ecx, dword [eax]
jne 0x45bb52
and dword [ebp - 0x1a4], 0
jmp 0x45bb5c
mov dword [ebp - 0x1a4], 1
mov dword [ebp - 0x48], 0x1ba
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x1a4]
jle 0x45bb7a
mov dword [ebp - 0x1ac], 1
jmp 0x45bb81
and dword [ebp - 0x1ac], 0
push 2
lea ecx, [ebp - 0xc0]
call fcn.004017e6
mov ecx, dword [ebp - 0x1ac]
cmp ecx, dword [eax]
je 0x45bba4
mov dword [ebp - 0x1b4], 1
jmp 0x45bbab
and dword [ebp - 0x1b4], 0
push 2
lea ecx, [ebp - 0xc0]
call fcn.004017e6
mov ecx, dword [ebp - 0x1b4]
imul ecx, dword [eax]
mov dword [ebp - 0x1f4], ecx
lea ecx, [ebp - 0xc0]
call fcn.00401f30
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x234], eax
and dword [ebp - 0xb0], 0
jmp 0x45bc2e
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
add eax, 0x28
mov ecx, dword [ebp - 0x54]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1bc]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0xb0], eax
jge 0x45bcb9
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x1cc]
mov eax, dword [eax]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1c4]
jb 0x45bcb4
mov eax, dword [ebp - 0x1bc]
mov eax, dword [eax]
push dword [eax + 0x38]
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
push dword [eax + 8]
call fcn.00455187
pop ecx
pop ecx
add eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x1cc]
mov eax, dword [eax]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x22c]
jae 0x45bcb4
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x234]
mov dword [ecx], eax
jmp 0x45bcb9
jmp 0x45bc14
jmp 0x45bcfa
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x254]
mov eax, dword [eax]
dec eax
not eax
mov ecx, dword [ebp - 0x25c]
and eax, dword [ecx]
mov ecx, dword [ebp - 0x264]
mov dword [ecx], eax
pop esi
mov esp, ebp
pop ebp
ret