Function at 0x10048ca4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069449
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x710
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x31c], 0xee3
mov dword [ebp - 0x4b4], 0x1000bd40
cmp dword [ebp - 0x31c], 0x1120
jle 0x10048df3
and dword [ebp - 0x134], 0
jmp 0x10048d03
mov eax, dword [ebp - 0x134]
inc eax
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0x6ac6
jge 0x10048df3
and dword [ebp - 0x174], 0
jmp 0x10048d29
mov eax, dword [ebp - 0x174]
inc eax
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0x3cd8
jge 0x10048dee
and dword [ebp - 0x160], 0
jmp 0x10048d4f
mov eax, dword [ebp - 0x160]
inc eax
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0x4215
jge 0x10048de9
and dword [ebp - 0x94], 0
jmp 0x10048d75
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0x3ef4
jge 0x10048de4
mov eax, dword [ebp - 0x174]
and eax, dword [ebp - 0x160]
and eax, dword [ebp - 0x94]
xor eax, dword [ebp - 0x134]
cdq
mov dword [ebp - 0x4c8], eax
mov dword [ebp - 0x4c4], edx
push dword [ebp - 0x4c4]
push dword [ebp - 0x4c8]
lea ecx, [ebp - 0x6f0]
call fcn.1000dcda
pop ecx
pop ecx
mov dword [ebp - 0x46c], eax
mov ecx, dword [ebp - 0x46c]
call fcn.1001bfdc
push eax
call fcn.100530f6
pop ecx
lea ecx, [ebp - 0x6f0]
call fcn.1001bfd2
jmp 0x10048d68
jmp 0x10048d42
jmp 0x10048d1c
jmp 0x10048cf6
and dword [ebp - 4], 0
cmp dword [ebp - 0x31c], 0xb62
jge 0x10048e0f
push dword [ebp - 0x4b4]
call fcn.100530f6
pop ecx
jmp 0x10048e2b
or dword [ebp - 4], 0xffffffff
jmp 0x10048e35
mov dword [ebp - 0x9c], 0x48bbca63
mov dword [ebp - 0x4bc], 0x624cdb8f
mov dword [ebp - 0x640], 0x7a1245c8
mov dword [ebp - 0x65c], 0x307e4a90
mov dword [ebp - 0x624], 0x2f3f6085
mov dword [ebp - 0x3c0], 0xffffffff
mov dword [ebp - 0x3c8], 0x4ca77904
mov dword [ebp - 0x694], 0x5452fa81
push 3
lea ecx, [ebp - 0x584]
call fcn.1001c22d
mov dword [ebp - 4], 2
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x62c], 0xc8f94914
push 1
lea ecx, [ebp - 0x5c8]
call fcn.1001c22d
mov byte [ebp - 4], 3
mov dword [ebp - 0x1d8], 0xffffffff
mov dword [ebp - 0x18], 0
jmp 0x10048ed8
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x10048ef4
push dword [ebp - 0x18]
lea ecx, [ebp - 0x584]
call fcn.1001c2cb
mov dword [eax], 0x7ea4c57
jmp 0x10048ed1
mov dword [ebp - 0x18], 0
jmp 0x10048f04
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x10048f20
push dword [ebp - 0x18]
lea ecx, [ebp - 0x5c8]
call fcn.1001c2cb
mov dword [eax], 0xfffffffd
jmp 0x10048efd
mov dword [ebp - 0x9c], 6
jmp 0x10048f39
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0x13
jle 0x100490cf
mov dword [ebp - 0x1d0], 0xffffffff
mov dword [ebp - 0x458], 0x707dfe4
mov dword [ebp - 0x53c], 0x4fd9e2a8
mov dword [ebp - 0x664], 0x3c67ee39
mov dword [ebp - 0x634], 0xbb94d0f
mov dword [ebp - 0x6b0], 0x355fff83
push 1
lea ecx, [ebp - 0x670]
call fcn.1001c22d
mov byte [ebp - 4], 4
mov dword [ebp - 0x63c], 0xb91e
mov dword [ebp - 0x674], 0xd2daffa8
mov dword [ebp - 0x1c4], 0xffffffff
mov dword [ebp - 0x168], 0
jmp 0x10048fca
mov eax, dword [ebp - 0x168]
inc eax
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 1
jge 0x10048fec
push dword [ebp - 0x168]
lea ecx, [ebp - 0x670]
call fcn.1001c2cb
mov dword [eax], 0x7af2c9a1
jmp 0x10048fbd
cmp dword [ebp - 0x1d0], 0
jne 0x10049001
mov dword [ebp - 0x450], 1
jmp 0x10049008
and dword [ebp - 0x450], 0
mov eax, dword [ebp - 0x450]
mov dword [ebp - 0x458], eax
mov eax, dword [ebp - 0x458]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x4bc]
cmp eax, dword [ebp - 0x1d0]
jg 0x1004903a
mov dword [ebp - 0x444], 1
jmp 0x10049041
and dword [ebp - 0x444], 0
mov eax, dword [ebp - 0x444]
mov dword [ebp - 0x53c], eax
mov eax, dword [ebp - 0x1c4]
mov ecx, dword [ebp - 0x1c4]
dec ecx
mov dword [ebp - 0x1c4], ecx
test eax, eax
je 0x1004909f
push 2
lea ecx, [ebp - 0x584]
call fcn.1001c2cb
cmp dword [eax], 0
je 0x1004909f
mov eax, dword [ebp - 0x1d8]
add eax, dword [ebp - 0x208]
mov ecx, dword [ebp - 0x1d8]
inc ecx
mov dword [ebp - 0x1d8], ecx
test eax, eax
je 0x1004909f
mov dword [ebp - 0x3e4], 1
jmp 0x100490a6
and dword [ebp - 0x3e4], 0
push 1
lea ecx, [ebp - 0x584]
call fcn.1001c2cb
mov ecx, dword [ebp - 0x3e4]
mov dword [eax], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x670]
call fcn.1001c2af
jmp 0x10048f2c
cmp dword [ebp - 0x3c0], 0
je 0x10049107
mov dword [ebp - 0x544], 7
mov byte [ebp - 0x4d], 0
movzx eax, byte [ebp - 0x4d]
test eax, eax
je 0x100490f8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x544], 0x64a0f0c0
jmp 0x1004926c
mov dword [ebp - 0xa4], 0
jmp 0x10049120
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 1
jge 0x10049139
mov eax, dword [ebp - 0xa4]
mov dword [ebp + eax*4 - 0x80], 0x8dbec8b2
jmp 0x10049113
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x80]
add ecx, dword [ebp - 0x3c0]
cmp ecx, dword [ebp + eax - 0x80]
jg 0x10049161
mov dword [ebp - 0x200], 1
jmp 0x10049168
and dword [ebp - 0x200], 0
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x3c8], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x3c8]
cmp ecx, dword [ebp + eax - 0x80]
jg 0x10049192
mov dword [ebp - 0x3d0], 1
jmp 0x10049199
and dword [ebp - 0x3d0], 0
mov eax, dword [ebp - 0x208]
imul eax, dword [ebp - 0x3d0]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
cmp dword [ebp + ecx - 0x80], eax
jge 0x100491bf
mov dword [ebp - 0x210], 1
jmp 0x100491c6
and dword [ebp - 0x210], 0
cmp dword [ebp - 0x210], 0xbfd
jge 0x100491de
mov dword [ebp - 0x3d8], 1
jmp 0x100491e5
and dword [ebp - 0x3d8], 0
cmp dword [ebp - 0x3d8], 0x47d66a43
jg 0x100491fd
mov dword [ebp - 0x218], 1
jmp 0x10049204
and dword [ebp - 0x218], 0
push 4
pop eax
imul eax, eax, 0
mov esi, dword [ebp + eax - 0x80]
push 0
lea ecx, [ebp - 0x5c8]
call fcn.1001c2cb
mov ecx, dword [ebp - 0x218]
imul ecx, dword [eax]
cmp ecx, esi
je 0x10049234
mov dword [ebp - 0x3e0], 1
jmp 0x1004923b
and dword [ebp - 0x3e0], 0
cmp dword [ebp - 0x3e0], 5
jge 0x10049250
mov dword [ebp - 0x220], 1
jmp 0x10049257
and dword [ebp - 0x220], 0
push 1
lea ecx, [ebp - 0x584]
call fcn.1001c2cb
mov ecx, dword [ebp - 0x220]
mov dword [eax], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c8]
call fcn.1001c2af
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x584]
call fcn.1001c2af
mov dword [ebp - 0x144], 0x48bbca63
mov dword [ebp - 0x56c], 0x624cdb8f
mov dword [ebp - 0x644], 0x7a1245c8
mov dword [ebp - 0x6a4], 0x307e4a90
mov dword [ebp - 0x5dc], 0x2f3f6085
mov dword [ebp - 0x400], 0xffffffff
mov dword [ebp - 0x408], 0x4ca77904
mov dword [ebp - 0x618], 0x5452fa81
push 3
lea ecx, [ebp - 0x578]
call fcn.1001c22d
mov dword [ebp - 4], 5
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x620], 0xc8f94914
push 1
lea ecx, [ebp - 0x5d4]
call fcn.1001c22d
mov byte [ebp - 4], 6
mov dword [ebp - 0x1bc], 0xffffffff
mov dword [ebp - 0x3e8], 0x43c
mov dword [ebp - 0x54c], 0x1000bd98
cmp dword [ebp - 0x3e8], 0x780
jle 0x1004942f
push 0x24c9
push 0xe2f
push 0
call dword [sym.imp.USER32.dll_EnableMenuItem]
and dword [ebp - 0x170], 0
jmp 0x10049369
mov eax, dword [ebp - 0x170]
inc eax
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0x45bf
jge 0x1004942f
and dword [ebp - 0xb4], 0
jmp 0x1004938f
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0x5dc4
jge 0x1004942a
and dword [ebp - 0x13c], 0
jmp 0x100493b5
mov eax, dword [ebp - 0x13c]
inc eax
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0x2f08
jge 0x10049425
and dword [ebp - 0xac], 0
jmp 0x100493d7
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0x5935
jge 0x10049423
mov ecx, dword [ebp - 0x13c]
sub ecx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x170]
imul eax, dword [ebp - 0xb4]
shl eax, cl
cdq
mov dword [ebp - 0x4d4], eax
mov dword [ebp - 0x4d0], edx
push dword [ebp - 0x4d0]
push dword [ebp - 0x4d4]
mov ecx, 0x106114d8
call fcn.1001bffc
jmp 0x100493ca
jmp 0x100493a8
jmp 0x10049382
jmp 0x1004935c
mov byte [ebp - 4], 7
cmp dword [ebp - 0x3e8], 0x5f
jge 0x1004944c
mov edx, dword [ebp - 0x54c]
mov ecx, 0x106114d8
call fcn.1001e507
jmp 0x10049468
mov dword [ebp - 4], 6
jmp 0x10049478
mov dword [ebp - 0x1c], 0
jmp 0x10049488
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x100494a4
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x578]
call fcn.1001c2cb
mov dword [eax], 0x7ea4c57
jmp 0x10049481
mov dword [ebp - 0x1c], 0
jmp 0x100494b4
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x100494d0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x5d4]
call fcn.1001c2cb
mov dword [eax], 0xfffffffd
jmp 0x100494ad
mov dword [ebp - 0x144], 6
jmp 0x100494e9
mov eax, dword [ebp - 0x144]
inc eax
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0x13
jle 0x1004967f
mov dword [ebp - 0x1b4], 0xffffffff
mov dword [ebp - 0x3f0], 0x707dfe4
mov dword [ebp - 0x4ac], 0x4fd9e2a8
mov dword [ebp - 0x628], 0x3c67ee39
mov dword [ebp - 0x630], 0xbb94d0f
mov dword [ebp - 0x638], 0x355fff83
push 1
lea ecx, [ebp - 0x680]
call fcn.1001c22d
mov byte [ebp - 4], 9
mov dword [ebp - 0x5d8], 0xb91e
mov dword [ebp - 0x648], 0xd2daffa8
mov dword [ebp - 0x1d4], 0xffffffff
mov dword [ebp - 0xbc], 0
jmp 0x1004957a
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 1
jge 0x1004959c
push dword [ebp - 0xbc]
lea ecx, [ebp - 0x680]
call fcn.1001c2cb
mov dword [eax], 0x7af2c9a1
jmp 0x1004956d
cmp dword [ebp - 0x1b4], 0
jne 0x100495b1
mov dword [ebp - 0x228], 1
jmp 0x100495b8
and dword [ebp - 0x228], 0
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x3f0], eax
mov eax, dword [ebp - 0x3f0]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x56c]
cmp eax, dword [ebp - 0x1b4]
jg 0x100495ea
mov dword [ebp - 0x230], 1
jmp 0x100495f1
and dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x4ac], eax
mov eax, dword [ebp - 0x1d4]
mov ecx, dword [ebp - 0x1d4]
dec ecx
mov dword [ebp - 0x1d4], ecx
test eax, eax
je 0x1004964f
push 2
lea ecx, [ebp - 0x578]
call fcn.1001c2cb
cmp dword [eax], 0
je 0x1004964f
mov eax, dword [ebp - 0x1bc]
add eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 0x1bc]
inc ecx
mov dword [ebp - 0x1bc], ecx
test eax, eax
je 0x1004964f
mov dword [ebp - 0x3f8], 1
jmp 0x10049656
and dword [ebp - 0x3f8], 0
push 1
lea ecx, [ebp - 0x578]
call fcn.1001c2cb
mov ecx, dword [ebp - 0x3f8]
mov dword [eax], ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x680]
call fcn.1001c2af
jmp 0x100494dc
cmp dword [ebp - 0x400], 0
je 0x1004981d
mov dword [ebp - 0x478], 7
mov byte [ebp - 0x53], 0
movzx eax, byte [ebp - 0x53]
test eax, eax
je 0x100496ac
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x238], 0x3669
mov dword [ebp - 0x508], 0x1000be20
cmp dword [ebp - 0x238], 0x38fb
jle 0x100497c2
push 0
push 0x131e
push 0x68d
push 0x81f
call dword [sym.imp.USER32.dll_SetScrollPos]
and dword [ebp - 0x14c], 0
jmp 0x100496fd
mov eax, dword [ebp - 0x14c]
inc eax
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0x3ccb
jge 0x100497c2
and dword [ebp - 0x178], 0
jmp 0x10049723
mov eax, dword [ebp - 0x178]
inc eax
mov dword [ebp - 0x178], eax
cmp dword [ebp - 0x178], 0x3bf5
jge 0x100497bd
and dword [ebp - 0xc4], 0
jmp 0x10049749
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0x852
jge 0x100497b8
and dword [ebp - 0xcc], 0
jmp 0x1004976b
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0x381d
jge 0x100497b6
mov eax, dword [ebp - 0x178]
mov ecx, dword [ebp - 0xc4]
shl eax, cl
xor eax, dword [ebp - 0x14c]
or eax, dword [ebp - 0xcc]
cdq
mov dword [ebp - 0x4e0], eax
mov dword [ebp - 0x4dc], edx
push dword [ebp - 0x4dc]
push dword [ebp - 0x4e0]
mov ecx, 0x106114d8
call fcn.1001bffc
jmp 0x1004975e
jmp 0x1004973c
jmp 0x10049716
jmp 0x100496f0
mov dword [ebp - 0x478], 0x64a0f0c0
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x238], 0x3524
jge 0x100497ec
mov edx, dword [ebp - 0x508]
mov ecx, 0x106114d8
call fcn.1001e507
jmp 0x10049808
mov dword [ebp - 4], 6
jmp 0x10049818
jmp 0x10049a7a
mov dword [ebp - 0x180], 0
jmp 0x10049836
mov eax, dword [ebp - 0x180]
inc eax
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x180], 1
jge 0x1004984f
mov eax, dword [ebp - 0x180]
mov dword [ebp + eax*4 - 0x70], 0x8dbec8b2
jmp 0x10049829
mov dword [ebp - 0x428], 0x7ca0
mov dword [ebp - 0x480], 0x1000be98
cmp dword [ebp - 0x428], 0x7e73
jle 0x100498fb
and dword [ebp - 0xd4], 0
jmp 0x10049889
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0x6e61
jge 0x100498ea
and dword [ebp - 0xdc], 0
jmp 0x100498ab
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0x5758
jge 0x100498e8
mov eax, dword [ebp - 0xd4]
xor eax, dword [ebp - 0xdc]
cdq
mov dword [ebp - 0x4ec], eax
mov dword [ebp - 0x4e8], edx
push dword [ebp - 0x4e8]
push dword [ebp - 0x4ec]
mov ecx, 0x106114d8
call fcn.1001bffc
jmp 0x1004989e
jmp 0x1004987c
push 0
push 0xd73
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x70]
add ecx, dword [ebp - 0x400]
cmp ecx, dword [ebp + eax - 0x70]
jg 0x10049923
mov dword [ebp - 0x240], 1
jmp 0x1004992a
and dword [ebp - 0x240], 0
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x408], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x408]
cmp ecx, dword [ebp + eax - 0x70]
jg 0x10049954
mov dword [ebp - 0x410], 1
jmp 0x1004995b
and dword [ebp - 0x410], 0
mov eax, dword [ebp - 0x248]
imul eax, dword [ebp - 0x410]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
cmp dword [ebp + ecx - 0x70], eax
jge 0x10049981
mov dword [ebp - 0x250], 1
jmp 0x10049988
and dword [ebp - 0x250], 0
cmp dword [ebp - 0x250], 0xbfd
jge 0x100499a0
mov dword [ebp - 0x418], 1
jmp 0x100499a7
and dword [ebp - 0x418], 0
cmp dword [ebp - 0x418], 0x47d66a43
jg 0x100499bf
mov dword [ebp - 0x258], 1
jmp 0x100499c6
and dword [ebp - 0x258], 0
push 4
pop eax
imul eax, eax, 0
mov esi, dword [ebp + eax - 0x70]
push 0
lea ecx, [ebp - 0x5d4]
call fcn.1001c2cb
mov ecx, dword [ebp - 0x258]
imul ecx, dword [eax]
cmp ecx, esi
je 0x100499f6
mov dword [ebp - 0x420], 1
jmp 0x100499fd
and dword [ebp - 0x420], 0
cmp dword [ebp - 0x420], 5
jge 0x10049a12
mov dword [ebp - 0x260], 1
jmp 0x10049a19
and dword [ebp - 0x260], 0
push 1
lea ecx, [ebp - 0x578]
call fcn.1001c2cb
mov ecx, dword [ebp - 0x260]
mov dword [eax], ecx
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x428], 0x78db
jge 0x10049a4e
mov edx, dword [ebp - 0x480]
mov ecx, 0x106114d8
call fcn.1001e507
jmp 0x10049a6a
mov dword [ebp - 4], 6
jmp 0x10049a7a
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x5d4]
call fcn.1001c2af
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x578]
call fcn.1001c2af
mov dword [ebp - 0xe0], 1
mov dword [ebp - 0x88], 0
jmp 0x10049abb
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 2
jge 0x10049ad7
mov eax, dword [ebp - 0x88]
mov dword [ebp + eax*4 - 0x5e8], 0xb57e8b72
jmp 0x10049aae
mov dword [ebp - 0xe0], 0xffffffe8
jmp 0x10049af0
mov eax, dword [ebp - 0xe0]
inc eax
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0xfffffffc
je 0x10049b29
mov dword [ebp - 0x68], 0xdc7555b7
mov dword [ebp - 0x68], 0
jmp 0x10049b10
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 1
jg 0x10049b27
mov eax, dword [ebp - 0x68]
cmp dword [ebp + eax*4 - 0x5e8], 0
je 0x10049b25
jmp 0x10049b27
jmp 0x10049b09
jmp 0x10049ae3
mov dword [ebp - 0xe4], 0
jmp 0x10049b42
mov eax, dword [ebp - 0xe4]
inc eax
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 2
jge 0x10049b5e
mov eax, dword [ebp - 0xe4]
mov dword [ebp + eax*4 - 0x460], 0xa48bbca6
jmp 0x10049b35
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x460], 0xffffffff
jmp 0x10049b8c
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x460]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x460], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x460], 0xb
jne 0x10049bb2
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x10049bb0
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x10049b71
mov byte [ebp - 0x51], 0
movzx eax, byte [ebp - 0x51]
test eax, eax
je 0x10049bcf
push 0
push 0
push 0x1a66
push 0
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
mov dword [ebp - 0xec], 1
mov dword [ebp - 0x188], 0
jmp 0x10049bf2
mov eax, dword [ebp - 0x188]
inc eax
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 2
jge 0x10049c0e
mov eax, dword [ebp - 0x188]
mov dword [ebp + eax*4 - 0x5f4], 0xb57e8b72
jmp 0x10049be5
mov dword [ebp - 0xec], 0xffffffe8
jmp 0x10049c27
mov eax, dword [ebp - 0xec]
inc eax
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0xfffffffc
je 0x10049c60
mov dword [ebp - 0x78], 0xdc7555b7
mov dword [ebp - 0x78], 0
jmp 0x10049c47
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 1
jg 0x10049c5e
mov eax, dword [ebp - 0x78]
cmp dword [ebp + eax*4 - 0x5f4], 0
je 0x10049c5c
jmp 0x10049c5e
jmp 0x10049c40
jmp 0x10049c1a
mov dword [ebp - 0xf4], 0xfffffffa
mov dword [ebp - 0x650], 0xfffffffc
mov dword [ebp - 0x658], 0xc90d2972
push 2
lea ecx, [ebp - 0x690]
call fcn.1001c22d
mov dword [ebp - 4], 0xe
mov dword [ebp - 0x430], 0x7535
mov dword [ebp - 0x15c], 0
jmp 0x10049cb5
mov eax, dword [ebp - 0x15c]
inc eax
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 2
jge 0x10049cd4
push dword [ebp - 0x15c]
lea ecx, [ebp - 0x690]
call fcn.1001c2cb
and dword [eax], 0
jmp 0x10049ca8
mov byte [ebp - 0x4f], 0
movzx eax, byte [ebp - 0x4f]
test eax, eax
je 0x10049cea
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov dword [ebp - 0xf4], 0
jmp 0x10049d03
mov eax, dword [ebp - 0xf4]
dec eax
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0xffffffee
jne 0x10049e85
mov dword [ebp - 0x660], 1
mov dword [ebp - 0x268], 0x434c
mov dword [ebp - 0x564], 0x1000bed4
cmp dword [ebp - 0x268], 0x45e7
jle 0x10049de8
and dword [ebp - 0x164], 0
jmp 0x10049d54
mov eax, dword [ebp - 0x164]
inc eax
mov dword [ebp - 0x164], eax
cmp dword [ebp - 0x164], 0x604e
jge 0x10049de8
and dword [ebp - 0x184], 0
jmp 0x10049d7a
mov eax, dword [ebp - 0x184]
inc eax
mov dword [ebp - 0x184], eax
cmp dword [ebp - 0x184], 0x2435
jge 0x10049de3
and dword [ebp - 0xfc], 0
jmp 0x10049d9c
mov eax, dword [ebp - 0xfc]
inc eax
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0x28c0
jge 0x10049de1
mov eax, dword [ebp - 0x184]
mov ecx, dword [ebp - 0xfc]
sar eax, cl
and eax, dword [ebp - 0x164]
cdq
mov dword [ebp - 0x4f8], eax
mov dword [ebp - 0x4f4], edx
push dword [ebp - 0x4f4]
push dword [ebp - 0x4f8]
mov ecx, 0x106114d8
call fcn.1001bffc
jmp 0x10049d8f
jmp 0x10049d6d
jmp 0x10049d47
mov dword [ebp - 0x6ac], 0xfffffff8
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x268], 0x401e
jge 0x10049e12
mov edx, dword [ebp - 0x564]
mov ecx, 0x106114d8
call fcn.1001e507
jmp 0x10049e2e
mov dword [ebp - 4], 0xe
jmp 0x10049e3e
mov dword [ebp - 0x104], 0
jmp 0x10049e57
mov eax, dword [ebp - 0x104]
inc eax
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 2
jge 0x10049e73
mov eax, dword [ebp - 0x104]
mov dword [ebp + eax*4 - 0x6d0], 0xf6b8f3d4
jmp 0x10049e4a
mov eax, dword [ebp - 0x430]
inc eax
mov dword [ebp - 0x430], eax
jmp 0x10049cf6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x690]
call fcn.1001c2af
push 4
lea ecx, [ebp - 0x1f0]
call fcn.1001c22d
mov dword [ebp - 4], 0x11
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x488], 3
mov dword [ebp - 0x514], 0x84255ebd
mov dword [ebp - 0x17c], 0
jmp 0x10049edc
mov eax, dword [ebp - 0x17c]
inc eax
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 4
jge 0x10049efb
push dword [ebp - 0x17c]
lea ecx, [ebp - 0x1f0]
call fcn.1001c2cb
or dword [eax], 0xffffffff
jmp 0x10049ecf
push 2
lea ecx, [ebp - 0x1f0]
call fcn.1001c2cb
and dword [eax], 0
jmp 0x10049f31
push 2
lea ecx, [ebp - 0x1f0]
call fcn.1001c2cb
mov dword [ebp - 0x438], eax
mov eax, dword [ebp - 0x438]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x438]
mov dword [ecx], eax
push 2
lea ecx, [ebp - 0x1f0]
call fcn.1001c2cb
cmp dword [eax], 5
jne 0x1004a158
mov dword [ebp - 0x10c], 0
jmp 0x10049f60
mov eax, dword [ebp - 0x10c]
inc eax
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 4
jge 0x10049f7c
mov eax, dword [ebp - 0x10c]
mov dword [ebp + eax*4 - 0x5a4], 0x8fb
jmp 0x10049f53
push 2
lea ecx, [ebp - 0x1f0]
call fcn.1001c2cb
cmp dword [eax], 0
je 0x1004a103
push 2
lea ecx, [ebp - 0x1f0]
call fcn.1001c2cb
push 2
lea ecx, [ebp - 0x1f0]
call fcn.1001c2cb
cmp dword [eax], 0
je 0x10049fd0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x5a4], 0x13a6
jl 0x10049fd0
mov dword [ebp - 0x274], 1
jmp 0x10049fd7
and dword [ebp - 0x274], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x5a4]
cmp dword [ebp - 0x274], eax
jge 0x1004a008
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x5a4], 0
je 0x1004a008
mov dword [ebp - 0x36c], 1
jmp 0x1004a00f
and dword [ebp - 0x36c], 0
cmp dword [ebp - 0x36c], 1
jne 0x1004a024
mov dword [ebp - 0x27c], 1
jmp 0x1004a02b
and dword [ebp - 0x27c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x5a4]
cmp dword [ebp - 0x27c], eax
je 0x1004a04c
mov dword [ebp - 0x424], 1
jmp 0x1004a053
and dword [ebp - 0x424], 0
cmp dword [ebp - 0x424], 0x628405ce
jle 0x1004a06b
mov dword [ebp - 0x284], 1
jmp 0x1004a072
and dword [ebp - 0x284], 0
mov dword [ebp - 0x58], 0xcec7
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x284]
jne 0x1004a090
mov dword [ebp - 0x374], 1
jmp 0x1004a097
and dword [ebp - 0x374], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x5a4]
cmp dword [ebp - 0x374], eax
je 0x1004a0b8
mov dword [ebp - 0x28c], 1
jmp 0x1004a0bf
and dword [ebp - 0x28c], 0
mov eax, dword [ebp - 0x488]
cmp dword [ebp - 0x28c], eax
jne 0x1004a0d9
mov dword [ebp - 0x3ec], 1
jmp 0x1004a0e0
and dword [ebp - 0x3ec], 0
push 2
lea ecx, [ebp - 0x1f0]
call fcn.1001c2cb
mov ecx, dword [ebp - 0x3ec]
cmp ecx, dword [eax]
jne 0x1004a103
mov dword [ebp - 0x294], 1
jmp 0x1004a10a
and dword [ebp - 0x294], 0
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x514], eax
mov dword [ebp - 0x58], 0x17
jmp 0x1004a126
mov eax, dword [ebp - 0x58]
dec eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 8
jg 0x1004a153
mov byte [ebp - 0x4a], 0
movzx eax, byte [ebp - 0x4a]
test eax, eax
je 0x1004a151
push 0
push 0
push 0x270b
push 0x25b9
push 0x127d
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
jmp 0x1004a11f
jmp 0x10049f0d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f0]
call fcn.1001c2af
mov dword [ebp - 0x16c], 0
jmp 0x1004a180
mov eax, dword [ebp - 0x16c]
inc eax
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 2
jge 0x1004a19c
mov eax, dword [ebp - 0x16c]
mov dword [ebp + eax*4 - 0x468], 0xa48bbca6
jmp 0x1004a173
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x468], 0xffffffff
jmp 0x1004a1ca
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x468]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x468], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x468], 0xb
jne 0x1004a1f0
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x1004a1ee
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x1004a1af
mov byte [ebp - 0x30], 0
movzx eax, byte [ebp - 0x30]
test eax, eax
je 0x1004a20d
push 0
push 0
push 0x1a66
push 0
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
mov dword [ebp - 0x18c], 0xfffffffa
mov dword [ebp - 0x64c], 0xfffffffc
mov dword [ebp - 0x5e0], 0xc90d2972
push 2
lea ecx, [ebp - 0x6a0]
call fcn.1001c22d
mov dword [ebp - 4], 0x12
mov dword [ebp - 0x37c], 0x7535
mov dword [ebp - 0x114], 0
jmp 0x1004a262
mov eax, dword [ebp - 0x114]
inc eax
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 2
jge 0x1004a281
push dword [ebp - 0x114]
lea ecx, [ebp - 0x6a0]
call fcn.1001c2cb
and dword [eax], 0
jmp 0x1004a255
mov byte [ebp - 0x2f], 0
movzx eax, byte [ebp - 0x2f]
test eax, eax
je 0x1004a297
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov dword [ebp - 0x18c], 0
jmp 0x1004a2b0
mov eax, dword [ebp - 0x18c]
dec eax
mov dword [ebp - 0x18c], eax
cmp dword [ebp - 0x18c], 0xffffffee
jne 0x1004a311
mov dword [ebp - 0x5fc], 1
mov dword [ebp - 0x5ec], 0xfffffff8
mov dword [ebp - 0x11c], 0
jmp 0x1004a2e6
mov eax, dword [ebp - 0x11c]
inc eax
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 2
jge 0x1004a302
mov eax, dword [ebp - 0x11c]
mov dword [ebp + eax*4 - 0x6d8], 0xf6b8f3d4
jmp 0x1004a2d9
mov eax, dword [ebp - 0x37c]
inc eax
mov dword [ebp - 0x37c], eax
jmp 0x1004a2a3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6a0]
call fcn.1001c2af
mov dword [ebp - 0x154], 0xb9f9b31
mov dword [ebp - 0x600], 1
mov dword [ebp - 0x5f8], 0xceafd94
mov dword [ebp - 0x154], 0xffffffea
jmp 0x1004a357
mov eax, dword [ebp - 0x154]
dec eax
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0xffffffe8
jge 0x1004a4ae
mov dword [ebp - 0x29c], 0x791d
mov dword [ebp - 0x490], 0x1000bef0
cmp dword [ebp - 0x29c], 0x7b2b
jle 0x1004a435
and dword [ebp - 0x124], 0
jmp 0x1004a39e
mov eax, dword [ebp - 0x124]
inc eax
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0x3e20
jge 0x1004a435
and dword [ebp - 0x158], 0
jmp 0x1004a3c4
mov eax, dword [ebp - 0x158]
inc eax
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 0x30ba
jge 0x1004a430
and dword [ebp - 0x12c], 0
jmp 0x1004a3e6
mov eax, dword [ebp - 0x12c]
inc eax
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0x7448
jge 0x1004a42e
mov eax, dword [ebp - 0x124]
cdq
idiv dword [ebp - 0x158]
mov ecx, dword [ebp - 0x12c]
sar edx, cl
mov eax, edx
cdq
mov dword [ebp - 0x504], eax
mov dword [ebp - 0x500], edx
push dword [ebp - 0x500]
push dword [ebp - 0x504]
mov ecx, 0x106114d8
call fcn.1001bffc
jmp 0x1004a3d9
jmp 0x1004a3b7
jmp 0x1004a391
mov dword [ebp - 0x448], 0xfffffff7
mov dword [ebp - 4], 0x13
cmp dword [ebp - 0x29c], 0x7612
jge 0x1004a462
mov edx, dword [ebp - 0x490]
mov ecx, 0x106114d8
call fcn.1001e507
jmp 0x1004a47e
or dword [ebp - 4], 0xffffffff
jmp 0x1004a488
mov eax, dword [ebp - 0x448]
inc eax
mov dword [ebp - 0x448], eax
mov byte [ebp - 0x4c], 0
movzx eax, byte [ebp - 0x4c]
test eax, eax
je 0x1004a4a9
push 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x1004a34a
movzx eax, byte [0x10612570]
test eax, eax
je 0x1004a4cc
mov esi, 0x10610f18
mov edi, dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
jmp 0x1004c0b4
push 4
lea ecx, [ebp - 0x1e4]
call fcn.1001c22d
mov dword [ebp - 4], 0x15
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x558], 3
mov dword [ebp - 0x498], 0x84255ebd
mov dword [ebp - 0x8c], 0
jmp 0x1004a514
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 4
jge 0x1004a533
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x1e4]
call fcn.1001c2cb
or dword [eax], 0xffffffff
jmp 0x1004a507
push 2
lea ecx, [ebp - 0x1e4]
call fcn.1001c2cb
and dword [eax], 0
jmp 0x1004a569
push 2
lea ecx, [ebp - 0x1e4]
call fcn.1001c2cb
mov dword [ebp - 0x2a4], eax
mov eax, dword [ebp - 0x2a4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x2a4]
mov dword [ecx], eax
push 2
lea ecx, [ebp - 0x1e4]
call fcn.1001c2cb
cmp dword [eax], 5
jne 0x1004a790
mov dword [ebp - 0x90], 0
jmp 0x1004a598
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 4
jge 0x1004a5b4
mov eax, dword [ebp - 0x90]
mov dword [ebp + eax*4 - 0x594], 0x8fb
jmp 0x1004a58b
push 2
lea ecx, [ebp - 0x1e4]
call fcn.1001c2cb
cmp dword [eax], 0
je 0x1004a73b
push 2
lea ecx, [ebp - 0x1e4]
call fcn.1001c2cb
push 2
lea ecx, [ebp - 0x1e4]
call fcn.1001c2cb
cmp dword [eax], 0
je 0x1004a608
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x594], 0x13a6
jl 0x1004a608
mov dword [ebp - 0x384], 1
jmp 0x1004a60f
and dword [ebp - 0x384], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x594]
cmp dword [ebp - 0x384], eax
jge 0x1004a640
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x594], 0
je 0x1004a640
mov dword [ebp - 0x2ac], 1
jmp 0x1004a647
and dword [ebp - 0x2ac], 0
cmp dword [ebp - 0x2ac], 1
jne 0x1004a65c
mov dword [ebp - 0x3f4], 1
jmp 0x1004a663
and dword [ebp - 0x3f4], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x594]
cmp dword [ebp - 0x3f4], eax
je 0x1004a684
mov dword [ebp - 0x2b4], 1
jmp 0x1004a68b
and dword [ebp - 0x2b4], 0
cmp dword [ebp - 0x2b4], 0x628405ce
jle 0x1004a6a3
mov dword [ebp - 0x38c], 1
jmp 0x1004a6aa
and dword [ebp - 0x38c], 0
mov dword [ebp - 0x60], 0xcec7
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x38c]
jne 0x1004a6c8
mov dword [ebp - 0x2bc], 1
jmp 0x1004a6cf
and dword [ebp - 0x2bc], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x594]
cmp dword [ebp - 0x2bc], eax
je 0x1004a6f0
mov dword [ebp - 0x42c], 1
jmp 0x1004a6f7
and dword [ebp - 0x42c], 0
mov eax, dword [ebp - 0x558]
cmp dword [ebp - 0x42c], eax
jne 0x1004a711
mov dword [ebp - 0x2c4], 1
jmp 0x1004a718
and dword [ebp - 0x2c4], 0
push 2
lea ecx, [ebp - 0x1e4]
call fcn.1001c2cb
mov ecx, dword [ebp - 0x2c4]
cmp ecx, dword [eax]
jne 0x1004a73b
mov dword [ebp - 0x394], 1
jmp 0x1004a742
and dword [ebp - 0x394], 0
mov eax, dword [ebp - 0x394]
mov dword [ebp - 0x498], eax
mov dword [ebp - 0x60], 0x17
jmp 0x1004a75e
mov eax, dword [ebp - 0x60]
dec eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 8
jg 0x1004a78b
mov byte [ebp - 0x31], 0
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x1004a789
push 0
push 0
push 0x270b
push 0x25b9
push 0x127d
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
jmp 0x1004a757
jmp 0x1004a545
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e4]
call fcn.1001c2af
mov dword [ebp - 0x608], 0x10610f18
mov dword [ebp - 0xa0], 0x1eb2391c
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x98], 0
jmp 0x1004a7d3
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 3
jge 0x1004a7ef
mov eax, dword [ebp - 0x98]
mov dword [ebp + eax*4 - 0x6bc], 1
jmp 0x1004a7c6
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x6bc]
add eax, 3
cmp eax, 0x5725d367
je 0x1004a812
mov dword [ebp - 0x2cc], 1
jmp 0x1004a819
and dword [ebp - 0x2cc], 0
imul eax, dword [ebp - 0x2cc], 0x694d
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0xa0], 0xfffffff9
jmp 0x1004a83f
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 5
jge 0x1004a882
mov dword [ebp - 0x4a0], 0x40a98cee
mov dword [ebp - 0x6c], 7
jmp 0x1004a862
mov eax, dword [ebp - 0x6c]
dec eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 4
jl 0x1004a880
mov dword [ebp - 0x520], 0x3edb3952
mov eax, dword [ebp - 0x520]
mov dword [ebp - 0x4a0], eax
jmp 0x1004a85b
jmp 0x1004a832
mov dword [ebp - 0x610], 0x10610f1c
mov dword [ebp - 0xb8], 0x75c96dd1
mov dword [ebp - 0x5c], 4
mov dword [ebp - 0x1f4], 0xb227d373
mov dword [ebp - 0x52c], 0
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x1004acfd
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1cc], 0xc407858f
mov dword [ebp - 0x24], 0xbbe5
mov dword [ebp - 0x454], 0x3c12
mov dword [ebp - 0x568], 0
mov dword [ebp - 0x30c], 0xffffffff
mov dword [ebp - 0x3bc], 0xe89c674f
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x20]
jl 0x1004a961
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x1cc]
cmp eax, dword [ebp - 0x24]
je 0x1004a927
mov dword [ebp - 0x3fc], 1
jmp 0x1004a92e
and dword [ebp - 0x3fc], 0
cmp dword [ebp - 0x3fc], 0x32a8
je 0x1004a946
mov dword [ebp - 0x2d4], 1
jmp 0x1004a94d
and dword [ebp - 0x2d4], 0
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x2d4], eax
jle 0x1004a961
and dword [ebp - 0x39c], 0
jmp 0x1004a96b
mov dword [ebp - 0x39c], 1
cmp dword [ebp - 0x39c], 0xfffd
ja 0x1004a983
mov dword [ebp - 0x2dc], 1
jmp 0x1004a98a
and dword [ebp - 0x2dc], 0
mov eax, dword [ebp - 0xb8]
imul eax, dword [ebp - 0x2dc]
dec eax
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 0x20], 0xfffffff8
jmp 0x1004a9ae
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x2c
jg 0x1004acfb
mov dword [ebp - 0x38], 8
mov dword [ebp - 0x3b4], 0x76a447d0
push 2
lea ecx, [ebp - 0x5b0]
call fcn.1001c22d
mov dword [ebp - 4], 0x16
mov dword [ebp - 0xa8], 0
jmp 0x1004a9f6
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 2
jge 0x1004aa18
push dword [ebp - 0xa8]
lea ecx, [ebp - 0x5b0]
call fcn.1001c2cb
mov dword [eax], 0x662b132d
jmp 0x1004a9e9
mov dword [ebp - 0x24], 0
jmp 0x1004aa28
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xb
jne 0x1004acd3
mov dword [ebp - 0x3ac], 0
mov dword [ebp - 0x314], 0x202f603f
mov dword [ebp - 0x4b0], 0
mov dword [ebp - 0xb0], 0
jmp 0x1004aa69
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 1
jge 0x1004aa85
mov eax, dword [ebp - 0xb0]
mov dword [ebp + eax*4 - 0x1ac], 0x4a6b
jmp 0x1004aa5c
mov byte [ebp - 0x4e], 0
movzx eax, byte [ebp - 0x4e]
test eax, eax
je 0x1004aaa0
push 0x26c9
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x454], eax
mov eax, dword [ebp - 0x454]
cmp eax, dword [ebp - 0x5c]
jge 0x1004aac7
mov dword [ebp - 0x2e4], 1
jmp 0x1004aace
and dword [ebp - 0x2e4], 0
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x568], eax
cmp dword [ebp - 0xb8], 0x93f0
jg 0x1004aaf5
mov dword [ebp - 0x3a4], 1
jmp 0x1004aafc
and dword [ebp - 0x3a4], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x3a4], eax
jne 0x1004ab13
mov dword [ebp - 0x2ec], 1
jmp 0x1004ab1a
and dword [ebp - 0x2ec], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x2ec], eax
jne 0x1004ab31
mov dword [ebp - 0x404], 1
jmp 0x1004ab38
and dword [ebp - 0x404], 0
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x404], eax
jne 0x1004ab4f
mov dword [ebp - 0x4a8], 1
jmp 0x1004ab56
and dword [ebp - 0x4a8], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x604], eax
imul eax, dword [ebp - 0x24], 3
cmp eax, 1
jb 0x1004ab74
mov dword [ebp - 0x2f4], 1
jmp 0x1004ab7b
and dword [ebp - 0x2f4], 0
mov eax, dword [ebp - 0x2f4]
mov dword [ebp - 0x3ac], eax
mov eax, dword [ebp - 0x3ac]
cmp eax, dword [ebp - 0x38]
je 0x1004ab9e
mov dword [ebp - 0x2fc], 1
jmp 0x1004aba5
and dword [ebp - 0x2fc], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1ac]
cmp dword [ebp - 0x2fc], eax
jl 0x1004abc6
mov dword [ebp - 0x434], 1
jmp 0x1004abcd
and dword [ebp - 0x434], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1ac]
sub eax, dword [ebp - 0x434]
sub eax, dword [ebp - 0x1cc]
add eax, 0x3af8ef5d
jne 0x1004abfc
cmp dword [ebp - 0x5c], 0
jne 0x1004abfc
and dword [ebp - 0x304], 0
jmp 0x1004ac06
mov dword [ebp - 0x304], 1
mov eax, dword [ebp - 0x304]
mov dword [ebp - 0x3b4], eax
mov eax, dword [ebp - 0x3b4]
mov dword [ebp - 0x30c], eax
mov eax, dword [ebp - 0x30c]
mov dword [ebp - 0x40c], eax
push 1
lea ecx, [ebp - 0x5b0]
call fcn.1001c2cb
mov ecx, dword [ebp - 0x40c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x40c]
mov dword [ebp - 0x314], eax
mov eax, dword [ebp - 0x314]
mov dword [ebp - 0x3bc], eax
mov eax, dword [ebp - 0x3bc]
cmp eax, dword [ebp - 0x1cc]
jne 0x1004ac7a
cmp dword [ebp - 0x1f4], 0
je 0x1004ac7a
mov dword [ebp - 0x44c], 1
jmp 0x1004ac81
and dword [ebp - 0x44c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1ac]
mov ecx, dword [ebp - 0x44c]
lea eax, [ecx + eax + 1]
imul eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
sub ecx, eax
cmp ecx, dword [ebp - 0x52c]
jge 0x1004acb5
mov dword [ebp - 0x324], 1
jmp 0x1004acbc
and dword [ebp - 0x324], 0
mov eax, dword [ebp - 0xb8]
add eax, dword [ebp - 0x324]
mov dword [ebp - 0x4b0], eax
jmp 0x1004aa21
mov byte [ebp - 0x39], 0
movzx eax, byte [ebp - 0x39]
test eax, eax
je 0x1004ace7
push 0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5b0]
call fcn.1001c2af
jmp 0x1004a9a7
jmp 0x1004ad0f
mov byte [ebp - 0x50], 0
movzx eax, byte [ebp - 0x50]
test eax, eax
je 0x1004ad0f
call dword [sym.imp.USER32.dll_CreateMenu]
mov byte [0x10612570], 1
mov dword [ebp - 0xc0], 0xb9f9b31
mov dword [ebp - 0x684], 1
mov dword [ebp - 0x60c], 0xceafd94
mov dword [ebp - 0xc0], 0xffffffea
jmp 0x1004ad4d
mov eax, dword [ebp - 0xc0]
dec eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0xffffffe8
jge 0x1004ae9a
mov dword [ebp - 0x3c4], 0xfffffff7
mov eax, dword [ebp - 0x3c4]
inc eax
mov dword [ebp - 0x3c4], eax
mov dword [ebp - 0x32c], 0x2b58
mov dword [ebp - 0x4b8], 0x1000bf60
cmp dword [ebp - 0x32c], 0x2db1
jle 0x1004ae3c
and dword [ebp - 0xc8], 0
jmp 0x1004adab
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0x2683
jge 0x1004ae3c
and dword [ebp - 0xd0], 0
jmp 0x1004add1
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0x4438
jge 0x1004ae37
mov eax, dword [ebp - 0xc8]
cdq
idiv dword [ebp - 0xd0]
mov eax, edx
cdq
mov dword [ebp - 0x510], eax
mov dword [ebp - 0x50c], edx
push dword [ebp - 0x50c]
push dword [ebp - 0x510]
lea ecx, [ebp - 0x708]
call fcn.1000dcda
pop ecx
pop ecx
mov dword [ebp - 0x560], eax
mov ecx, dword [ebp - 0x560]
call fcn.1001bfdc
push eax
call fcn.100530f6
pop ecx
lea ecx, [ebp - 0x708]
call fcn.1001bfd2
jmp 0x1004adc4
jmp 0x1004ad9e
mov byte [ebp - 0x41], 0
mov dword [ebp - 4], 0x17
cmp dword [ebp - 0x32c], 0x2943
jge 0x1004ae5f
push dword [ebp - 0x4b8]
call fcn.100530f6
pop ecx
jmp 0x1004ae7b
or dword [ebp - 4], 0xffffffff
jmp 0x1004ae85
movzx eax, byte [ebp - 0x41]
test eax, eax
je 0x1004ae95
push 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x1004ad40
xor eax, eax
inc eax
imul eax, eax, 0x148
add eax, 0x10610d08
mov dword [ebp - 0x264], eax
mov dword [ebp - 0xe8], 0x1eb2391c
mov dword [ebp - 0x74], 0
mov dword [ebp - 0xd8], 0
jmp 0x1004aed8
mov eax, dword [ebp - 0xd8]
inc eax
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 3
jge 0x1004aef4
mov eax, dword [ebp - 0xd8]
mov dword [ebp + eax*4 - 0x6c8], 1
jmp 0x1004aecb
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x6c8]
add eax, 3
cmp eax, 0x5725d367
je 0x1004af17
mov dword [ebp - 0x414], 1
jmp 0x1004af1e
and dword [ebp - 0x414], 0
imul eax, dword [ebp - 0x414], 0x694d
mov dword [ebp - 0x74], eax
mov dword [ebp - 0xe8], 0xfffffff9
jmp 0x1004af44
mov eax, dword [ebp - 0xe8]
inc eax
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 5
jge 0x1004af87
mov dword [ebp - 0x4c0], 0x40a98cee
mov dword [ebp - 0x74], 7
jmp 0x1004af67
mov eax, dword [ebp - 0x74]
dec eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 4
jl 0x1004af85
mov dword [ebp - 0x538], 0x3edb3952
mov eax, dword [ebp - 0x538]
mov dword [ebp - 0x4c0], eax
jmp 0x1004af60
jmp 0x1004af37
mov dword [ebp - 0x334], 0x63fc
mov dword [ebp - 0x4cc], 0x1000bff0
cmp dword [ebp - 0x334], 0x66cd
jle 0x1004b080
and dword [ebp - 0x100], 0
jmp 0x1004afc1
mov eax, dword [ebp - 0x100]
inc eax
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0x5f70
jge 0x1004b080
and dword [ebp - 0xf0], 0
jmp 0x1004afe7
mov eax, dword [ebp - 0xf0]
inc eax
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0x8044
jge 0x1004b07b
and dword [ebp - 0xf8], 0
jmp 0x1004b00d
mov eax, dword [ebp - 0xf8]
inc eax
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0x6abb
jge 0x1004b076
mov eax, dword [ebp - 0xf0]
add eax, dword [ebp - 0xf8]
xor eax, dword [ebp - 0x100]
cdq
mov dword [ebp - 0x51c], eax
mov dword [ebp - 0x518], edx
push dword [ebp - 0x518]
push dword [ebp - 0x51c]
lea ecx, [ebp - 0x720]
call fcn.1000dcda
pop ecx
pop ecx
mov dword [ebp - 0x550], eax
mov ecx, dword [ebp - 0x550]
call fcn.1001bfdc
push eax
call fcn.100530f6
pop ecx
lea ecx, [ebp - 0x720]
call fcn.1001bfd2
jmp 0x1004b000
jmp 0x1004afda
jmp 0x1004afb4
push 1
lea ecx, [ebp - 0x1a8]
call fcn.1001c22d
mov dword [ebp - 4], 0x19
mov byte [ebp - 4], 0x1a
cmp dword [ebp - 0x334], 0x63a8
jge 0x1004b0b0
push dword [ebp - 0x4cc]
call fcn.100530f6
pop ecx
jmp 0x1004b0cc
mov dword [ebp - 4], 0x19
jmp 0x1004b0dc
mov dword [ebp - 0x7c], 0x7a140552
mov dword [ebp - 0x33c], 0x7fb07d0
mov dword [ebp - 0x270], 0xfcc86f80
mov dword [ebp - 0x26c], 0xd4daed0f
mov dword [ebp - 0x288], 1
mov dword [ebp - 0x4e4], 0x2e46a6f
mov dword [ebp - 0x3cc], 0x6023
mov dword [ebp - 0x540], 0x1000c090
cmp dword [ebp - 0x3cc], 0x6058
jle 0x1004b1c6
push 0
push 0xe84
push 0
push 0x13bb
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
and dword [ebp - 0x108], 0
jmp 0x1004b163
mov eax, dword [ebp - 0x108]
inc eax
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0x2ed1
jge 0x1004b1c6
and dword [ebp - 0x110], 0
jmp 0x1004b185
mov eax, dword [ebp - 0x110]
inc eax
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0x3992
jge 0x1004b1c4
mov eax, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x110]
sar eax, cl
cdq
mov dword [ebp - 0x528], eax
mov dword [ebp - 0x524], edx
push dword [ebp - 0x524]
push dword [ebp - 0x528]
mov ecx, 0x106114d8
call fcn.1001bffc
jmp 0x1004b178
jmp 0x1004b156
mov byte [ebp - 4], 0x1c
cmp dword [ebp - 0x3cc], 0x6015
jge 0x1004b1e6
mov edx, dword [ebp - 0x540]
mov ecx, 0x106114d8
call fcn.1001e507
jmp 0x1004b202
mov dword [ebp - 4], 0x19
jmp 0x1004b212
mov dword [ebp - 0x118], 0
jmp 0x1004b22b
mov eax, dword [ebp - 0x118]
inc eax
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 1
jge 0x1004b24a
push dword [ebp - 0x118]
lea ecx, [ebp - 0x1a8]
call fcn.1001c2cb
or dword [eax], 0xffffffff
jmp 0x1004b21e
push 0
lea ecx, [ebp - 0x1a8]
call fcn.1001c2cb
mov dword [eax], 1
cmp dword [ebp - 0x7c], 0xfffffff8
jle 0x1004b26f
mov dword [ebp - 0x344], 1
jmp 0x1004b276
and dword [ebp - 0x344], 0
mov dword [ebp - 0x33c], 0
cmp dword [ebp - 0x33c], 0xd8475761
jb 0x1004b298
mov dword [ebp - 0x43c], 1
jmp 0x1004b29f
and dword [ebp - 0x43c], 0
push 0
lea ecx, [ebp - 0x1a8]
call fcn.1001c2cb
mov ecx, dword [ebp - 0x43c]
cmp ecx, dword [eax]
jge 0x1004b2c2
mov dword [ebp - 0x4d8], 1
jmp 0x1004b2c9
and dword [ebp - 0x4d8], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x654], eax
mov eax, 0x585c
test eax, eax
jg 0x1004b2e7
mov dword [ebp - 0x3d4], 1
jmp 0x1004b2ee
and dword [ebp - 0x3d4], 0
mov eax, dword [ebp - 0x344]
cmp eax, dword [ebp - 0x3d4]
je 0x1004b308
mov dword [ebp - 0x34c], 1
jmp 0x1004b30f
and dword [ebp - 0x34c], 0
push 0
lea ecx, [ebp - 0x1a8]
call fcn.1001c2cb
mov ecx, dword [ebp - 0x34c]
cmp ecx, dword [eax]
jge 0x1004b332
mov dword [ebp - 0x41c], 1
jmp 0x1004b339
and dword [ebp - 0x41c], 0
mov eax, dword [ebp - 0x270]
imul eax, dword [ebp - 0x41c]
imul eax, dword [ebp - 0x7c]
cmp eax, 0xfcc65ad6
jbe 0x1004b35d
mov dword [ebp - 0x354], 1
jmp 0x1004b364
and dword [ebp - 0x354], 0
push 0
lea ecx, [ebp - 0x1a8]
call fcn.1001c2cb
mov esi, dword [ebp - 0x354]
sub esi, dword [eax]
push 0
lea ecx, [ebp - 0x1a8]
call fcn.1001c2cb
cmp esi, dword [eax]
jle 0x1004b396
mov dword [ebp - 0x3dc], 1
jmp 0x1004b39d
and dword [ebp - 0x3dc], 0
mov eax, dword [ebp - 0x3dc]
neg eax
xor esi, esi
inc esi
sub esi, eax
push 0
lea ecx, [ebp - 0x1a8]
call fcn.1001c2cb
cmp esi, dword [eax]
jg 0x1004b3c7
mov dword [ebp - 0x554], 1
jmp 0x1004b3ce
and dword [ebp - 0x554], 0
push 0
lea ecx, [ebp - 0x1a8]
call fcn.1001c2cb
xor eax, eax
jbe 0x1004b3eb
mov dword [ebp - 0x35c], 1
jmp 0x1004b3f2
and dword [ebp - 0x35c], 0
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x35c], eax
jle 0x1004b409
mov dword [ebp - 0x440], 1
jmp 0x1004b410
and dword [ebp - 0x440], 0
push 0
lea ecx, [ebp - 0x1a8]
call fcn.1001c2cb
mov eax, dword [eax]
cmp eax, dword [ebp - 0x440]
jl 0x1004b433
mov dword [ebp - 0x364], 1
jmp 0x1004b43a
and dword [ebp - 0x364], 0
mov eax, dword [ebp - 0x364]
mov dword [ebp - 0x26c], eax
imul eax, dword [ebp - 0x26c], 0xfbca
add eax, dword [ebp - 0x7c]
cmp eax, 7
jg 0x1004b464
mov dword [ebp - 0x278], 1
jmp 0x1004b46b
and dword [ebp - 0x278], 0
mov eax, dword [ebp - 0x270]
cmp dword [ebp - 0x278], eax
jne 0x1004b485
mov dword [ebp - 0x280], 1
jmp 0x1004b48c
and dword [ebp - 0x280], 0
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x288], eax
mov esi, dword [ebp - 0x288]
push 0
lea ecx, [ebp - 0x1a8]
call fcn.1001c2cb
add esi, dword [eax]
jne 0x1004b4c1
push 0
lea ecx, [ebp - 0x1a8]
call fcn.1001c2cb
cmp dword [eax], 0
je 0x1004b4d6
mov eax, 0xe20b
test eax, eax
je 0x1004b4d6
mov dword [ebp - 0x290], 1
jmp 0x1004b4dd
and dword [ebp - 0x290], 0
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x4e4], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a8]
call fcn.1001c2af
xor eax, eax
inc eax
imul eax, eax, 0x1c
add eax, 0x10610d08
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x14], 0xfffffff9
mov dword [ebp - 0x55c], 0x59cde30e
mov dword [ebp - 0x14], 0x10
jmp 0x1004b52a
cmp dword [ebp - 0x14], 0xffffffe5
jl 0x1004b76d
mov dword [ebp - 0x40], 0x73eb905d
mov dword [ebp - 0x120], 0
jmp 0x1004b554
mov eax, dword [ebp - 0x120]
inc eax
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 1
jge 0x1004b570
mov eax, dword [ebp - 0x120]
mov dword [ebp + eax*4 - 0x2c0], 0xc9fa8bc0
jmp 0x1004b547
cmp dword [ebp - 0x40], 0
je 0x1004b671
mov dword [ebp - 0x2a8], 0x7006986d
mov dword [ebp - 0x1b0], 0x198ab79a
mov dword [ebp - 0x548], 0xc02a3062
cmp dword [ebp - 0x14], 0
jne 0x1004b63a
mov dword [ebp - 0x4f0], 0x722a
mov dword [ebp - 0x40], 0
jmp 0x1004b68b
mov eax, dword [ebp - 0x264]
mov dword [0x10610f18], eax
mov dword [ebp - 0x138], 0x75c96dd1
mov dword [ebp - 0x64], 4
mov dword [ebp - 0x388], 0xb227d373
mov dword [ebp - 0x474], 0
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x1004bbe9
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x1b8], 0xc407858f
mov dword [ebp - 0x28], 0xbbe5
mov dword [ebp - 0x310], 0x3c12
mov dword [ebp - 0x4fc], 0
mov dword [ebp - 0x368], 0xffffffff
mov dword [ebp - 0x380], 0xe89c674f
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x2c]
jl 0x1004b84d
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0x1b8]
cmp eax, dword [ebp - 0x28]
je 0x1004b813
mov dword [ebp - 0x2f0], 1
jmp 0x1004b81a
and dword [ebp - 0x2f0], 0
cmp dword [ebp - 0x2f0], 0x32a8
je 0x1004b832
mov dword [ebp - 0x300], 1
cmp dword [ebp - 0x300], 0xfffd
ja 0x1004b86f
mov dword [ebp - 0x308], 1
jmp 0x1004b876
and dword [ebp - 0x308], 0
mov eax, dword [ebp - 0x138]
imul eax, dword [ebp - 0x308]
dec eax
mov dword [ebp - 0x388], eax
mov dword [ebp - 0x2c], 0xfffffff8
jmp 0x1004b89a
mov byte [ebp - 0x4b], 0
movzx eax, byte [ebp - 0x4b]
test eax, eax
je 0x1004bbfb
call dword [sym.imp.USER32.dll_CreateMenu]
mov eax, dword [ebp - 0x1c8]
mov dword [0x10610f1c], eax
push 1
lea ecx, [ebp - 0x19c]
call fcn.1001c22d
mov dword [ebp - 4], 0x1f
mov dword [ebp - 0x84], 0x7a140552
mov dword [ebp - 0x3a8], 0x7fb07d0
mov dword [ebp - 0x3a0], 0x4d36
mov dword [ebp - 0x484], 0x1000c0e8
cmp dword [ebp - 0x3a0], 0x5095
jle 0x1004bcfd
and dword [ebp - 0x140], 0
jmp 0x1004bc68
mov dword [ebp - 0x23c], 0xfcc86f80
mov byte [ebp - 4], 0x20
cmp dword [ebp - 0x3a0], 0x4970
jge 0x1004bd27
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret