joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412d95
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
movzx eax, byte [ebp + 0x2c]
test eax, eax
je 0x412e65
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x412e3d
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x412de4
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x412de2
push 0
call dword [sym.imp.USER32.dll_IsRectEmpty]
jmp 0x412e3b
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x412e3b
push 0x716f
push 0x17c
push 0xb4f
push 0x70d4
push 0x2515
push 0xd55
push 1
push 0x6f02
push 0x470c
push 0
push 1
push 0x3f27
push 0x6f5d
push 0x180d
push 0
push 1
push 1
call fcn.004151fb
add esp, 0x44
jmp 0x412e60
push 0x7d66
push 0x4e2d
push 0x1dcf
push 0
push 0x7e31
push 0xb36
call fcn.0042bd7a
add esp, 0x18
jmp 0x412f2f
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x412ee2
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 0x2595
push dword [ebp - 0x38]
push 0x7b76
push dword [ebp - 0x3c]
push 0
push dword [ebp - 0x40]
call fcn.00415f70
add esp, 0x20
jmp 0x412f2f
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x412f20
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 8], eax
push 0
mov ecx, dword [ebp - 8]
call fcn.0043454e
mov esi, eax
push 0
mov ecx, dword [ebp - 8]
call fcn.0043454e
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x412f2f
push 0x1fcd
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x415e65
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x415f54
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x415edc
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
push 0x4aa6
push 0x4ac9
push dword [ebp - 0x14]
push 0x39c
push dword [ebp - 0x18]
push 0x6ca5
push 1
push 0x4d6b
call fcn.00415f70
add esp, 0x20
jmp 0x415f52
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x415f45
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 - 4], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x415f26
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], 2
jge 0x415f43
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x3c]
call fcn.0043454e
mov dword [eax], 9
jmp 0x415f1b
jmp 0x415f52
push 0x1580
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x415f6c
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x40], eax
push 0x375c
push dword [ebp - 0x40]
push 0
call fcn.0040a850
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x41aba7
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x41ac04
mov eax, dword [ebp + 0x28]
mov dword [ebp - 4], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xc], eax
push 0x39ad
push dword [ebp - 4]
push 1
push dword [ebp - 8]
push 0x6342
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
push eax
push dword [ebp - 0x14]
push 0x1bb9
call fcn.0041acf5
add esp, 0x24
jmp 0x41acf1
lea eax, [ebp + 0x14]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x41ac57
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
push 0x34e6
push 0x536d
push dword [ebp - 0x24]
push 0
push dword [ebp - 0x28]
call fcn.0041ab76
add esp, 0x14
jmp 0x41acf1
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x41ace2
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 0x41ace0
push 1
push 0x3be8
push 0x159f
push 1
push 1
push 0x5751
push 0x5dc0
push 0xeca
push 0xb15
push 0x1648
push 1
push 0x56a5
push 0x3dfe
push 0x7326
push 1
push 0x6ebf
push 0x2c1a
push 0x32b5
push 0x3988
push 0x1eaf
call fcn.0040a352
add esp, 0x50
jmp 0x41acf1
push 0x1fcd
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esp, ebp
pop ebp
ret
Function at 0x4289de
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x428aae
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x428a73
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x428a53
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x428a71
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x428a71
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x428aac
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
push 0x6313
push dword [ebp - 0x38]
push 0x2e85
push 0x37ba
push dword [ebp - 0x3c]
push 0x50ab
push 1
push 0x236c
push 1
push 1
call fcn.004128b2
add esp, 0x28
jmp 0x428af0
lea eax, [ebp + 0x24]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x428ade
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
push 1
push dword [ebp - 0x48]
call fcn.0040a880
pop ecx
pop ecx
jmp 0x428af0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
push dword [ebp - 0x50]
push 0
call fcn.0040c852
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x429638
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x4296f3
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x4296d5
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x429691
push 0x1580
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4296d3
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x4296d3
push 1
push 0x3e0f
push 1
push 0x5590
push 0x6d55
push 0x3b7d
push 0x4ab7
push 1
push 0x5f01
call fcn.00412998
add esp, 0x24
jmp 0x4296f1
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
push 1
push dword [ebp - 0x24]
push 1
push 0x6804
push 0
call fcn.004274d6
add esp, 0x14
jmp 0x429721
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
push 0x62e
push 0x3c60
push 1
push 0x2989
push 0x640e
push dword [ebp - 0x28]
push 0x2300
push 1
call fcn.0040d3fa
add esp, 0x20
mov esp, ebp
pop ebp
ret
Function at 0x43144e
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x43159a
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x431525
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 - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x431501
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 - 8], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x4314e2
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 0x4314ff
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x34]
call fcn.0043454e
mov dword [eax], 0x7e8b72fd
jmp 0x4314d7
jmp 0x431523
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x431523
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_RectVisible]
jmp 0x431598
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x43154d
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
jmp 0x431598
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x43157b
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 1
jge 0x431598
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 0x58]
call fcn.0043454e
mov dword [eax], 0x8100
jmp 0x431570
jmp 0x4315cc
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x68], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x64], eax
push dword [ebp - 0x5c]
push 0
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
push eax
push dword [ebp - 0x64]
push dword [ebp - 0x68]
call fcn.0041e8de
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x43b0d2
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
movzx eax, byte [ebp + 0x34]
test eax, eax
je 0x43b1b6
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x43b135
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x18]
push 1
push dword [ebp - 0x1c]
push 0x49c3
call fcn.0043b24b
add esp, 0x10
jmp 0x43b1b1
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x43b165
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x43b163
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x43b1b1
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x43b193
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], 0
jg 0x43b1b1
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x40]
call fcn.0043454e
cmp dword [eax], 0
je 0x43b1af
jmp 0x43b1b1
jmp 0x43b188
jmp 0x43b247
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x50], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x43b1f2
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x4c]
push 0
call fcn.0044ca36
pop ecx
pop ecx
jmp 0x43b247
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x43b225
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [eax], 0
jmp 0x43b247
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x43b247
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_UnionRect]
mov esp, ebp
pop ebp
ret
Function at 0x43ce2a
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x43cef0
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x43ced9
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x43ceca
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x43ceae
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 0x43cec8
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x2c]
call fcn.0043454e
or dword [eax], 0xffffffff
jmp 0x43cea3
jmp 0x43ced7
push 0
push 0xdca
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x43ceee
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
push dword [ebp - 0x34]
push 0
push 1
call fcn.00439d63
add esp, 0xc
jmp 0x43cf26
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
push 0x137c
push 0x731e
push 0x21a1
push 0x62ce
push 0x7f45
push 0x2a3
push 0
push 0x453f
push dword [ebp - 0x38]
call fcn.004393d6
add esp, 0x24
mov esp, ebp
pop ebp
ret
Function at 0x43d9b0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x43da69
lea eax, [ebp + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x43da37
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x43da2f
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x43da35
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x43da67
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x43da5f
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_RectVisible]
jmp 0x43da67
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
jmp 0x43da9b
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
push 0
push 0x3e3c
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push 0x3d99
push 1
push 0x1ab8
push 0x3be3
call fcn.00439fbc
add esp, 0x20
mov esp, ebp
pop ebp
ret
Function at 0x442ba7
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x442c74
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x442c4f
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x442c3e
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x18], 0
jbe 0x442c3c
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push dword [eax + 0x18]
push 0
call fcn.0043614e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
jmp 0x442c4d
push 0x1fcd
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
jmp 0x442c72
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push 0x179
push 0
push 1
call fcn.0043dc55
add esp, 0x14
jmp 0x442cad
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x48], eax
push dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
push eax
push 0x5049
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push 0
push 1
call fcn.0045c507
add esp, 0x1c
mov esp, ebp
pop ebp
ret
Function at 0x446171
Capabilities:
Query environment variable
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x4461fa
lea eax, [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x4461bb
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push 0x21d9
push 1
push dword [ebp - 0xc]
call fcn.00446285
add esp, 0xc
jmp 0x4461f5
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x4461e0
push 0
push 0xdca
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x4461f5
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]
mov dword [eax], 0x1c
jmp 0x446281
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x44624a
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push 0x471c
push 0x2d47
push 1
call fcn.0043b60a
add esp, 0x14
jmp 0x446281
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x446268
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x446281
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
push 0
mov ecx, dword [ebp - 0x50]
call fcn.0043454e
and dword [eax], 0
mov esp, ebp
pop ebp
ret