Function at 0x1004afb7
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007d5ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e0
push esi
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x178], 0xfffffff9
mov dword [ebp - 0x44], 0
jmp 0x1004aff7
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 2
jge 0x1004b00d
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x98], 9
jmp 0x1004aff0
mov dword [ebp - 0x10], 1
jmp 0x1004b01d
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1004b215
mov dword [ebp - 0x24], 0xa75c19c5
mov dword [ebp - 0x15c], 0x9200
mov dword [ebp - 0x24], 1
jmp 0x1004b048
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x1004b0fb
mov dword [ebp - 0x4c], 0x2491e29e
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x1004b07b
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetCurrentPositionEx]
mov dword [ebp - 0x4c], 0
jmp 0x1004b08b
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 1
jg 0x1004b0f6
mov dword [ebp - 0x64], 1
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x1004b0ac
push 0
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebp - 0x64], 1
jmp 0x1004b0bc
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jl 0x1004b0f4
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x1004b0d9
push 0xac7
call dword [sym.imp.GDI32.dll_GetStockObject]
mov byte [ebp - 0x30], 0
movzx eax, byte [ebp - 0x30]
test eax, eax
je 0x1004b0f2
push 0
push 0x1037
call dword [sym.imp.GDI32.dll_CreateHatchBrush]
jmp 0x1004b0b5
jmp 0x1004b084
jmp 0x1004b041
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x98], ecx
jne 0x1004b119
mov dword [ebp - 0x11c], 1
jmp 0x1004b120
and dword [ebp - 0x11c], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x98], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x98], 0x3fc2
jl 0x1004b14a
mov dword [ebp - 0x140], 1
jmp 0x1004b151
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x140]
sub eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
imul eax, dword [ebp + ecx*4 - 0x98]
cmp eax, dword [ebp - 0x24]
jge 0x1004b176
mov dword [ebp - 0x144], 1
jmp 0x1004b17d
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x15c]
cmp dword [ebp - 0x144], eax
jle 0x1004b197
mov dword [ebp - 0x14c], 1
jmp 0x1004b19e
and dword [ebp - 0x14c], 0
cmp dword [ebp - 0x14c], 0xa4d3ec93
jb 0x1004b1b6
mov dword [ebp - 0xd0], 1
jmp 0x1004b1bd
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0xd0]
sub eax, 0x6d5d64f6
imul eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x11c]
sub ecx, eax
mov eax, dword [ebp - 0x10]
cmp ecx, dword [ebp + eax*4 - 0x98]
jge 0x1004b1f0
mov dword [ebp - 0xb4], 1
jmp 0x1004b1f7
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xb4]
sub ecx, dword [ebp + eax*4 - 0x98]
add ecx, dword [ebp - 0x10]
mov dword [ebp - 0x178], ecx
jmp 0x1004b016
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x1004b229
push 0
call dword [sym.imp.USER32.dll_IsRectEmpty]
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1004b2a9
mov dword [ebp - 0x3c], 0x4801897a
mov dword [ebp - 0x54], 0
jmp 0x1004b248
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 2
jge 0x1004b25e
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x1d8], 0xfff9
jmp 0x1004b241
mov dword [ebp - 0x3c], 0
jmp 0x1004b26e
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x1004b284
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x1d8], 0xffff
jmp 0x1004b267
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x1004b29c
push 0x1f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
jmp 0x1004bd31
push 4
lea ecx, [ebp - 0xa4]
call fcn.10014fc7
and dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x34], 0xc924dfb4
mov dword [ebp - 0x70], 0x365d5a10
mov dword [ebp - 0x84], 0x8983c1e2
mov dword [ebp - 0x6c], 0
jmp 0x1004b2e9
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 4
jge 0x1004b302
push dword [ebp - 0x6c]
lea ecx, [ebp - 0xa4]
call fcn.10015051
and dword [eax], 0
jmp 0x1004b2e2
push 1
lea ecx, [ebp - 0xa4]
call fcn.10015051
cmp dword [eax], 0
je 0x1004b35e
mov dword [ebp - 0x38], 6
mov dword [ebp - 0x38], 3
jmp 0x1004b32b
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jl 0x1004b359
mov dword [ebp - 0x78], 0xd76715f0
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
mov esi, 0x7a3a11c1
sub esi, dword [ebp - 0x78]
push dword [ebp - 0x38]
lea ecx, [ebp - 0xa4]
call fcn.10015051
mov dword [eax], esi
jmp 0x1004b324
jmp 0x1004b887
mov dword [ebp - 0x2c], 0xc933
mov dword [ebp - 0x80], 0x88ce324e
mov dword [ebp - 0x7c], 0x785e8a77
mov dword [ebp - 0xe4], 0xc438f874
mov dword [ebp - 0x74], 0xffffffff
push 2
lea ecx, [ebp - 0x1a4]
call fcn.10014fc7
mov byte [ebp - 4], 1
mov dword [ebp - 0xc8], 0x88b70e9a
mov dword [ebp - 0x5c], 0
jmp 0x1004b3af
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 2
jge 0x1004b3cb
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x1a4]
call fcn.10015051
mov dword [eax], 1
jmp 0x1004b3a8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c8], eax
push 1
lea ecx, [ebp - 0xa4]
call fcn.10015051
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
sub eax, 0x578e7829
jne 0x1004b40b
push 1
lea ecx, [ebp - 0xa4]
call fcn.10015051
cmp dword [eax], 0
jne 0x1004b40b
and dword [ebp - 0x124], 0
jmp 0x1004b415
mov dword [ebp - 0x124], 1
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x124]
jle 0x1004b42c
mov dword [ebp - 0xbc], 1
jmp 0x1004b433
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0xbc], eax
jle 0x1004b44a
mov dword [ebp - 0x12c], 1
jmp 0x1004b451
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x12c]
sub eax, 0x680e0084
cmp eax, 0xbab9
jl 0x1004b481
push 1
lea ecx, [ebp - 0xa4]
call fcn.10015051
cmp dword [eax], 0
je 0x1004b481
mov dword [ebp - 0xc4], 1
jmp 0x1004b488
and dword [ebp - 0xc4], 0
push 1
lea ecx, [ebp - 0xa4]
call fcn.10015051
mov ecx, dword [ebp - 0xc4]
cmp ecx, dword [eax]
jl 0x1004b4ab
mov dword [ebp - 0x134], 1
jmp 0x1004b4b2
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x7c], eax
jge 0x1004b4cf
mov dword [ebp - 0x13c], 1
jmp 0x1004b4d6
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x13c], eax
jge 0x1004b4ed
mov dword [ebp - 0x188], 1
jmp 0x1004b4f4
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x80], eax
jl 0x1004b508
mov dword [ebp - 0xcc], 1
jmp 0x1004b50f
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xcc]
sub eax, dword [ebp - 0xe4]
inc eax
jne 0x1004b52d
cmp dword [ebp - 0x34], 0
jne 0x1004b52d
and dword [ebp - 0x110], 0
jmp 0x1004b537
mov dword [ebp - 0x110], 1
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x110]
je 0x1004b555
push 9
pop eax
test eax, eax
je 0x1004b555
mov dword [ebp - 0xd8], 1
jmp 0x1004b55c
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0xd8], eax
jne 0x1004b576
cmp dword [ebp - 0x34], 0
jne 0x1004b576
and dword [ebp - 0x130], 0
jmp 0x1004b580
mov dword [ebp - 0x130], 1
mov eax, dword [ebp - 0x130]
sub eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x2c]
jg 0x1004b59a
mov dword [ebp - 0xe0], 1
jmp 0x1004b5a1
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0xe0]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x118], eax
push 0
lea ecx, [ebp - 0x1a4]
call fcn.10015051
mov ecx, dword [ebp - 0x118]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x118], eax
jg 0x1004b5e2
mov dword [ebp - 0xe8], 1
jmp 0x1004b5e9
and dword [ebp - 0xe8], 0
cmp dword [ebp - 0xe8], 0
jne 0x1004b5fe
mov dword [ebp - 0xa8], 1
jmp 0x1004b605
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0xa8], eax
je 0x1004b61c
mov dword [ebp - 0xf0], 1
jmp 0x1004b623
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xf0], eax
je 0x1004b643
mov eax, 0xff013ec5
test eax, eax
je 0x1004b643
mov dword [ebp - 0x190], 1
jmp 0x1004b64a
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c4], eax
mov eax, 0xc327405e
inc eax
jne 0x1004b667
mov dword [ebp - 0x198], 1
jmp 0x1004b66e
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x70]
cmp eax, 0xfffffff6
jg 0x1004b689
push 0xfffffffffffffffc
pop eax
test eax, eax
jne 0x1004b689
and dword [ebp - 0x120], 0
jmp 0x1004b693
mov dword [ebp - 0x120], 1
cmp dword [ebp - 0x120], 0xea8edf97
ja 0x1004b6ab
mov dword [ebp - 0xf8], 1
jmp 0x1004b6b2
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0xf8], eax
je 0x1004b6c9
mov dword [ebp - 0x138], 1
jmp 0x1004b6d0
and dword [ebp - 0x138], 0
cmp dword [ebp - 0x138], 0x713999ea
jge 0x1004b6e8
mov dword [ebp - 0x100], 1
jmp 0x1004b6ef
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0xc8]
cmp dword [ebp - 0x100], eax
je 0x1004b709
mov dword [ebp - 0x128], 1
jmp 0x1004b710
and dword [ebp - 0x128], 0
push 1
lea ecx, [ebp - 0xa4]
call fcn.10015051
mov ecx, dword [ebp - 0x128]
cmp ecx, dword [eax]
jne 0x1004b733
mov dword [ebp - 0x108], 1
jmp 0x1004b73a
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x108], eax
jl 0x1004b751
mov dword [ebp - 0x148], 1
jmp 0x1004b758
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x70], eax
jl 0x1004b775
mov dword [ebp - 0xd4], 1
jmp 0x1004b77c
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xc8]
imul eax, dword [ebp - 0xd4]
test eax, eax
jge 0x1004b799
mov dword [ebp - 0xdc], 1
jmp 0x1004b7a0
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xdc], eax
je 0x1004b7b7
mov dword [ebp - 0xec], 1
jmp 0x1004b7be
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xe4]
imul eax, dword [ebp - 0xec]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0x1886
jg 0x1004b7ef
mov dword [ebp - 0x74], 0x5401bc10
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x70], eax
jmp 0x1004b878
push 4
lea ecx, [ebp - 0x1b0]
call fcn.10014fc7
mov byte [ebp - 4], 2
mov dword [ebp - 0x68], 0
jmp 0x1004b810
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 4
jge 0x1004b82c
push dword [ebp - 0x68]
lea ecx, [ebp - 0x1b0]
call fcn.10015051
mov dword [eax], 0x1a3e
jmp 0x1004b809
push 3
lea ecx, [ebp - 0x1b0]
call fcn.10015051
mov dword [eax], 1
xor eax, eax
inc eax
je 0x1004b859
cmp dword [ebp - 0x84], 0
je 0x1004b859
mov dword [ebp - 0xf4], 1
jmp 0x1004b860
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1b0]
call fcn.1001504c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1a4]
call fcn.1001504c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.1001504c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x174], eax
push 3
lea ecx, [ebp - 0x90]
call fcn.10014fc7
mov dword [ebp - 4], 3
mov dword [ebp - 0x1c], 0x744d
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x1cc], 0xe62b5009
mov dword [ebp - 0x1b8], 0xffffffff
mov dword [ebp - 0x1c0], 0xe9a9d012
mov dword [ebp - 0x1b4], 1
push 3
lea ecx, [ebp - 0x1ec]
call fcn.10014fc7
mov byte [ebp - 4], 4
mov dword [ebp - 0x1d0], 0xf4f2d891
mov dword [ebp - 0xc0], 0xfffffffd
mov dword [ebp - 0x18], 0
jmp 0x1004b921
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1004b93d
push dword [ebp - 0x18]
lea ecx, [ebp - 0x90]
call fcn.10015051
mov dword [eax], 0x7a4a
jmp 0x1004b91a
mov dword [ebp - 0x18], 0
jmp 0x1004b94d
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1004b969
push dword [ebp - 0x18]
lea ecx, [ebp - 0x1ec]
call fcn.10015051
mov dword [eax], 0x6232c2a4
jmp 0x1004b946
push 2
lea ecx, [ebp - 0x90]
call fcn.10015051
push 2
lea ecx, [ebp - 0x90]
call fcn.10015051
mov esi, eax
push 2
lea ecx, [ebp - 0x90]
call fcn.10015051
mov ecx, dword [esi]
cmp ecx, dword [eax]
jg 0x1004b9a4
mov dword [ebp - 0x170], 1
jmp 0x1004b9ab
and dword [ebp - 0x170], 0
push 2
lea ecx, [ebp - 0x90]
call fcn.10015051
push 2
lea ecx, [ebp - 0x90]
call fcn.10015051
mov eax, dword [eax]
sub eax, dword [ebp - 0x1c]
je 0x1004bae1
mov dword [ebp - 0x168], 0xe12aa53f
mov dword [ebp - 0x1c], 0
jmp 0x1004b9ea
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jg 0x1004badc
push 3
lea ecx, [ebp - 0x158]
call fcn.10014fc7
mov byte [ebp - 4], 5
mov dword [ebp - 0x60], 0
jmp 0x1004ba15
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 3
jge 0x1004ba31
push dword [ebp - 0x60]
lea ecx, [ebp - 0x158]
call fcn.10015051
mov dword [eax], 0xae4b9a73
jmp 0x1004ba0e
push 0
lea ecx, [ebp - 0x158]
call fcn.10015051
mov dword [eax], 2
jmp 0x1004ba6a
push 0
lea ecx, [ebp - 0x158]
call fcn.10015051
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xfc]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x158]
call fcn.10015051
cmp dword [eax], 0
jl 0x1004babe
mov byte [ebp - 0x2f], 0
movzx eax, byte [ebp - 0x2f]
test eax, eax
je 0x1004ba8e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
lea ecx, [ebp - 0x158]
call fcn.10015051
push dword [eax]
lea ecx, [ebp - 0x90]
call fcn.10015051
mov esi, eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x90]
call fcn.10015051
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x1004ba46
mov dword [ebp - 0x168], 0x104272ba
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x158]
call fcn.1001504c
jmp 0x1004b9e3
jmp 0x1004bc20
mov dword [ebp - 0x40], 0xffff
mov dword [ebp - 0x1dc], 0xfffffff8
mov dword [ebp - 0x48], 0
jmp 0x1004bb02
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 1
jge 0x1004bb18
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x10c], 3
jmp 0x1004bafb
cmp dword [ebp - 0x1c], 0xcefbde28
jne 0x1004bb2d
mov dword [ebp - 0x114], 1
jmp 0x1004bb34
and dword [ebp - 0x114], 0
push 4
pop eax
imul eax, eax, 0
lea eax, [ebp + eax - 0x10c]
mov dword [ebp - 0x104], eax
push 0
lea ecx, [ebp - 0x90]
call fcn.10015051
mov ecx, dword [ebp - 0x104]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x104]
mov esi, dword [ebp - 0x40]
imul esi, dword [eax]
push 2
lea ecx, [ebp - 0x90]
call fcn.10015051
cmp esi, dword [eax]
je 0x1004bb87
mov dword [ebp - 0x16c], 1
jmp 0x1004bb8e
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x1e0], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10c]
cmp dword [ebp - 0x114], eax
je 0x1004bbc1
mov dword [ebp - 0xac], 1
jmp 0x1004bbc8
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0xac], eax
jne 0x1004bbdf
mov dword [ebp - 0xb0], 1
jmp 0x1004bbe6
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0x40]
je 0x1004bc00
mov dword [ebp - 0xb8], 1
jmp 0x1004bc07
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1ec]
call fcn.1001504c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.1001504c
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x50], 0
jmp 0x1004bc63
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 3
jge 0x1004bc79
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x184], 0xad313dd3
jmp 0x1004bc5c
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x184], 0x1b
jmp 0x1004bca7
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x184]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x184], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x184], 0xffffffe9
jne 0x1004bd05
mov dword [ebp - 0x58], 0xffffffff
mov dword [ebp - 0x58], 0xb
jmp 0x1004bcce
mov eax, dword [ebp - 0x58]
dec eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xfffffff1
jge 0x1004bd03
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x1004bcef
push 0xfed
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x184], 0
je 0x1004bd01
jmp 0x1004bd03
jmp 0x1004bcc7
jmp 0x1004bc8c
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x164], eax
push 3
mov ecx, dword [ebp - 0x164]
call fcn.10015051
mov esi, eax
push 1
mov ecx, dword [ebp - 0x160]
call fcn.10015051
mov ecx, dword [esi]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret