Function at 0x1004d8d4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082391
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38c
push esi
mov dword [ebp - 0x2d0], 0x62c9cc14
mov dword [ebp - 0x2cc], 0x62c9cc14
mov dword [ebp - 0x2c8], 0x62c9cc14
mov dword [ebp - 0x2c4], 0x62c9cc14
lea ecx, [ebp - 0x8d]
call fcn.10009483
push eax
lea eax, [ebp - 0x2c0]
push eax
lea eax, [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x390]
call fcn.10017444
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x1f8]
call fcn.1001740a
and dword [ebp - 4], 0
mov dword [ebp - 0x1ac], 0x8b8ae505
mov dword [ebp - 0xb4], 1
mov dword [ebp - 0xbc], 0xba75a592
mov dword [ebp - 0x1c4], 0xd3ecf04
mov dword [ebp - 0x280], 0xfffffffd
mov dword [ebp - 0x50], 0
jmp 0x1004d996
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 1
jge 0x1004d9ac
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x224], 0x5ab0
jmp 0x1004d98f
push 3
lea ecx, [ebp - 0x1f8]
call fcn.10017435
cmp dword [eax], 0
je 0x1004d9dc
push 0
lea ecx, [ebp - 0x1f8]
call fcn.10017435
cmp dword [eax], 0
je 0x1004d9dc
mov dword [ebp - 0x1bc], 1
jmp 0x1004d9e3
and dword [ebp - 0x1bc], 0
push 3
lea ecx, [ebp - 0x1f8]
call fcn.10017435
cmp dword [ebp - 0x1ac], 0
jne 0x1004da14
push 3
lea ecx, [ebp - 0x1f8]
call fcn.10017435
cmp dword [eax], 0
jne 0x1004da14
and dword [ebp - 0x104], 0
jmp 0x1004da1e
mov dword [ebp - 0x104], 1
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x1ac]
cmp dword [ebp - 0xb4], eax
jle 0x1004da44
mov dword [ebp - 0x1b4], 1
jmp 0x1004da4b
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0xbc], eax
mov esi, dword [ebp - 0xbc]
push 3
lea ecx, [ebp - 0x1f8]
call fcn.10017435
imul esi, dword [eax]
cmp dword [ebp - 0x1bc], esi
jge 0x1004da81
mov dword [ebp - 0xc4], 1
jmp 0x1004da88
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x1c4], eax
mov esi, dword [ebp - 0x1c4]
push 4
pop eax
imul eax, eax, 0
sub esi, dword [ebp + eax - 0x224]
push 1
lea ecx, [ebp - 0x1f8]
call fcn.10017435
cmp esi, dword [eax]
je 0x1004dac4
mov dword [ebp - 0xcc], 1
jmp 0x1004dacb
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xcc]
sub eax, 0x4adc
jne 0x1004dae4
mov dword [ebp - 0x1cc], 1
jmp 0x1004daeb
and dword [ebp - 0x1cc], 0
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x280], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f8]
call fcn.10017430
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1004eab2
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x284], eax
push 1
lea ecx, [ebp - 0x204]
call fcn.100173c8
mov dword [ebp - 4], 1
mov dword [ebp - 0x288], 1
mov dword [ebp - 0x70], 4
push 3
lea ecx, [ebp - 0x2e8]
call fcn.100173c8
mov byte [ebp - 4], 2
mov dword [ebp - 0x28], 0
jmp 0x1004db7c
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jge 0x1004db98
push dword [ebp - 0x28]
lea ecx, [ebp - 0x204]
call fcn.10017435
mov dword [eax], 0x97f6af11
jmp 0x1004db75
mov dword [ebp - 0x28], 0
jmp 0x1004dba8
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x1004dbc4
push dword [ebp - 0x28]
lea ecx, [ebp - 0x2e8]
call fcn.10017435
mov dword [eax], 0xf47f28a9
jmp 0x1004dba1
push 0
lea ecx, [ebp - 0x204]
call fcn.10017435
mov dword [eax], 0x12
jmp 0x1004dbfd
push 0
lea ecx, [ebp - 0x204]
call fcn.10017435
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x1dc]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x1dc]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x204]
call fcn.10017435
cmp dword [eax], 0xa
jne 0x1004dd5f
mov dword [ebp - 0xf0], 0x6d8d
mov dword [ebp - 0x340], 0
mov dword [ebp - 0x354], 0
mov dword [ebp - 0x1b0], 0x493876a4
mov eax, dword [ebp - 0xf0]
sub eax, dword [ebp - 0x288]
cmp eax, 0xfff6
ja 0x1004dc5a
mov dword [ebp - 0xd8], 1
jmp 0x1004dc61
and dword [ebp - 0xd8], 0
cmp dword [ebp - 0xd8], 0x33ee
je 0x1004dc79
mov dword [ebp - 0x168], 1
jmp 0x1004dc80
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x1b0]
cmp dword [ebp - 0x168], eax
jne 0x1004dc9a
mov dword [ebp - 0xe0], 1
jmp 0x1004dca1
and dword [ebp - 0xe0], 0
push 0
lea ecx, [ebp - 0x204]
call fcn.10017435
mov esi, dword [ebp - 0xe0]
sub esi, dword [eax]
push 0
lea ecx, [ebp - 0x204]
call fcn.10017435
add esi, dword [eax]
imul esi, dword [ebp - 0x1b0]
cmp esi, dword [ebp - 0x70]
jg 0x1004dcdd
mov dword [ebp - 0xe8], 1
jmp 0x1004dce4
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0xe8], eax
jge 0x1004dcfb
mov dword [ebp - 0x170], 1
jmp 0x1004dd02
and dword [ebp - 0x170], 0
cmp dword [ebp - 0x170], 0x9c5a
jg 0x1004dd1a
mov dword [ebp - 0x290], 1
jmp 0x1004dd21
and dword [ebp - 0x290], 0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x31c], eax
mov esi, dword [ebp - 0xf0]
push 0
lea ecx, [ebp - 0x2e8]
call fcn.10017435
mov dword [eax], esi
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x1004dd5a
push 0x2357
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jmp 0x1004dbd9
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2e8]
call fcn.10017430
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x204]
call fcn.10017430
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x2bc], 0xfffffff9
mov dword [ebp - 0x2b8], 0xfffffff9
mov dword [ebp - 0x2b4], 0xfffffff9
mov dword [ebp - 0x2b0], 0xfffffff9
lea ecx, [ebp - 0x75]
call fcn.10009483
push eax
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x2bc]
push eax
lea ecx, [ebp - 0x398]
call fcn.10017444
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x388]
call fcn.1001740a
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x60], 0
jmp 0x1004de00
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 3
jg 0x1004de2d
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x1004de2b
push 0x223
push 0x2598
push 0
push 0x1c4f
push 0
call dword [sym.imp.USER32.dll_GetMenuStringW]
jmp 0x1004ddf9
lea ecx, [ebp - 0x388]
call fcn.10017430
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x128], 1
mov dword [ebp - 0x88], 0x716b5b38
mov dword [ebp - 0x130], 0xfffffff8
mov dword [ebp - 0x248], 0x5db2b058
mov dword [ebp - 0xa0], 0x51ef9953
mov dword [ebp - 0x320], 0x48aab564
mov dword [ebp - 0x328], 4
push 3
lea ecx, [ebp - 0x220]
call fcn.100173c8
mov dword [ebp - 4], 3
push 1
lea ecx, [ebp - 0x2dc]
call fcn.100173c8
mov byte [ebp - 4], 4
mov dword [ebp - 0x278], 0x6f8a3e09
mov dword [ebp - 0x10], 0
jmp 0x1004dec6
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x1004dedc
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x2a8], 0xb055cc25
jmp 0x1004debf
mov dword [ebp - 0x10], 0
jmp 0x1004deec
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1004df08
push dword [ebp - 0x10]
lea ecx, [ebp - 0x220]
call fcn.10017435
mov dword [eax], 0x4caa5d73
jmp 0x1004dee5
mov dword [ebp - 0x10], 0
jmp 0x1004df18
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1004df34
push dword [ebp - 0x10]
lea ecx, [ebp - 0x2dc]
call fcn.10017435
mov dword [eax], 8
jmp 0x1004df11
mov dword [ebp - 0x10], 0
jmp 0x1004df44
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1004df5a
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x350], 0xbb5c02ac
jmp 0x1004df3d
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2a8]
mov dword [ebp - 0x330], eax
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x2a8]
mov dword [ebp - 0x338], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x2a8]
mov dword [ebp - 0x318], eax
mov eax, dword [ebp - 0x88]
cmp dword [ebp - 0xa0], eax
jge 0x1004dfac
mov dword [ebp - 0x1d4], 1
jmp 0x1004dfb3
and dword [ebp - 0x1d4], 0
cmp dword [ebp - 0x1d4], 2
je 0x1004dfda
push 0
lea ecx, [ebp - 0x220]
call fcn.10017435
cmp dword [eax], 0
je 0x1004dfda
mov dword [ebp - 0xf8], 1
jmp 0x1004dfe1
and dword [ebp - 0xf8], 0
cmp dword [ebp - 0xf8], 0xfffffffd
jbe 0x1004e008
mov eax, 0x9a81
test eax, eax
je 0x1004e008
mov eax, 0xde63b691
test eax, eax
je 0x1004e008
mov dword [ebp - 0x178], 1
jmp 0x1004e00f
and dword [ebp - 0x178], 0
imul eax, dword [ebp - 0x178], 0xfffffffa
test eax, eax
jne 0x1004e027
xor eax, eax
jne 0x1004e027
and dword [ebp - 0x100], 0
jmp 0x1004e031
mov dword [ebp - 0x100], 1
cmp dword [ebp - 0x100], 4
je 0x1004e046
mov dword [ebp - 0x1b8], 1
jmp 0x1004e04d
and dword [ebp - 0x1b8], 0
push 0
lea ecx, [ebp - 0x2dc]
call fcn.10017435
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov eax, dword [eax]
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x80]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x80]
mov dword [ecx], eax
mov eax, dword [ebp - 0x298]
cmp eax, dword [ebp - 0x234]
jle 0x1004e099
mov dword [ebp - 0x108], 1
jmp 0x1004e0a0
and dword [ebp - 0x108], 0
push 2
lea ecx, [ebp - 0x220]
call fcn.10017435
mov ecx, dword [ebp - 0x108]
cmp ecx, dword [eax]
je 0x1004e0c3
mov dword [ebp - 0x180], 1
jmp 0x1004e0ca
and dword [ebp - 0x180], 0
push 4
pop eax
imul eax, eax, 3
mov esi, dword [ebp - 0x180]
sub esi, dword [ebp + eax - 0x2a8]
push 2
lea ecx, [ebp - 0x220]
call fcn.10017435
cmp esi, dword [eax]
jne 0x1004e0fa
mov dword [ebp - 0x110], 1
jmp 0x1004e101
and dword [ebp - 0x110], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2a8]
cmp eax, dword [ebp - 0x110]
je 0x1004e122
mov dword [ebp - 0x1d8], 1
jmp 0x1004e129
and dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 0x278]
imul eax, dword [ebp - 0x1d8]
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x350]
jne 0x1004e151
mov dword [ebp - 0x118], 1
jmp 0x1004e158
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x118]
imul eax, dword [ebp - 0x130]
mov dword [ebp - 0x188], eax
push 0
lea ecx, [ebp - 0x220]
call fcn.10017435
mov ecx, dword [ebp - 0x188]
mov dword [eax], ecx
mov eax, dword [ebp - 0x188]
neg eax
add eax, 3
jne 0x1004e19f
cmp dword [ebp - 0x248], 0
jne 0x1004e19f
and dword [ebp - 0x120], 0
jmp 0x1004e1a9
mov dword [ebp - 0x120], 1
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x120], eax
je 0x1004e1c3
mov dword [ebp - 0x230], 1
jmp 0x1004e1ca
and dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x364], eax
mov eax, dword [ebp - 0xa0]
add eax, 7
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x350]
jne 0x1004e200
mov eax, 0x309e
test eax, eax
jne 0x1004e200
and dword [ebp - 0x1c0], 0
jmp 0x1004e20a
mov dword [ebp - 0x1c0], 1
mov eax, dword [ebp - 0x1c0]
inc eax
cmp eax, dword [ebp - 0x128]
jl 0x1004e225
mov dword [ebp - 0x190], 1
jmp 0x1004e22c
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x130], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2dc]
call fcn.10017430
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.10017430
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x18], 8
mov dword [ebp - 0x74], 0xfffffff7
mov dword [ebp - 0x140], 0xffffffff
mov dword [ebp - 0x7c], 0xfffffffe
mov dword [ebp - 0x23c], 0xed7d4130
mov dword [ebp - 0x44], 0
jmp 0x1004e2a7
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 4
jge 0x1004e2bd
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x304], 9
jmp 0x1004e2a0
cmp dword [ebp - 0x18], 0
je 0x1004e2d5
cmp dword [ebp - 0x18], 0
je 0x1004e2d5
mov dword [ebp - 0x1d0], 1
jmp 0x1004e2dc
and dword [ebp - 0x1d0], 0
cmp dword [ebp - 0x18], 0
jne 0x1004e311
cmp dword [ebp - 0x18], 0xca70051
jge 0x1004e2f7
mov dword [ebp - 0x98], 1
jmp 0x1004e2fe
and dword [ebp - 0x98], 0
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x98]
mov dword [ebp + eax - 0x304], ecx
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x304]
cmp dword [ebp - 0x18], eax
jle 0x1004e32f
mov dword [ebp - 0x1e0], 1
jmp 0x1004e336
and dword [ebp - 0x1e0], 0
cmp dword [ebp - 0x1e0], 0xa83d87e3
jbe 0x1004e34e
mov dword [ebp - 0x138], 1
jmp 0x1004e355
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x36c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x374], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x18]
cmp dword [ebp + eax - 0x304], ecx
jne 0x1004e38e
mov dword [ebp - 0x198], 1
jmp 0x1004e395
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x198]
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0
jne 0x1004e3cd
cmp dword [ebp - 0x74], 0
jne 0x1004e3cd
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x304], 0
jne 0x1004e3cd
and dword [ebp - 0x1c8], 0
jmp 0x1004e3d7
mov dword [ebp - 0x1c8], 1
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x7c], eax
jg 0x1004e3fa
cmp dword [ebp - 0x7c], 0
je 0x1004e3fa
mov dword [ebp - 0x148], 1
jmp 0x1004e401
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x148], eax
jne 0x1004e418
mov dword [ebp - 0x1a0], 1
jmp 0x1004e41f
and dword [ebp - 0x1a0], 0
cmp dword [ebp - 0x1a0], 0xbc4433ac
ja 0x1004e437
mov dword [ebp - 0x150], 1
jmp 0x1004e43e
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x1d0]
sub ecx, eax
mov dword [ebp - 0x23c], ecx
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x14c], eax
push 1
lea ecx, [ebp - 0x1ec]
call fcn.100173c8
mov dword [ebp - 4], 5
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x27c], 1
mov dword [ebp - 0x58], 0
jmp 0x1004e4bd
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 1
jge 0x1004e4d9
push dword [ebp - 0x58]
lea ecx, [ebp - 0x1ec]
call fcn.10017435
mov dword [eax], 0x13ec
jmp 0x1004e4b6
mov dword [ebp - 0x1c], 0
jmp 0x1004e4e9
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x1004e840
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x214], 0xffffffff
mov dword [ebp - 0x210], 0xffffffff
mov dword [ebp - 0x20c], 0xffffffff
mov dword [ebp - 0x208], 0xffffffff
mov dword [ebp - 0x25c], 0x6bc97de2
mov dword [ebp - 0x20], 0
jmp 0x1004e53c
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jg 0x1004e83b
mov dword [ebp - 0x264], 0x90438315
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1ec]
call fcn.10017435
mov ecx, 0xb8f3d421
sub ecx, dword [eax]
je 0x1004e677
mov dword [ebp - 0xd0], 0x7f3e76e5
mov dword [ebp - 0x24c], 0x157736d0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1ec]
call fcn.10017435
cmp dword [ebp - 0xd0], 0
jne 0x1004e5a5
cmp dword [ebp - 0x30], 0
jne 0x1004e5a5
and dword [ebp - 0x158], 0
jmp 0x1004e5af
mov dword [ebp - 0x158], 1
cmp dword [ebp - 0x20], 0x6cc9
jg 0x1004e5c4
mov dword [ebp - 0x1a8], 1
jmp 0x1004e5cb
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x158]
add eax, dword [ebp - 0x1a8]
imul eax, eax, 0x56e7
cmp eax, dword [ebp - 0x84]
jg 0x1004e5f1
mov dword [ebp - 0x160], 1
jmp 0x1004e5f8
and dword [ebp - 0x160], 0
cmp dword [ebp - 0x160], 4
jae 0x1004e60d
mov dword [ebp - 0xd4], 1
jmp 0x1004e614
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xd0]
imul eax, dword [ebp - 0xd4]
neg eax
cmp eax, dword [ebp - 0x1c]
jge 0x1004e634
mov dword [ebp - 0xdc], 1
jmp 0x1004e63b
and dword [ebp - 0xdc], 0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1ec]
call fcn.10017435
mov ecx, dword [ebp - 0xdc]
cmp ecx, dword [eax]
jg 0x1004e65f
mov dword [ebp - 0xe4], 1
jmp 0x1004e666
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x24c], eax
jmp 0x1004e702
mov dword [ebp - 0x274], 0
cmp dword [ebp - 0x20], 0xfffffffa
jge 0x1004e693
mov dword [ebp - 0xec], 1
jmp 0x1004e69a
and dword [ebp - 0xec], 0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1ec]
call fcn.10017435
cmp dword [eax], 0
jne 0x1004e6b9
mov dword [ebp - 0xf4], 1
jmp 0x1004e6c0
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x84]
imul eax, dword [ebp - 0xec]
mov ecx, dword [ebp - 0xf4]
sub ecx, dword [ebp - 0x274]
cmp eax, ecx
jle 0x1004e6e9
mov dword [ebp - 0xfc], 1
jmp 0x1004e6f0
and dword [ebp - 0xfc], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0xfc]
mov dword [ebp + eax - 0x214], ecx
mov eax, 0x928694a2
test eax, eax
je 0x1004e726
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x214], 0
je 0x1004e726
mov dword [ebp - 0x254], 1
jmp 0x1004e72d
and dword [ebp - 0x254], 0
xor eax, eax
inc eax
je 0x1004e744
cmp dword [ebp - 0x20], 0
je 0x1004e744
mov dword [ebp - 0x294], 1
jmp 0x1004e74b
and dword [ebp - 0x294], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x37c], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x214], 0
je 0x1004e770
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x214], 0
cmp dword [ebp - 0x84], 0xad21dd8e
jne 0x1004e788
mov dword [ebp - 0xa8], 1
jmp 0x1004e78f
and dword [ebp - 0xa8], 0
cmp dword [ebp - 0xa8], 0x4681c37f
jle 0x1004e7a7
mov dword [ebp - 0x10c], 1
jmp 0x1004e7ae
and dword [ebp - 0x10c], 0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1ec]
call fcn.10017435
mov ecx, dword [ebp - 0x10c]
sub ecx, dword [eax]
push 4
pop eax
shl eax, 1
cmp ecx, dword [ebp + eax - 0x214]
jge 0x1004e7de
mov dword [ebp - 0x114], 1
jmp 0x1004e7e5
and dword [ebp - 0x114], 0
cmp dword [ebp - 0x114], 0xe56979f9
jne 0x1004e82c
mov dword [ebp - 0x30], 0
jmp 0x1004e801
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jg 0x1004e821
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x210], 1
mov dword [ebp - 0x25c], 1
jmp 0x1004e7fa
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x27c], eax
jmp 0x1004e836
mov dword [ebp - 0x264], 0xc5a258d3
jmp 0x1004e535
jmp 0x1004e4e2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call fcn.10017430
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x314], 0x177e8edf
mov dword [ebp - 0x310], 0x177e8edf
mov dword [ebp - 0x30c], 0x177e8edf
mov dword [ebp - 0x308], 0x177e8edf
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x38], 0
jmp 0x1004e8a3
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jg 0x1004e8d9
mov dword [ebp - 0x68], 0xfffffff7
mov dword [ebp - 0x68], 0
jmp 0x1004e8c0
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 3
jg 0x1004e8d7
mov eax, dword [ebp - 0x38]
cmp dword [ebp + eax*4 - 0x314], 0
je 0x1004e8d5
jmp 0x1004e8d7
jmp 0x1004e8b9
jmp 0x1004e89c
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax]
mov dword [ebp - 0x378], eax
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jl 0x1004e90e
mov dword [ebp - 0x15c], 1
jmp 0x1004e915
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jle 0x1004e930
mov dword [ebp - 0x11c], 1
jmp 0x1004e937
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x11c]
sub eax, 0x924e
mov ecx, dword [ebp - 0x8c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x4c]
imul eax, dword [ecx]
cmp eax, 8
jge 0x1004e969
mov dword [ebp - 0x124], 1
jmp 0x1004e970
and dword [ebp - 0x124], 0
cmp dword [ebp - 0x124], 0xcc39b987
jae 0x1004e988
mov dword [ebp - 0x12c], 1
jmp 0x1004e98f
and dword [ebp - 0x12c], 0
cmp dword [ebp - 0x12c], 0xa39b7b3f
jne 0x1004e9a7
mov dword [ebp - 0x134], 1
jmp 0x1004e9ae
and dword [ebp - 0x134], 0
cmp dword [ebp - 0x134], 0xabe9
jge 0x1004e9cb
mov eax, dword [ebp - 0x4c]
cmp dword [eax], 0
jne 0x1004e9cb
and dword [ebp - 0x13c], 0
jmp 0x1004e9d5
mov dword [ebp - 0x13c], 1
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x16c]
mov edx, dword [ebp - 0x13c]
sub edx, dword [ecx]
cmp dword [eax], edx
jne 0x1004e9f6
mov dword [ebp - 0x144], 1
jmp 0x1004e9fd
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
cmp dword [ebp - 0x144], eax
jl 0x1004ea1b
mov eax, dword [ebp - 0x4c]
cmp dword [eax], 0
jne 0x1004ea1b
and dword [ebp - 0x154], 0
jmp 0x1004ea25
mov dword [ebp - 0x154], 1
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax]
cmp dword [ebp - 0x154], eax
jg 0x1004ea41
mov dword [ebp - 0x164], 1
jmp 0x1004ea48
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x15c]
cmp eax, dword [ebp - 0x164]
jge 0x1004ea67
mov eax, dword [ebp - 0x3c]
cmp dword [eax], 0
jne 0x1004ea67
and dword [ebp - 0x174], 0
jmp 0x1004ea71
mov dword [ebp - 0x174], 1
mov eax, dword [ebp - 0x16c]
mov eax, dword [eax]
cmp dword [ebp - 0x174], eax
jge 0x1004ea8d
mov dword [ebp - 0x94], 1
jmp 0x1004ea94
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x94]
mov dword [eax], ecx
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 0x94]
mov dword [eax], ecx
jmp 0x1004eea7
mov dword [ebp - 0x34], 0xca4f833f
mov dword [ebp - 0xa4], 0xfffffffa
mov dword [ebp - 0x258], 0xfffffffc
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x368], 8
mov dword [ebp - 0x54], 0
jmp 0x1004eaee
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 1
jge 0x1004eb01
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x24], 0xffffffff
jmp 0x1004eae7
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x1004eb17
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommState]
mov dword [ebp - 0x34], 0
jmp 0x1004eb27
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jg 0x1004ee3c
mov dword [ebp - 0x14], 0x77dd6887
mov dword [ebp - 0xac], 0xfffffff7
push 4
lea ecx, [ebp - 0x2f4]
call fcn.100173c8
mov dword [ebp - 4], 6
mov dword [ebp - 0x5c], 0
jmp 0x1004eb66
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 4
jge 0x1004eb82
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x2f4]
call fcn.10017435
mov dword [eax], 0xd0fe1f23
jmp 0x1004eb5f
mov dword [ebp - 0x14], 0
jmp 0x1004eb92
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x1004ee28
mov dword [ebp - 0x64], 0
mov dword [ebp - 0xc0], 0xcea0262b
mov dword [ebp - 0x270], 0xcd1ad70
xor eax, eax
inc eax
je 0x1004ed51
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x14], eax
jne 0x1004ebd4
mov dword [ebp - 0x17c], 1
jmp 0x1004ebdb
and dword [ebp - 0x17c], 0
cmp dword [ebp - 0x17c], 1
jl 0x1004ebf0
mov dword [ebp - 0x184], 1
jmp 0x1004ebf7
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x184], eax
jne 0x1004ec0e
mov dword [ebp - 0x18c], 1
jmp 0x1004ec15
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x24]
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ebp + ecx*4 - 0x24]
add ecx, dword [ebp - 0x18c]
imul eax, ecx
sub eax, 0x297c5811
cmp eax, 0xe469
jg 0x1004ec44
mov dword [ebp - 0x194], 1
jmp 0x1004ec4b
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x358], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x24]
mov dword [ebp - 0x324], eax
cmp dword [ebp - 0x14], 0x339b
jle 0x1004ec85
cmp dword [ebp - 0xa4], 0
jne 0x1004ec85
and dword [ebp - 0x19c], 0
jmp 0x1004ec8f
mov dword [ebp - 0x19c], 1
imul eax, dword [ebp - 0x19c], 0x782e
test eax, eax
je 0x1004eca1
cmp dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x35c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x24]
mov dword [ebp - 0x32c], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x360], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x24]
mov dword [ebp - 0x334], eax
cmp dword [ebp - 0x258], 0xcb2d
jl 0x1004ecf1
mov dword [ebp - 0x9c], 1
jmp 0x1004ecf8
and dword [ebp - 0x9c], 0
push 3
lea ecx, [ebp - 0x2f4]
call fcn.10017435
mov ecx, dword [ebp - 0x9c]
mov dword [eax], ecx
cmp dword [ebp - 0x9c], 0
je 0x1004ed2b
mov eax, 0xe879
test eax, eax
je 0x1004ed2b
mov dword [ebp - 0x260], 1
jmp 0x1004ed32
and dword [ebp - 0x260], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x370], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x24], 0
je 0x1004ed51
mov dword [ebp - 0x268], 1
jmp 0x1004ed58
and dword [ebp - 0x268], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x24]
mov dword [ebp - 0x33c], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x24], ecx
jl 0x1004ed80
mov dword [ebp - 0x1a4], 1
jmp 0x1004ed87
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x1a4]
sub ecx, dword [ebp + eax*4 - 0x24]
cmp ecx, 0x360e5697
jl 0x1004eda8
mov dword [ebp - 0xb0], 1
jmp 0x1004edaf
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xac]
cmp dword [ebp - 0xb0], eax
jge 0x1004edc9
mov dword [ebp - 0xb8], 1
jmp 0x1004edd0
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x40], 0
jmp 0x1004edf8
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jl 0x1004ee23
mov dword [ebp - 0xa4], 0xb2d4ad4
mov byte [ebp - 0x2c], 0
movzx eax, byte [ebp - 0x2c]
test eax, eax
je 0x1004ee21
push 0x1d25
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x1004edf1
jmp 0x1004eb8b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2f4]
call fcn.10017430
jmp 0x1004eb20
mov dword [ebp - 0x6c], 0xfffffff7
mov dword [ebp - 0x6c], 0
jmp 0x1004ee53
mov eax, dword [ebp - 0x6c]
dec eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xfffffffc
jle 0x1004ee9b
mov dword [ebp - 0x48], 0x97eede0b
mov dword [ebp - 0x344], 0x891c5534
mov dword [ebp - 0x48], 0xffffffea
jmp 0x1004ee7a
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x11
jne 0x1004ee99
mov dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
jmp 0x1004ee73
jmp 0x1004ee4c
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAdjustment]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret