Function at 0x1003621c
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x100611ec
call fcn.1005fa90
sub esp, 0x114
mov byte [ebp - 0x50], dl
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
test dl, dl
je 0x10036ad7
mov ecx, dword [ebp + 0x14]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x8c]
mov eax, dword [edi + 0x10]
push 3
mov dword [ebp - 0x20], eax
call fcn.100022ea
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x38], 7
push 3
call fcn.100022ea
xor ecx, ecx
mov byte [ebp - 4], 2
mov dword [ebp - 0x2c], ebx
inc ecx
jmp 0x100362a2
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x34], 0xfffffffa
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], ecx
jl 0x10036294
mov dword [ebp - 0x2c], ebx
jmp 0x100362bd
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0xb0], 0xb5d1cb6a
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 4
jl 0x100362ac
push ecx
lea eax, [ebp - 0x2c]
push eax
push ecx
lea edx, [ebp - 0x8c]
call fcn.10038061
add esp, 0xc
lea eax, [ebp - 0x98]
xor esi, esi
mov edx, 0x39ef
inc esi
mov ecx, 0x5f63
push 0x5455
push eax
push 0x365a
lea eax, [ebp - 0x2c]
push eax
push esi
push ebx
push ebx
push 0x288d
call fcn.100392ef
add esp, 0x20
mov dword [ebp - 0x34], ebx
cmp dword [ebp - 0x34], 0xf
jg 0x10036546
mov dword [ebp - 0x18], 0xe46c
mov dword [ebp - 0x24], 0x51e1
cmp dword [ebp - 0x24], 0x5367
jle 0x1003638f
mov dword [ebp - 0x14], ebx
mov edi, ebx
mov esi, ebx
mov eax, ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
and eax, esi
mov ecx, 0x1007fc58
and eax, edi
xor eax, ebx
cdq
push edx
push eax
call fcn.10002dd1
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp eax, 0x3fe6
jl 0x1003633c
inc esi
push 0
pop ebx
cmp esi, 0x49d5
jl 0x10036334
inc edi
cmp edi, 0x31f4
jl 0x10036332
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, 0x2e4e
jl 0x10036330
push ebx
push 0x23e3
call dword [sym.imp.USER32.dll_ValidateRect]
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x24], 0x5128
jge 0x100363d5
mov edx, str.kgwvd_opolayz_qqjfbzp_oxtesb_idi_wgc_grweogzki_weymikq_qqu_ftbjw_dxa
mov ecx, 0x1007fc58
call fcn.10004788
jmp 0x100363d5
mov dword [ebp - 4], 2
xor ecx, ecx
mov dword [ebp - 0x24], 0x927db404
inc ecx
mov dword [ebp - 0x14], ebx
jmp 0x100363f9
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x48], 0x37ae9f90
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ecx
jl 0x100363eb
mov dword [ebp - 0x14], ebx
jmp 0x10036414
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xc8], 0xfc6a3f0b
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x10036403
mov ecx, dword [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 0x34]
cmp eax, ecx
setg dl
xor esi, esi
mov dword [ebp - 0xa8], edx
inc esi
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x48], esi
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
dec ecx
neg ecx
sbb ecx, ecx
xor eax, eax
inc ecx
cmp ecx, 0xffffffff
setne al
imul ecx, eax, 0xbd79
mov eax, dword [ebp - 0x34]
neg ecx
sbb ecx, ecx
xor edx, edx
neg ecx
cmp eax, ecx
mov eax, dword [ebp - 0x38]
setle dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x8c]
setne cl
xor edx, edx
cmp ecx, dword [eax]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x98]
setg dl
add ecx, edx
mov dword [eax + 8], ecx
mov dword [ebp - 0x38], ebx
jmp 0x10036534
push 1
push ebx
push 0x8b1
push 0x5c13
lea eax, [ebp - 0x38]
mov dword [ebp - 0x18], 0x67d3
push eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0x24], 0xc826ffea
push 0x3376
push eax
mov edx, 0x2419
mov cl, 1
call fcn.10035e30
mov esi, dword [ebp - 0x48]
xor ecx, ecx
mov dword [ebp - 0x48], esi
add esp, 0x1c
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp - 0x18]
cmp edx, eax
setl cl
xor edx, edx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
cmp eax, ecx
mov eax, dword [ebp - 0x8c]
setl dl
xor ecx, ecx
cmp dword [eax], edx
setg cl
xor eax, eax
cmp esi, ecx
setge al
sub eax, 0x20ba2c16
neg eax
sbb eax, eax
inc eax
cmp eax, dword [ebp - 0x18]
jg 0x1003652b
cmp dword [ebp - 0x34], ebx
jne 0x1003652b
mov eax, ebx
jmp 0x1003652e
xor eax, eax
inc eax
mov dword [ebp - 0x24], eax
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], 0x2f
jl 0x10036496
inc dword [ebp - 0x34]
jmp 0x1003630c
push 0x40ed
push ebx
push 0x727d
mov edx, 0x2802
mov ecx, 0x35b5
call fcn.10037fed
add esp, 0xc
lea ecx, [ebp - 0x98]
call fcn.10002347
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], bl
call fcn.10002347
mov esi, dword [ebp + 0x14]
xor dl, dl
push 0x5bc3
mov ecx, 0x1345
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x4c], 0xa6847dfa
call fcn.10038b0f
mov dword [esp], 0x67c
xor eax, eax
push 0x4221
push 0x4b50
push 0x3eea
inc eax
mov edx, 0x6af6
push eax
push eax
push ebx
push 0x3418
mov ecx, 0xf3c
call fcn.100392ef
mov eax, dword [edi + 0x10]
add esp, 0x20
cmp dword [edi + 0x14], 8
jb 0x100365db
mov edi, dword [edi]
push eax
push ebx
push edi
mov ecx, esi
call fcn.10039e1e
mov edi, ebx
xor esi, esi
mov dword [ebp - 0x4c], edi
inc esi
mov dword [ebp - 0x1c], eax
cmp edi, 0xffffffff
je 0x10036a64
cmp edi, dword [ebp - 0x30]
jae 0x10036a64
cmp eax, 0xffffffff
jne 0x10036a7a
push 3
pop edi
push edi
lea ecx, [ebp - 0x80]
call fcn.100022ea
push ebx
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 5
push eax
mov dword [ebp - 0x3c], 0xffffffff
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x6c], 0xffffffff
mov edx, 0x5b3a
push 0x63bc
call fcn.10036e62
pop ecx
pop ecx
push ebx
push ecx
push 0x6243
push 0x3036
push ecx
lea eax, [ebp - 0x80]
push eax
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x3c]
call fcn.10036e36
add esp, 0x1c
mov dword [ebp - 0x3c], ebx
jmp 0x1003668f
push ecx
push esi
push ecx
lea eax, [ebp - 0x3c]
mov edx, 0x4bd0
push eax
lea eax, [ebp - 0x80]
push eax
push ecx
push 0x180f
mov ecx, 0x2fb9
call fcn.10036e36
add esp, 0x1c
inc dword [ebp - 0x3c]
cmp dword [ebp - 0x3c], edi
jl 0x10036669
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], bl
call fcn.10002347
mov dword [ebp - 0x20], 0x52d5
cmp dword [ebp - 0x20], 0x5486
jle 0x1003673c
mov edx, ebx
mov dword [ebp - 0x14], ebx
mov ecx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 0x1d0d
lea eax, [ecx + edx]
xor eax, dword [ebp - 0x28]
lea ecx, [ebp - 0xf0]
cdq
push edx
push eax
call fcn.10004d43
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100366e8
mov eax, dword [eax]
push eax
call fcn.10047823
pop ecx
push ebx
push esi
lea ecx, [ebp - 0xf0]
call fcn.100031ae
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x28], eax
dec dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
jne 0x100366ca
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, 0xf30
jl 0x100366c0
inc ecx
mov dword [ebp - 0x18], ecx
cmp ecx, 0x6aa3
jl 0x100366bd
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 0x1b0d
jl 0x100366b8
push 0x1019
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x4c]
push ecx
push ecx
push eax
push 0x458a
push 0x67a8
push ebx
push 0x64be
lea ecx, [ebp - 0x68]
call fcn.10037b90
add esp, 0x1c
cmp dword [ebp - 0x20], 0x5044
jge 0x10036774
push str.bbb_lzlzahjlo_lbgnxvx_voinmfup_ghxvsbx_hjihsctk_gylsrld_uhdhpicx_bna_gahlatnc_wbt
call fcn.10047823
pop ecx
push 2
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], ebx
call fcn.100022ea
xor eax, eax
mov byte [ebp - 4], 8
inc eax
mov dword [ebp - 0x40], ebx
push eax
push eax
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x44], 6
push ecx
push 0x1277
push 0x7210
push 0x7968
push 0x62ca
lea edx, [ebp - 0x5c]
mov cl, al
call fcn.10035e30
mov eax, dword [ebp - 0x5c]
xor ecx, ecx
add esp, 0x1c
cmp dword [eax], 0x4df6
sete cl
xor esi, esi
mov dword [ebp - 0x40], ecx
inc esi
mov eax, dword [ebp - 0x40]
sub eax, 0x2c32
je 0x10036968
mov dword [ebp - 0x30], 0xfffffffe
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x1c], 0x7ef1
cmp dword [ebp - 0x1c], 0x8158
jle 0x1003686d
mov eax, ebx
mov dword [ebp - 0x18], eax
mov ecx, ebx
mov dword [ebp - 0x20], ebx
cdq
idiv ecx
mov dword [ebp - 0x28], ebx
mov eax, edx
mov dword [ebp - 0x30], eax
cdq
lea ecx, [ebp - 0x108]
idiv dword [ebp - 0x28]
mov eax, edx
cdq
push edx
push eax
call fcn.10004d43
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003682b
mov eax, dword [eax]
push eax
call fcn.10047823
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x108]
call fcn.100031ae
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp eax, 0x6271
mov eax, dword [ebp - 0x30]
jl 0x1003680d
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x20], ecx
cmp ecx, 0x2add
jl 0x10036802
inc eax
mov dword [ebp - 0x18], eax
cmp eax, 0x23bd
jl 0x100367fd
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x1c], 0x7c9b
jge 0x10036884
push str.wlkzem_ewxrgh_gjoukcar
call fcn.10047823
pop ecx
mov dword [ebp - 4], 8
mov dword [ebp - 0x1c], 0x65e4bc79
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x18], 0x3e1fe01a
mov dword [ebp - 0x30], 0x3b8cd6c3
mov dword [ebp - 0x14], ebx
jmp 0x100368b9
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xbc], 0xffffffff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x100368a8
mov dword [ebp - 0x14], ebx
jmp 0x100368d4
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xd8], 0x6ae4d7d9
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x100368c3
sub esp, 0x10
lea edx, [ebp - 0x44]
push esi
push 0x5706
call fcn.10037fd7
mov eax, dword [ebp - 0x18]
add esp, 0x18
inc dword [ebp - 0x18]
test eax, eax
je 0x1003695b
mov eax, dword [ebp - 0x18]
dec eax
neg eax
sbb eax, eax
inc eax
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0x40]
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xcc]
sub eax, dword [ebp - 0x20]
neg eax
sbb eax, eax
xor ecx, ecx
inc eax
cmp dword [esi + 4], eax
mov eax, dword [ebp - 0x5c]
setg cl
xor edx, edx
cmp ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
setl dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x5c]
setne cl
xor edx, edx
cmp ecx, dword [eax]
setg dl
add edx, dword [esi + 4]
mov dword [ebp - 0x30], edx
je 0x1003695b
xor eax, eax
inc eax
jmp 0x1003695d
mov eax, ebx
mov dword [ebp - 0xb8], eax
jmp 0x10036a59
push 0x3c27
push ecx
push 0x4367
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], 0xc4f4
push eax
lea eax, [ebp - 0x5c]
mov ecx, 0x68b2
push eax
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.10037b90
mov dword [ebp - 0x28], 0x65fc
add esp, 0x1c
cmp dword [ebp - 0x28], 0x6793
jle 0x10036a18
push ebx
push 0xc1c
push ebx
push 0x1644
push ebx
push 0x1b1c
call dword [sym.imp.USER32.dll_DrawTextExW]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], 0x1d4
mov edi, ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edi
mov esi, edi
mov edi, 0x6094
mov eax, ebx
mov ecx, 0x1007fc58
and eax, esi
cdq
push edx
push eax
call fcn.10002dd1
dec esi
dec edi
jne 0x100369d8
mov edi, dword [ebp - 0x20]
inc edi
mov dword [ebp - 0x20], edi
cmp edi, 0x4f39
jl 0x100369d1
mov esi, dword [ebp - 0x44]
add ebx, esi
dec dword [ebp - 0x24]
push 0
mov dword [ebp - 0x1c], ebx
pop ebx
jne 0x100369c9
inc esi
mov dword [ebp - 0x44], esi
cmp esi, 0x2746
jl 0x100369bf
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x28], 0x63d3
jge 0x10036a52
mov edx, str.raavoevvh_tdobmrn_lvvmzl_pjvdg_tcjwipa_vfkulrtlp_kgi_ihix_zvkzpwcw
mov ecx, 0x1007fc58
call fcn.10004788
jmp 0x10036a52
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], bl
call fcn.10002347
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x68]
push eax
call fcn.10039a7b
lea ecx, [ebp - 0x68]
call fcn.10039fa9
jmp 0x10036aee
cmp eax, edi
je 0x10036ab1
mov ecx, dword [ebp + 0x14]
sub eax, edi
push eax
push edi
lea eax, [ebp - 0x120]
push eax
call fcn.10039958
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xd
call fcn.10039a0b
push ebx
push esi
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], bl
call fcn.10011e0e
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
add edi, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], edi
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x10036ac7
mov eax, dword [eax]
push ecx
mov ecx, dword [ebp + 0x14]
push edi
push eax
call fcn.10039e1e
jmp 0x100365ed
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x10036aee
push 0xb19
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret