joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005f7ee
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x1005f8af
lea eax, [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x1005f838
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x1005f836
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
jmp 0x1005f8aa
mov dword [ebp - 0xc], 0xfffffff7
mov dword [ebp - 8], 0
jmp 0x1005f84f
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x1005f862
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x64], 1
jmp 0x1005f848
mov dword [ebp - 0xc], 0
jmp 0x1005f872
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jg 0x1005f8aa
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x10], 2
jmp 0x1005f88f
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1005f8a8
mov byte [ebp - 1], 0
lea eax, [ebp - 1]
push eax
push 0
call fcn.1006c933
pop ecx
pop ecx
jmp 0x1005f888
jmp 0x1005f86b
jmp 0x1005f937
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x1005f902
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov dword [ecx + 4], eax
jmp 0x1005f937
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
cmp dword [eax], 0
jne 0x1005f92b
mov dword [ebp - 0x14], 1
jmp 0x1005f92f
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10061582
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100616ac
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], 0x4fc8
mov dword [ebp - 0x24], 0x1000ce9c
cmp dword [ebp - 0x1c], 0x536a
jle 0x10061675
and dword [ebp - 0xc], 0
jmp 0x100615c8
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x236e
jge 0x10061675
and dword [ebp - 0x10], 0
jmp 0x100615e2
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x600f
jge 0x10061670
and dword [ebp - 0x14], 0
jmp 0x100615fc
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x628c
jge 0x1006166b
and dword [ebp - 0x18], 0
jmp 0x10061612
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2a25
jge 0x10061669
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
shl eax, cl
mov ecx, dword [ebp - 0x14]
imul ecx, dword [ebp - 0x18]
or eax, ecx
cdq
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov word [ebp - 8], ax
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x54]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x54]
call fcn.100252df
jmp 0x1006160b
jmp 0x100615f5
jmp 0x100615db
jmp 0x100615c1
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x1c], 0x4f71
jge 0x1006168d
push dword [ebp - 0x24]
call fcn.1008287d
pop ecx
push 0x3218
push 1
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push 0x182b
push dword [ebp - 0x30]
call fcn.100616f4
add esp, 0x18
jmp 0x100616f0
lea eax, [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x100616d4
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100616d2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
jmp 0x100616f0
mov byte [ebp - 2], 0
push 0
lea eax, [ebp - 2]
push eax
push 0x70b0
push 0x3559
call fcn.100532fa
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x10061e86
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10061ede
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 1
push 0x262f
call fcn.1006202e
add esp, 0x20
jmp 0x1006202a
lea eax, [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x1006200a
mov dword [ebp - 0x18], 0x2786
mov dword [ebp - 0x3c], 0x1000d048
cmp dword [ebp - 0x18], 0x29dd
jle 0x10061fc7
and dword [ebp - 0x14], 0
jmp 0x10061f1a
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x44f5
jge 0x10061fc7
and dword [ebp - 8], 0
jmp 0x10061f34
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x686a
jge 0x10061fc2
and dword [ebp - 0xc], 0
jmp 0x10061f4e
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x5ccd
jge 0x10061fbd
and dword [ebp - 0x10], 0
jmp 0x10061f64
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x7314
jge 0x10061fbb
mov eax, dword [ebp - 8]
cdq
idiv dword [ebp - 0xc]
mov eax, edx
cdq
idiv dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
sub eax, edx
cdq
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 0x40], eax
push dword [ebp - 0x44]
push dword [ebp - 0x48]
lea ecx, [ebp - 0x60]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x60]
call fcn.100252df
jmp 0x10061f5d
jmp 0x10061f47
jmp 0x10061f2d
jmp 0x10061f13
mov byte [ebp - 1], 0
cmp dword [ebp - 0x18], 0x25c8
jge 0x10061fdd
push dword [ebp - 0x3c]
call fcn.1008287d
pop ecx
push 0x7684
push 0x9b9
push 0x4925
lea eax, [ebp - 1]
push eax
push 0x2f92
push 0
push 0x270a
push 1
push 1
call fcn.10057cab
add esp, 0x24
jmp 0x1006202a
mov byte [ebp - 2], 0
push 1
push 0x70f3
push 0x6e6a
lea eax, [ebp - 2]
push eax
push 0
push 1
call fcn.10050050
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x10064825
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10064954
lea eax, [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x1006486c
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_AppendMenuW]
jmp 0x10064952
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], 0x169a
mov dword [ebp - 0x3c], 0x1000d554
cmp dword [ebp - 0xc], 0x1a55
jle 0x10064908
and dword [ebp - 4], 0
jmp 0x100648a2
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3f9c
jge 0x10064908
and dword [ebp - 8], 0
jmp 0x100648b8
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x58f3
jge 0x10064906
mov eax, dword [ebp - 4]
cdq
idiv dword [ebp - 8]
mov eax, edx
cdq
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 0x48], eax
push dword [ebp - 0x50]
push dword [ebp - 0x54]
lea ecx, [ebp - 0x6c]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x6c]
call fcn.100252df
jmp 0x100648b1
jmp 0x1006489b
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
push dword [eax]
push 0x68d2
push dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
push dword [eax]
push 0x6be5
push 0x4826
push 0
call fcn.100680cf
add esp, 0x1c
cmp dword [ebp - 0xc], 0x137c
jge 0x10064952
push dword [ebp - 0x3c]
call fcn.1008287d
pop ecx
jmp 0x1006497c
mov dword [ebp - 0x4c], 0x100952f0
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
push 0x3be1
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push 1
call fcn.1005f995
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x10065148
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x100652df
lea eax, [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x100651b2
mov dword [ebp - 0x48], 0x100952b0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x100651ad
push 0x35bc
push 0
push 0x5372
call fcn.1005d17d
add esp, 0xc
jmp 0x100652dd
mov dword [ebp - 0x18], 0x6384
mov dword [ebp - 0x34], 0x1000d6f4
cmp dword [ebp - 0x18], 0x6453
jle 0x10065280
and dword [ebp - 8], 0
jmp 0x100651da
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x5a79
jge 0x10065280
and dword [ebp - 0xc], 0
jmp 0x100651f4
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x101f
jge 0x1006527b
and dword [ebp - 0x10], 0
jmp 0x1006520a
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xb09
jge 0x10065276
and dword [ebp - 0x14], 0
jmp 0x10065220
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x5de9
jge 0x10065274
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
imul ecx, dword [ebp - 0x14]
shl eax, cl
cdq
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x50]
push dword [ebp - 0x54]
lea ecx, [ebp - 0x6c]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x6c]
call fcn.100252df
jmp 0x10065219
jmp 0x10065203
jmp 0x100651ed
jmp 0x100651d3
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x18], 0x61bd
jge 0x10065298
push dword [ebp - 0x34]
call fcn.1008287d
pop ecx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x100652c0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jge 0x100652dd
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x44]
call fcn.10025597
mov dword [eax], 0x83066c93
jmp 0x100652b5
jmp 0x10065316
push 0x513b
push 0x457
push 0x3296
push 0x2a27
push 0x1104
push 0
push 0x89e
push 0x5352
push 0x6c0a
push 0x7c5
call fcn.1005c593
add esp, 0x28
mov esp, ebp
pop ebp
ret
Function at 0x1006a993
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1006ab23
lea eax, [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x18], 0x2703
mov dword [ebp - 0x4c], 0x1000e2b4
cmp dword [ebp - 0x18], 0x2836
jle 0x1006aa70
and dword [ebp - 0xc], 0
jmp 0x1006a9eb
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x1f4e
jge 0x1006aa70
and dword [ebp - 0x10], 0
jmp 0x1006aa01
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x6526
jge 0x1006aa6b
and dword [ebp - 0x14], 0
jmp 0x1006aa17
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x1f28
jge 0x1006aa69
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
shl eax, cl
mov ecx, dword [ebp - 0x14]
shl eax, cl
cdq
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 0x54], eax
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x74]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x74]
call fcn.100252df
jmp 0x1006aa10
jmp 0x1006a9fa
jmp 0x1006a9e4
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x1006aac4
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1006aaa8
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x1006aac2
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x34]
call fcn.10025597
or dword [eax], 0xffffffff
jmp 0x1006aa9d
jmp 0x1006ab0f
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1006aaf2
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 2
jge 0x1006ab0f
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x48]
call fcn.10025597
mov dword [eax], 0x49c4b05e
jmp 0x1006aae7
cmp dword [ebp - 0x18], 0x2480
jge 0x1006ab21
push dword [ebp - 0x4c]
call fcn.1008287d
pop ecx
jmp 0x1006ab40
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x50], eax
push dword [ebp - 0x50]
push 0x318b
push 0x562b
push 1
call fcn.1004ebf0
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x1006dc3c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1006dca0
lea eax, [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x1006dc79
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
jmp 0x1006dc9b
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1006dc9b
push 1
push 0
push 0x64e7
push 0x364b
call fcn.1004e88f
add esp, 0x10
jmp 0x1006ddbe
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x1006dd73
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x1006dcd6
push 0
push 0
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov dword [ebp - 0x18], 0x7a45
mov dword [ebp - 0x30], 0x1000e970
cmp dword [ebp - 0x18], 0x7ce5
jle 0x1006dd5f
and dword [ebp - 0xc], 0
jmp 0x1006dcfa
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x5aa6
jge 0x1006dd5f
and dword [ebp - 0x10], 0
jmp 0x1006dd10
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x10d8
jge 0x1006dd5d
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
shl eax, cl
cdq
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 0x48], eax
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
lea ecx, [ebp - 0x68]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x68]
call fcn.100252df
jmp 0x1006dd09
jmp 0x1006dcf3
cmp dword [ebp - 0x18], 0x78d4
jge 0x1006dd71
push dword [ebp - 0x30]
call fcn.1008287d
pop ecx
jmp 0x1006ddbe
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1006dda1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 4
jge 0x1006ddbe
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x44]
call fcn.10025597
mov dword [eax], 0xfffffff7
jmp 0x1006dd96
mov esp, ebp
pop ebp
ret
Function at 0x1006e68b
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1006e78d
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x1006e76b
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0x7f16
mov dword [ebp - 0x28], 0x1000eb24
cmp dword [ebp - 0x14], 0x80b1
jle 0x1006e74c
and dword [ebp - 8], 0
jmp 0x1006e6e7
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x50ff
jge 0x1006e74c
and dword [ebp - 0xc], 0
jmp 0x1006e6fd
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x35db
jge 0x1006e74a
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sar eax, cl
cdq
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 0x34], eax
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x54]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x54]
call fcn.100252df
jmp 0x1006e6f6
jmp 0x1006e6e0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
cmp dword [ebp - 0x14], 0x7ef1
jge 0x1006e769
push dword [ebp - 0x28]
call fcn.1008287d
pop ecx
jmp 0x1006e78b
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1006e78b
push 0
push 0x2245
push 0x30ea
call fcn.1007504c
add esp, 0xc
jmp 0x1006e7b3
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push 0
push dword [ebp - 0x30]
push 0x4adf
push 0xbda
call fcn.10052ce1
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x1006ea2a
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1006eb8a
mov dword [ebp - 0x14], 0x12a3
mov dword [ebp - 0x1c], 0x1000eb58
cmp dword [ebp - 0x14], 0x14f7
jle 0x1006eae9
and dword [ebp - 8], 0
jmp 0x1006ea64
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x23ba
jge 0x1006eae9
and dword [ebp - 0xc], 0
jmp 0x1006ea7a
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x6788
jge 0x1006eae4
and dword [ebp - 0x10], 0
jmp 0x1006ea90
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3a8e
jge 0x1006eae2
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sar eax, cl
mov ecx, dword [ebp - 0x10]
sar eax, cl
cdq
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x50]
push dword [ebp - 0x54]
lea ecx, [ebp - 0x6c]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x6c]
call fcn.100252df
jmp 0x1006ea89
jmp 0x1006ea73
jmp 0x1006ea5d
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x14], 0x11bd
jge 0x1006eb01
push dword [ebp - 0x1c]
call fcn.1008287d
pop ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x1006eb6a
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1006eb4b
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jge 0x1006eb68
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x34]
call fcn.10025597
mov dword [eax], 7
jmp 0x1006eb40
jmp 0x1006eb88
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x1006eb88
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
jmp 0x1006eba6
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x48], eax
push dword [ebp - 0x44]
push 1
push dword [ebp - 0x48]
call fcn.1005dbee
add esp, 0xc
mov esp, ebp
pop ebp
ret