Function at 0x10004a0d
Capabilities:
Set environment variable

Disassembly:
mov eax, 0x1005ecf9
call fcn.1005e6e0
sub esp, 0x120
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x24], 0x558a
xor ebx, ebx
mov dword [ebp - 0x10], esp
cmp dword [ebp - 0x24], 0x5857
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x88], edi
jle 0x10004aad
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov esi, ebx
mov dword [ebp - 0x28], ebx
mov edi, ebx
mov dword [ebp - 0x18], ebx
mov eax, ebx
mov dword [ebp - 0x1c], esi
mov ecx, edi
mov dword [ebp - 0x14], eax
sar esi, cl
mov edi, eax
mov dword [ebp - 0x2c], 0x482d
mov eax, esi
mov ecx, 0x1007ab78
or eax, edi
cdq
push edx
push eax
call fcn.10001bfe
dec edi
dec dword [ebp - 0x2c]
jne 0x10004a67
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, 0x6bd
jl 0x10004a5e
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
inc edi
mov dword [ebp - 0x18], edi
cmp edi, 0x5ea
jl 0x10004a52
inc esi
mov dword [ebp - 0x28], esi
cmp esi, 0x79e1
jl 0x10004a4d
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x24], 0x54fb
jge 0x10004ac8
mov edx, str.ixfk_qwzhnsmei_imqiygmrb_clwtn_nlxoq_nindx_xfpp_xtzs_kuiyup_ptzumk_qyoprd_rjihplyr_nmmxqe_nxtcsa
mov ecx, 0x1007ab78
call fcn.100039fb
or esi, 0xffffffff
mov dword [ebp - 4], esi
cmp byte [ebp + 0x18], 0
je 0x10004b08
mov eax, dword [ebp + 0x10]
dec dword [eax]
jmp 0x10005395
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], edi
xor edi, edi
mov dword [ebp - 0x60], eax
inc edi
push 2
mov dword [ebp - 0x3c], 0xd6c05baf
mov dword [ebp - 0x3c], 0xfffffffd
pop edx
cmp dword [ebp - 0x3c], 0x11
jl 0x10004ca7
mov dword [ebp - 0x38], 0xd14cd495
mov ecx, 0xffff06f2
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x9c], 0xdb6377f0
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
sub ecx, eax
mov eax, dword [ebp - 0x3c]
add eax, ecx
xor ecx, ecx
cmp eax, 4
mov eax, dword [ebp - 0x3c]
setle cl
sub eax, ecx
neg eax
sbb eax, eax
inc eax
cmp eax, dword [ebp - 0x38]
jg 0x10004bd7
mov dword [ebp - 0x1c], 0x20dd93ba
mov dword [ebp - 0x14], ebx
jmp 0x10004b8f
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xe4], 0xad5befa1
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x10004b7e
mov dword [ebp - 0x38], edi
cmp dword [ebp - 0x38], ebx
jl 0x10004c9f
push ecx
push ecx
push ebx
push ecx
push ecx
mov byte [ebp - 0x49], bl
lea ecx, [ebp - 0x49]
call fcn.100047fb
mov eax, dword [ebp - 0x38]
xor edx, edx
add esp, 0x14
mov eax, dword [ebp + eax*4 - 0xe4]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
cmp ecx, eax
setne dl
mov dword [ebp - 0x1c], edx
dec dword [ebp - 0x38]
jns 0x10004ba0
jmp 0x10004c9c
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x28], 0x7478
cmp dword [ebp - 0x28], 0x7767
jle 0x10004c47
mov eax, ebx
mov dword [ebp - 0x14], ebx
mov ecx, ebx
mov dword [ebp - 0x24], ebx
shl eax, cl
lea ecx, [ebp - 0xfc]
cdq
push edx
push eax
call fcn.10001a55
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10004c0e
mov eax, dword [eax]
push eax
call fcn.10047d34
pop ecx
push ebx
push edi
lea ecx, [ebp - 0xfc]
call fcn.10002050
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x24], ecx
cmp ecx, 0x787a
jl 0x10004bf4
inc eax
mov dword [ebp - 0x14], eax
cmp eax, 0x1b20
jl 0x10004bef
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [ebp - 0xa4], ebx
cmp dword [ebp - 0x28], 0x71f3
jge 0x10004c61
push str.kvnuszb_xjrrhxx_jjzmjmdd_umwjaj_itkcdret_afu
call fcn.10047d34
pop ecx
push ecx
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x70], 0xf6679856
push eax
push 0x7c4b
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x9c]
push eax
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0x8c]
call fcn.10004880
add esp, 0x1c
push 2
pop edx
inc dword [ebp - 0x3c]
jmp 0x10004b25
mov dword [ebp - 0x28], 0x33b3
cmp dword [ebp - 0x28], 0x3738
jle 0x10004cea
mov edi, ebx
mov ecx, ebx
mov dword [ebp - 0x24], ebx
mov eax, edi
sar eax, cl
mov ecx, 0x1007ab78
cdq
push edx
push eax
call fcn.10001bfe
mov ecx, dword [ebp - 0x24]
inc ecx
mov dword [ebp - 0x24], ecx
cmp ecx, 0x1232
jl 0x10004cbe
inc edi
cmp edi, 0x47bc
jl 0x10004cb9
xor edi, edi
inc edi
mov dword [ebp - 4], 4
cmp dword [ebp - 0x28], 0x3342
jge 0x10004d33
mov edx, str.bosqoov_fukvue_xmmlgfzat
mov ecx, 0x1007ab78
call fcn.100039fb
jmp 0x10004d33
push edi
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], esi
call fcn.1000efc4
push ecx
lea eax, [ebp - 0xb0]
mov dword [ebp - 4], 6
push eax
push ecx
mov dword [ebp - 0x50], 0xecf54c3c
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x84], ebx
call fcn.100091fd
add esp, 0xc
mov dword [ebp - 0x50], ebx
jmp 0x10004db2
lea eax, [ebp - 0x50]
mov dword [ebp - 0x40], 0xc4530722
push ebx
push eax
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0xb0]
call fcn.10005666
pop ecx
pop ecx
mov dword [ebp - 0x40], ebx
jmp 0x10004daa
push ecx
push ecx
lea eax, [ebp - 0x40]
push eax
lea edx, [ebp - 0xb0]
call fcn.10005bfb
add esp, 0xc
inc dword [ebp - 0x40]
cmp dword [ebp - 0x40], edi
jl 0x10004d93
inc dword [ebp - 0x50]
cmp dword [ebp - 0x50], ebx
jle 0x10004d72
xor dl, dl
lea ecx, [ebp - 0x84]
call fcn.100057b5
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], esi
call fcn.1000f047
mov eax, dword [ebp - 0x60]
mov al, byte [eax]
mov byte [ebp - 0x31], al
mov dword [ebp - 0x1c], 0x1d2
cmp dword [ebp - 0x1c], 0x20b
jle 0x10004e68
mov dword [ebp - 0x2c], ebx
mov edx, ebx
mov dword [ebp - 0x28], 0x7926
mov dword [ebp - 0x14], edx
mov ecx, ebx
mov dword [ebp - 0x24], ebx
mov eax, edx
shl eax, cl
lea ecx, [ebp - 0x114]
cdq
push edx
push eax
call fcn.10001a55
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10004e1a
mov eax, dword [eax]
push eax
call fcn.10047d34
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x114]
call fcn.10002050
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x24], ecx
cmp ecx, 0x2f3
jl 0x10004dfe
mov eax, dword [ebp - 0x2c]
add edx, eax
dec dword [ebp - 0x28]
mov dword [ebp - 0x14], edx
jne 0x10004df9
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 0x5e1e
jl 0x10004ded
push 0x1db7
push 0x19f6
call dword [sym.imp.USER32.dll_ReleaseDC]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], 0xfffffff6
mov dword [ebp - 0x64], 0x457a23a3
mov dword [ebp - 0x20], 0x9e4a0435
mov dword [ebp - 0x14], ebx
jmp 0x10004e92
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xdc], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x10004e85
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x14], 0xfffffff2
jne 0x10005059
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x20], 0x55f3
cmp dword [ebp - 0x20], 0x597f
jle 0x10004f41
push ebx
push 0x726
call dword [sym.imp.USER32.dll_ShowOwnedPopups]
mov dword [ebp - 0x54], ebx
mov edx, ebx
mov dword [ebp - 0x28], 0x515
mov dword [ebp - 0x18], edx
mov ecx, ebx
mov dword [ebp - 0x24], ebx
mov eax, edx
sar eax, cl
lea ecx, [ebp - 0x12c]
cdq
push edx
push eax
call fcn.10001a55
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10004ef7
mov eax, dword [eax]
push eax
call fcn.10047d34
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x12c]
call fcn.10002050
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x24], ecx
cmp ecx, 0x266e
jl 0x10004edb
mov eax, dword [ebp - 0x54]
add edx, eax
dec dword [ebp - 0x28]
mov dword [ebp - 0x18], edx
jne 0x10004ed6
inc eax
mov dword [ebp - 0x54], eax
cmp eax, 0x97e
jl 0x10004eca
push ebx
push 0x758
call dword [sym.imp.USER32.dll_SetMenu]
mov dword [ebp - 0x54], 0xfffffff6
cmp dword [ebp - 0x20], 0x5429
jge 0x10004f5c
push str.caoxynenz_raqay_zwdc
call fcn.10047d34
pop ecx
mov dword [ebp - 4], esi
push 2
mov dword [ebp - 0x20], 0xf213ed4
mov dword [ebp - 0x18], ebx
pop ecx
jmp 0x10004f7c
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x6c], 0x6255d580
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], ecx
jl 0x10004f6e
mov dword [ebp - 0x18], ebx
jmp 0x10004f97
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xc8], 0x189d
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 3
jl 0x10004f86
mov eax, dword [ebp - 0x14]
add eax, 0x1e707165
jne 0x10004faa
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0x68]
sub edx, 0xffff
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setne cl
xor edx, edx
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x14]
cmp eax, ecx
mov eax, dword [ebp - 0x2c]
setle dl
xor ecx, ecx
cmp edx, 0xac3e
setg cl
sub eax, ecx
je 0x10004ff1
mov ecx, edi
cmp dword [ebp - 0x6c], ebx
jne 0x10004ff3
mov ecx, ebx
xor eax, eax
test ecx, ecx
sete al
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0xc4]
mov edx, dword [ebp - 0x64]
sub edx, eax
mov eax, dword [ebp - 0x6c]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setl cl
xor edx, edx
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x2c]
inc ecx
cmp ecx, eax
lea eax, [ebp - 0x64]
push ecx
setg dl
sub edx, dword [ebp - 0xc4]
neg edx
push eax
sbb edx, edx
inc edx
mov dword [ebp - 0x2c], edx
call fcn.100047d1
dec dword [ebp - 0x14]
pop ecx
pop ecx
jmp 0x10004e9a
cmp dword [ebp - 0x1c], 0x77
jge 0x1000506a
push str.aao_tjhjhzzwk_dbhntwo_ofpzaik_zldvpes_ayamzrgvv_svllqacar
call fcn.10047d34
pop ecx
sub esp, 0x10
mov dword [ebp - 4], esi
lea eax, [ebp - 0x31]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.100058f9
mov dword [ebp - 0x30], ebx
add esp, 0x18
mov dword [ebp - 0x2c], 0xfffffff6
mov dword [ebp - 0x58], 2
mov dword [ebp - 0x48], 0x1c097bc8
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x9f2ea6da
mov dword [ebp - 0x14], ebx
jmp 0x100050b5
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x74], 0xfab0
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x100050a7
mov eax, dword [ebp - 0x30]
neg eax
jne 0x10005112
mov eax, dword [ebp - 0x30]
xor edx, edx
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
add ecx, 0xdf5e
cmp ecx, eax
setle dl
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x30]
jge 0x100050e9
mov eax, ebx
cmp dword [ebp - 0x30], ebx
je 0x100050eb
mov eax, edi
mov dword [ebp - 0x58], eax
xor edx, edx
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
imul ecx, eax
mov eax, dword [ebp - 0x30]
cmp eax, ecx
mov eax, dword [ebp - 0x30]
setge dl
xor ecx, ecx
cmp edx, eax
mov eax, ebx
setle cl
cmp dword [ebp - 0x30], ecx
je 0x10005114
mov eax, edi
cmp eax, 0xb09f5954
sbb eax, eax
xor ecx, ecx
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x58]
cmp eax, 0xe755
setg cl
cmp ecx, 0x96e86ff1
jb 0x100051df
mov dword [ebp - 0x44], 0x4939e63a
cmp dword [ebp - 0x44], ebx
jne 0x10005182
mov eax, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x30]
sub ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
cmp ecx, 0xbcce3f50
jbe 0x1000516f
mov eax, ebx
cmp dword [ebp - 0x48], ebx
je 0x10005171
mov eax, edi
imul eax, eax, 0xe836
cmp eax, dword [ebp - 0x44]
jne 0x1000517f
mov eax, dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
push 0x5e25
push ebx
lea eax, [ebp - 0x98]
mov dword [ebp - 0xa0], 0xfffffff6
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x90], 0xfffffff8
push eax
push 0x641b
lea eax, [ebp - 0x44]
mov dword [ebp - 0x98], 0xcee38976
push eax
lea eax, [ebp - 0x90]
xor dl, dl
push eax
push edi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xa0]
call fcn.10007b53
add esp, 0x28
jmp 0x100052ce
push edi
lea ecx, [ebp - 0xbc]
call fcn.1000efc4
mov dword [ebp - 4], 0xb
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x1c], edi
push 2
call fcn.1000efc4
push 0x4a6d
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 0xc
push ebx
mov dword [ebp - 0x1c], esi
lea edx, [ebp - 0xbc]
push eax
mov ecx, 0x1eff
call fcn.1000470f
push ebx
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0xd4]
call fcn.1000955b
mov dword [ebp - 0x1c], 0x147e
add esp, 0x10
cmp dword [ebp - 0x1c], 0x1249
jge 0x1000527d
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x10067e68
call fcn.1004811d
mov ecx, dword [ebp - 0x7c]
push 2
lea eax, [ecx + 1]
cmp dword [ebp - 0x94], eax
pop eax
cmovle eax, ecx
push eax
push str._ld_n
call fcn.10047d34
add esp, 0x14
mov eax, dword [ebp - 0x74]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 4
mov eax, dword [ebp - 0xbc]
sbb ecx, ecx
xor edx, edx
neg ecx
cmp ecx, dword [eax]
setle dl
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x48]
add ecx, eax
mov eax, dword [ebp - 0xd4]
mov dword [eax + 4], ecx
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0xd4]
call fcn.1000f047
lea ecx, [ebp - 0xbc]
mov dword [ebp - 4], esi
call fcn.1000f047
mov esi, dword [ebp - 0x60]
mov dl, 0x61
mov cl, byte [esi]
call fcn.1000f403
mov byte [esi], al
xor edx, edx
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x1c], 0xfffffffd
mov dword [ebp - 0x1c], 0x3bf844ba
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edi
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
mov eax, dword [ebp - 0x18]
setg dl
xor ebx, ebx
cmp edx, eax
mov eax, dword [ebp - 0x18]
setne bl
sub ebx, 0xeda5
neg ebx
sbb ebx, ebx
xor ecx, ecx
inc ebx
cmp ebx, eax
setle cl
sub ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x18]
jge 0x10005349
cmp dword [ebp - 0x18], 0
jne 0x1000534b
xor edi, edi
mov eax, dword [ebp - 0x18]
xor ecx, ecx
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
cmp edi, eax
mov eax, dword [ebp - 0x1c]
setl cl
xor edx, edx
cmp eax, ecx
mov eax, dword [ebp - 0x18]
setg dl
xor ecx, ecx
cmp edx, eax
lea eax, [ebp - 0x4a]
push eax
setle cl
sub ecx, 0xfffffff7
neg ecx
sbb ecx, ecx
inc ecx
mov dword [ebp - 0x1c], ecx
push ecx
mov byte [ebp - 0x4a], 0
call fcn.10005dde
mov al, byte [ebp - 0x31]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x5c]
mov byte [ecx], al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret