joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c80e7
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub eax, 3
jne 0x5c816c
mov eax, dword [esi + 0x20]
cmp esi, dword [eax + 0x20]
jne 0x5c816c
test eax, eax
je 0x5c80da
cmp byte [eax], 3
jne 0x601f93
push eax
mov ecx, edi
call fcn.005c7d7a
jmp 0x5c816c
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563662
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x569040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
test esi, esi
je 0x5c8189
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
lea ecx, [eax + 0x3c0]
push esi
lea eax, [ebp - 0x20]
push eax
call fcn.0052ba2d
mov dword [ebp - 4], 0
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
push esi
call eax
mov esi, dword [esi + 0x18]
test esi, esi
je 0x5c8173
mov eax, dword [esi]
and eax, 0xff
sub eax, 1
jne 0x5c80b8
push esi
mov ecx, edi
call fcn.005c80e7
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x5c8154
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x402378
mov dword [ecx], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x5c9367
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub eax, 3
jne 0x5c93db
mov eax, dword [esi + 0x20]
cmp esi, dword [eax + 0x20]
jne 0x5c93db
test eax, eax
je 0x5c935d
cmp byte [eax], 3
jne 0x601f99
push eax
mov ecx, edi
call fcn.005c940b
jmp 0x5c93db
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563662
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x569040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
test esi, esi
je 0x5c93f8
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
lea ecx, [eax + 0x3c0]
push esi
lea eax, [ebp - 0x20]
push eax
call fcn.0052ba2d
mov dword [ebp - 4], 0
mov esi, dword [esi + 0x18]
test esi, esi
je 0x5c93e2
lea ebx, [ebx]
mov eax, dword [esi]
and eax, 0xff
sub eax, 1
jne 0x5c933b
push esi
mov ecx, edi
call fcn.005c9367
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x5c93c3
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x402378
mov dword [ecx], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x5d1ccf
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x558596
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x569040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi], 0x40320c
mov dword [esi + 0x24], edi
mov dword [ebp - 4], edi
lea eax, [esi + 0x3c]
push eax
mov dword [esi], 0x4ade74
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [ebp - 0x10], eax
call fcn.005ce0a6
mov bl, 2
mov byte [ebp - 4], bl
push 0x18
call fcn.0052644f
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
cmp eax, edi
je 0x5d1da5
push eax
call fcn.005d1c6a
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], bl
cmp eax, edi
je 0x5d1d77
add eax, 4
push eax
call dword [fcn.004010e8]
mov ebx, dword [esi + 0x24]
cmp ebx, edi
jne 0x606f7f
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x24], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 0x10], edi
mov eax, edi
jmp 0x5d1d66

Function at 0x5d2c60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55f7e4
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x569040]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [esp + 0x10]
push eax
push esi
call fcn.0052769a
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov eax, dword [eax]
lea edi, [esi + 0x1c]
mov ecx, eax
call fcn.005d2d19
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x5d2cca
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], ebx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push eax
lea ebx, [esp + 0x18]
call fcn.005d1e7e
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov esi, edi
mov dword [eax + 0xc], edx
call fcn.005d2b76
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5d38f3
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x558478
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x569040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
lea eax, [ebx + 0x90]
xor edi, edi
mov dword [esi], ebx
mov dword [esi + 4], eax
mov dword [esi + 8], edi
mov ecx, dword [ebx + 0x14]
lea edx, [esi + 0xc]
add ecx, 0x30
push edx
call fcn.005d3898
mov dword [ebp - 4], edi
mov ebx, dword [ebx + 0x14]
add ebx, 0x30
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], ebx
mov byte [ebp - 4], 1
lea eax, [esi + 0x30]
mov dword [esi + 0x2c], edi
mov dword [ebp - 0x10], eax
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov byte [ebp - 4], 3
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42e006
Capabilities:
Encode data using xor

Disassembly:
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x4021bc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
xor eax, eax
call dword [0x415640]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4021ff
push 0x19
push 0x4012035
push 6
call fcn.00402c92
add esp, 0xc
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x184
call fcn.00403460
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402235
push ebx
call fcn.00402ca4
add esp, 4
pop eax
mov dword [ebp - 8], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0x4154f7]
fstp qword [ebp - 0x18]
mov dword [ebp - 0x1c], esp
fld qword [ebp - 0x18]
call fcn.00401066
push eax
push dword [ebp - 8]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x402283
push 0x88
push 0x4012035
push 6
call fcn.00402c92
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x40229f
push eax
mov ebx, eax
call fcn.00401b5d
inc eax
push eax
call fcn.00402caa
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4022a4
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4022b5
push ebx
call fcn.00402ca4
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4

