Function at 0x410180
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov dword [ebp - 0x18], 0x47f3
mov dword [ebp - 0x70], 0x158d5
mov dword [ebp - 0x20], 0x1649d
mov dword [ebp - 0x94], 0x35f5
mov dword [ebp - 0x10], 0x1320
mov dword [ebp - 0x98], 0x12d6
mov dword [ebp - 0x44], 0xa486
mov dword [ebp - 0x1c], 0x66fb
mov dword [ebp - 0x8c], 0x10d68
mov dword [ebp - 0x30], 0x117f5
mov dword [ebp - 0x60], 0x4ba9
mov dword [ebp - 0x80], 0x1e51
mov dword [ebp - 0x38], 0x154c3
mov dword [ebp - 0x2c], 0x106f4
mov dword [ebp - 4], 0xf4
mov dword [ebp - 0x6c], 0x4ba0
mov dword [ebp - 0x50], 0x4b9
mov dword [ebp - 0xc], 0x156a6
mov dword [ebp - 0x14], 0x117ad
mov dword [ebp - 0x9c], 0x12c8b
mov dword [ebp - 0x34], 0x366a
mov dword [ebp - 0x28], 0xdd6b
mov dword [ebp - 0x4c], 0x3f04
mov dword [ebp - 0x7c], 0x139cc
mov dword [ebp - 8], 0xd98c
mov eax, dword [ebp - 0x20]
sub eax, 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
jmp 0x41025f
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x10]
sub edx, 0x131f
cmp dword [ebp - 0x24], edx
jge 0x410278
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
jmp 0x410256
cmp dword [ebp - 0x34], 0x366b
jge 0x41041b
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp - 0x60]
jge 0x410296
mov dword [ebp - 0x3c], 1
jmp 0x41029d
mov dword [ebp - 0x3c], 0
mov edx, dword [ebp - 0x14]
sub edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x68]
jge 0x4102cc
mov dword [ebp - 0x40], 1
jmp 0x4102d3
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x3c]
and ecx, dword [ebp - 0x40]
je 0x41040d
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x1c]
jne 0x41040d
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x28]
jne 0x41040d
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x28]
jne 0x41040d
mov edx, dword [ebp - 0x28]
cmp edx, dword [ebp - 0x70]
jge 0x41040d
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x50]
jne 0x41040d
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x4c]
jne 0x41040d
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x30]
jne 0x41040d
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x44]
jne 0x41040d
push 0x14053
push 0x176e2
push 0x12047
call dword [sym.imp.USER32.dll_GetDC]
add esp, 0xc
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp + 8]
jge 0x410368
mov dword [ebp - 0x48], 1
jmp 0x41036f
mov dword [ebp - 0x48], 0
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0xc]
and eax, dword [ebp - 0x18]
or eax, dword [ebp - 0x48]
je 0x4103eb
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [ebp - 0x78]
jge 0x4103eb
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 8]
jne 0x4103eb
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 8]
jne 0x4103eb
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x38]
jne 0x4103eb
mov edx, dword [ebp - 0x7c]
cmp edx, dword [ebp - 0x30]
jne 0x4103eb
push 0x4977
push 0x2ebd
push 0x128c1
push 0x90ac
push 0x1223
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
add esp, 0x14
mov eax, dword [ebp - 0xc]
sub eax, 1
mov dword [ebp - 0xc], eax
push 0xb1af
push 0xfaf8
push 0x12374
push 0xe80c
push 0x11bf6
call dword [sym.imp.USER32.dll_SetTimer]
add esp, 0x14
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov dword [ebp - 0x34], ecx
jmp 0x410278
mov edx, dword [ebp - 0xc]
sub edx, 0x14c97
push edx
mov eax, dword [ebp - 0x38]
add eax, 0x2be0
push eax
call fcn.00414590
add esp, 8
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x80]
jge 0x410447
mov dword [ebp - 0x54], 1
jmp 0x41044e
mov dword [ebp - 0x54], 0
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x84]
cmp edx, dword [ebp - 0x88]
jge 0x410480
mov dword [ebp - 0x58], 1
jmp 0x410487
mov dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x8c]
jge 0x41049b
mov dword [ebp - 0x5c], 1
jmp 0x4104a2
mov dword [ebp - 0x5c], 0
mov ecx, dword [ebp - 0x54]
and ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 4]
xor edx, dword [ebp - 0x5c]
or ecx, edx
mov dword [ebp - 0x90], ecx
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 0x90], 0
je 0x4104fc
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp - 0x20]
jne 0x4104fc
mov edx, dword [ebp - 0x94]
cmp edx, dword [ebp - 0x60]
jne 0x4104fc
push 0x10820
push 0x146bc
push 0x14f6
call dword [sym.imp.GDI32.dll_SelectObject]
add esp, 0xc
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x14], eax
mov esp, ebp
pop ebp
ret