Function at 0x40f8e2
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x40f910
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x40f92e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0040f848
jmp 0x40f92e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x40f92e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0040f848
test edi, edi
mov eax, edi
jne 0x40f918
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40d19e
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x40d1d8
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
push eax
push 0
push dword [ebp - 0x10]
push 0x682f
push 1
call fcn.0040ef66
add esp, 0x14
jmp 0x40d2b7
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x40d27a
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x40d269
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x40d24a
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 0x40d267
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x38]
call fcn.00435ad2
mov dword [eax], 0xebb6748f
jmp 0x40d23f
jmp 0x40d278
push 0x2096
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
jmp 0x40d2b7
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x40d2a8
mov byte [ebp - 1], 0
lea eax, [ebp - 1]
push eax
push 0x3e17
push 0x192d
push 0
call fcn.0041146d
add esp, 0x10
jmp 0x40d2b7
push 0x1169
push 0
push 0
call dword [sym.imp.GDI32.dll_TranslateCharsetInfo]
mov esp, ebp
pop ebp
ret
Function at 0x40dbb5
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x40dcb1
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x40dc40
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x40dc2f
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x40dc2d
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
jmp 0x40dc3e
push 0
push 0x1e00
push 0
call dword [sym.imp.GDI32.dll_GetBitmapBits]
jmp 0x40dcaf
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
push 0x1d26
push dword [ebp - 0x30]
push 1
push dword [ebp - 0x34]
push 0x28b1
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push 1
push 0x763f
push dword [ebp - 0x40]
push 1
push 0x3804
push 0x588e
push dword [ebp - 0x44]
push 1
push 0x662a
push dword [ebp - 0x48]
call fcn.00418f09
add esp, 0x48
jmp 0x40dcdc
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
push eax
push 1
push dword [ebp - 0x50]
push 1
push dword [ebp - 0x54]
call fcn.0040a28c
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x429b76
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x429bfe
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x429bc4
push 0x22ef
push 0x7e91
push 0x402a
push 1
push 0x10ca
push 0x2223
push 0x5b8c
call fcn.00429c16
add esp, 0x1c
jmp 0x429bfc
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x429be8
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x429be6
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
jmp 0x429bfc
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x429bfc
push 0
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
jmp 0x429c12
push 0x7400
push 1
push 0x5823
call fcn.00416c15
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x42e09e
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x42e220
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x42e1ec
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x42e162
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 0x42e15d
push 0x7e31
push 0x61f4
push 0x1ce5
push 1
push 1
push 1
push 0x144a
push 0x121d
push 0x1b5
push 1
push 0x3f43
push 0x1775
push 0x1bb4
call fcn.0042a1b7
add esp, 0x34
jmp 0x42e1ea
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 - 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [eax], 2
jmp 0x42e190
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jl 0x42e1ea
mov dword [ebp - 0x40], 0x97f0a290
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.00435ad2
cmp dword [eax], 0
je 0x42e1b3
jmp 0x42e1ea
push 0
push 0x6ebd
push dword [ebp - 8]
push 0x2977
push 0x4d7
push 0
push 0x5899
push 0x3165
push 1
push 0x1538
lea eax, [ebp - 0x40]
push eax
push 1
call fcn.004296f5
add esp, 0x30
jmp 0x42e185
jmp 0x42e21e
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 0x42e20a
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x42e21e
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
and dword [eax], 0
jmp 0x42e245
push 0x69dd
push 0x72c6
push 0x367a
push 0x17cf
push 0
push 0x5fdc
push 1
call fcn.00411cb4
add esp, 0x1c
mov esp, ebp
pop ebp
ret
Function at 0x43de71
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x43deb7
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
push dword [ebp - 4]
push dword [ebp - 8]
push 0x2ad3
push 1
push 0x39f6
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
push eax
call fcn.0043df67
add esp, 0x18
jmp 0x43df63
lea eax, [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x43df34
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x43df07
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
jmp 0x43df32
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 - 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push dword [eax]
mov ecx, dword [ebp - 0x38]
call fcn.00435ad2
mov dword [eax], 0xc3fc6c06
jmp 0x43df63
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x43df63
push 0x1206
push 0x22db
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push 0
call dword [sym.imp.USER32.dll_GetMessageA]
mov esp, ebp
pop ebp
ret
Function at 0x43e019
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x43e11e
lea eax, [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x43e054
push 0
call fcn.004507b4
pop ecx
jmp 0x43e11c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x43e08a
push 0
push 0x6aa
push 0x2359
push 0x12b6
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
jmp 0x43e11c
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
push 1
mov ecx, dword [ebp - 0xc]
call fcn.00435ad2
and dword [eax], 0
jmp 0x43e0bd
push 1
mov ecx, dword [ebp - 0xc]
call fcn.00435ad2
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
push 1
mov ecx, dword [ebp - 0xc]
call fcn.00435ad2
cmp dword [eax], 1
jg 0x43e11c
mov dword [ebp - 8], 1
mov dword [ebp - 8], 1
jmp 0x43e0e3
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x43e11a
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x43e0fd
push 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x43e118
push 0x2096
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
jmp 0x43e0dc
jmp 0x43e0a5
jmp 0x43e180
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x43e164
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 0
push dword [ebp - 0x3c]
call fcn.0044a4f4
add esp, 0xc
jmp 0x43e180
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push 0
call fcn.0043d574
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x43f132
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x43f1e4
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x20]
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 0x43f1c6
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 0x43f1b2
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 - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x43f1c4
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x43f1c4
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
jmp 0x43f1e2
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
push dword [ebp - 0x3c]
push 0
push dword [ebp - 0x40]
call fcn.0045b60e
add esp, 0xc
jmp 0x43f1f2
push 0x5293
push 1
call fcn.0043c4e6
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x442f8a
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x442fdb
lea eax, [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x442fc8
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push 1
push 0x1ba5
push dword [ebp - 0xc]
call fcn.00443047
add esp, 0xc
jmp 0x442fd9
push 0x7a8f
push 0
push 0
call fcn.004557dc
add esp, 0xc
jmp 0x443043
lea eax, [ebp + 0x18]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x443020
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x443011
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
jmp 0x44301e
push 0x1f74
push 0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
jmp 0x443043
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
push 0
push 0x6372
push 1
push 1
push dword [ebp - 0x20]
push 0x6317
push 0
call fcn.0044d134
add esp, 0x1c
mov esp, ebp
pop ebp
ret