joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1010ad60
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x10391050]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x1010ada4
mov eax, dword [ebp - 8]
sub eax, 5
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
add ecx, 2
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0x18]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1010adc6
mov eax, 0xa
jmp 0x1010aead
cmp dword [ebp + 0xc], 0
je 0x1010ae12
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov byte [eax], 0xe9
mov ecx, dword [ebp - 8]
add ecx, 5
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 1], eax
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 1
movzx ecx, al
test ecx, ecx
je 0x1010ae10
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov byte [ecx], 0xeb
mov edx, dword [ebp - 0x14]
mov byte [edx + 1], 0xf9
jmp 0x1010ae4e
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x1010ae39
push 7
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.101ac6b0
add esp, 0xc
jmp 0x1010ae4e
push 5
mov edx, dword [ebp - 4]
add edx, 0xc
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.101ac6b0
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, byte [ebp + 0xc]
and cl, 1
shl cl, 1
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 0xfd
or al, cl
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x14], al
mov dl, byte [ebp + 0xc]
and dl, 1
shl dl, 2
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 0xfb
or cl, dl
mov edx, dword [ebp - 4]
mov byte [edx + 0x14], cl
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1010b600
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x1010b649
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x90
je 0x1010b649
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xcc
je 0x1010b649
xor eax, eax
jmp 0x1010b68a
mov dword [ebp - 4], 1
jmp 0x1010b65b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1010b685
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
cmp eax, edx
je 0x1010b683
xor eax, eax
jmp 0x1010b68a
jmp 0x1010b652
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x1010c4a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10250f2d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1034ad40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.1010c680
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x102b5374
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], str.Default
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], str.cs_baggage_skybox_
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], str.cs_tibet
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], str.embassy
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x14], str.italy
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], str.jungle
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1c], str.nukeblank
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x20], str.office
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], str.sky_csgo_cloudy01
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x28], str.sky_csgo_night02
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2c], str.sky_csgo_night02b
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], str.sky_dust
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x34], str.sky_venice
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38], str.vertigo
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3c], str.vietnam
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x40], str.sky_descent
mov edx, dword [ebp - 0x10]
add edx, 0x44
mov dword [ebp - 0x14], edx
push ecx
movss xmm0, dword [0x1025f790]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1025f790]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1025f790]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1025f790]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x14]
call fcn.100af950
mov eax, dword [ebp - 0x10]
add eax, 0x54
mov dword [ebp - 0x18], eax
push ecx
movss xmm0, dword [0x1025f790]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1025f790]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1025f790]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1025f790]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x18]
call fcn.100af950
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
mov dword [ebp - 0x1c], ecx
push ecx
movss xmm0, dword [0x1025f790]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1025f790]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1025f790]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1025f790]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x1c]
call fcn.100af950
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x74], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x1013e480
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
cmp dword [ebp + 8], 0
jne 0x1013e493
xor eax, eax
jmp 0x1013e66c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
movzx eax, word [edx]
cmp eax, 0x5a4d
je 0x1013e4b3
xor eax, eax
jmp 0x1013e66c
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x4550
je 0x1013e4d1
xor eax, eax
jmp 0x1013e66c
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + 0x50]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 0xc]
call fcn.10034a80
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0xc], ecx
jmp 0x1013e506
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x2c]
jae 0x1013e66a
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx]
cmp edx, 0x3f
je 0x1013e5e2
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + ecx]
cmp eax, 0x30
jl 0x1013e560
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + edx]
cmp ecx, 0x39
jg 0x1013e560
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + eax]
sub edx, 0x30
mov dword [ebp - 0x1c], edx
jmp 0x1013e578
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + ecx]
and eax, 0xffffffdf
sub eax, 0x37
mov dword [ebp - 0x1c], eax
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + ecx]
cmp eax, 0x30
jl 0x1013e5b7
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + ecx]
cmp eax, 0x39
jg 0x1013e5b7
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + ecx]
sub eax, 0x30
mov dword [ebp - 0x20], eax
jmp 0x1013e5cf
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + ecx]
and eax, 0xffffffdf
sub eax, 0x37
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0x1c]
shl eax, 4
or eax, dword [ebp - 0x20]
cmp edx, eax
jne 0x1013e647
cmp dword [ebp - 8], 0
jne 0x1013e5ee
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, 1
shl edx, 1
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + edx]
test ecx, ecx
jne 0x1013e605
mov eax, dword [ebp - 8]
jmp 0x1013e66c
mov edx, dword [ebp - 4]
movzx eax, word [edx]
cmp eax, 0x3f3f
je 0x1013e626
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx]
cmp edx, 0x3f
jne 0x1013e626
mov dword [ebp - 0x24], 2
jmp 0x1013e62d
mov dword [ebp - 0x24], 3
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx]
test edx, edx
jne 0x1013e645
mov eax, dword [ebp - 8]
jmp 0x1013e66c
jmp 0x1013e665
cmp dword [ebp - 8], 0
je 0x1013e665
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
call fcn.10034a80
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x1013e4fd
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1013f9b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x1013f9d1
xor al, al
jmp 0x1013fa5a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp dword [edx], 0x4550
je 0x1013f9ec
xor al, al
jmp 0x1013fa5a
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp - 0xc]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
mov dx, word [ecx + 6]
mov word [ebp - 4], dx
movzx eax, word [ebp - 4]
test eax, eax
jle 0x1013fa58
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.101fcf90
add esp, 8
test eax, eax
jne 0x1013fa41
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
mov dword [eax], edx
mov al, 1
jmp 0x1013fa5a
mov eax, dword [ebp - 8]
add eax, 0x28
mov dword [ebp - 8], eax
mov cx, word [ebp - 4]
sub cx, 1
mov word [ebp - 4], cx
jmp 0x1013fa08
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x1014ff00
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2008
call fcn.101aa500
mov eax, dword [0x1034ad40]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x2000
push 0
lea eax, [ebp - 0x2004]
push eax
call fcn.101adad0
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx*4 + 0x1034ab9c]
mov dword [ebp - 0x2008], edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x2008]
push ecx
push str._s__s_r_n
lea edx, [ebp - 0x2004]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x2004]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101aa0b0
mov esp, ebp
pop ebp
ret
Function at 0x10157950
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x1c], 0
cmp dword [0x103863cc], 0
jne 0x1015796e
mov eax, dword [ebp - 0x1c]
jmp 0x10157b01
mov dword [ebp - 8], 0
jmp 0x10157980
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [0x103863c8]
jae 0x1015799f
push 1
imul ecx, dword [ebp - 8], 0x14
add ecx, dword [0x103863cc]
call fcn.10159620
nop
jmp 0x10157977
mov dword [ebp - 0xc], 0
jmp 0x101579b1
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [0x103863c8]
jae 0x101579d0
imul ecx, dword [ebp - 0xc], 0x14
mov edx, dword [0x103863cc]
mov eax, dword [edx + ecx + 8]
mov byte [eax + 0x38], 1
jmp 0x101579a8
mov dword [ebp - 0x14], 0
jmp 0x101579e2
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 4
jge 0x10157a20
mov dword [ebp - 0x10], 0
jmp 0x101579fa
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [0x103863c8]
jae 0x10157a1e
imul ecx, dword [ebp - 0x10], 0x14
mov edx, dword [0x103863cc]
mov ecx, dword [edx + ecx + 8]
add ecx, 0x58
call fcn.101576f0
nop
jmp 0x101579f1
jmp 0x101579d9
mov dword [ebp - 4], 0
jmp 0x10157a32
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [0x103863c8]
jae 0x10157ae6
imul edx, dword [ebp - 4], 0x14
mov eax, dword [0x103863cc]
mov ecx, dword [eax + edx + 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
nop
push 0x64
imul eax, dword [ebp - 4], 0x14
mov ecx, dword [0x103863cc]
mov edx, dword [ecx + eax + 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10157a8b
imul ecx, dword [ebp - 4], 0x14
mov edx, dword [0x103863cc]
lea ecx, [edx + ecx + 1]
call fcn.10159780
imul ecx, dword [ebp - 4], 0x14
mov edx, dword [0x103863cc]
mov eax, dword [edx + ecx + 4]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10157ab1
push 1
mov ecx, dword [ebp - 0x18]
call fcn.10159b50
mov dword [ebp - 0x20], eax
jmp 0x10157ab8
mov dword [ebp - 0x20], 0
imul ecx, dword [ebp - 4], 0x14
mov edx, dword [0x103863cc]
mov dword [edx + ecx + 4], 0
imul eax, dword [ebp - 4], 0x14
mov ecx, dword [0x103863cc]
mov edx, dword [ecx + eax + 0x10]
push edx
call fcn.101ea0b0
add esp, 4
jmp 0x10157a29
mov eax, dword [0x103863cc]
push eax
call fcn.101ea0b0
add esp, 4
mov dword [0x103863cc], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret

Function at 0x10157d70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
push 0xf
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
nop
cmp dword [ebp - 4], 0
je 0x10157dad
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov esp, ebp
pop ebp
ret
Function at 0x10164d90
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10164dbc
mov dword [ebp - 4], 0
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
call fcn.10164d50
mov esp, ebp
pop ebp
ret 8

Function at 0x101a88c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.101feb60
mov ecx, 4
imul edx, ecx, 5
mov eax, dword [eax + edx]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x101a88e6
mov eax, 2
jmp 0x101a8939
xor ecx, ecx
mov dword [ebp - 0xc], ecx
push 2
lea edx, [ebp - 0xc]
push edx
push 0x22
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
nop
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [ebp + edx - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x30
je 0x101a8922
cmp dword [ebp - 4], 0x31
je 0x101a8929
cmp dword [ebp - 4], 0x32
je 0x101a8930
jmp 0x101a8937
mov eax, 2
jmp 0x101a8939
mov eax, 1
jmp 0x101a8939
mov eax, 3
jmp 0x101a8939
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x101be6a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.101be2b0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x101be6d2
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x1025c368]
call dword [ebp - 8]
jmp 0x101be6dc
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret

Function at 0x10201511
Capabilities:
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1020120a

Function at 0x10201520
Capabilities:
Delete directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x10201547
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.101f1150
add esp, 4
or eax, 0xffffffff
jmp 0x10201549
xor eax, eax
pop ebp
ret

Function at 0x10201550
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10201577
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.101f1150
add esp, 4
or eax, 0xffffffff
jmp 0x10201579
xor eax, eax
pop ebp
ret

Function at 0x1022f6eb
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1022ef52
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41a004]
jne 0x401010
repz ret
jmp fcn.0040161b

Function at 0x407cd6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404e6b
and dword [ebp - 4], 0
cmp dword [0x41c184], 0
mov ebx, eax
jne 0x407d87
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407e38
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407e38
push eax
call fcn.00404df9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41c184], eax
call esi
push eax
call fcn.00404df9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41c188], eax
call esi
push eax
call fcn.00404df9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41c18c], eax
call esi
push eax
call fcn.00404df9
pop ecx
mov dword [0x41c194], eax
test eax, eax
je 0x407d87
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404df9
pop ecx
mov dword [0x41c190], eax
mov eax, dword [0x41c190]
cmp eax, ebx
je 0x407ddf
cmp dword [0x41c194], ebx
je 0x407ddf
push eax
call fcn.00404e74
push dword [0x41c194]
mov esi, eax
call fcn.00404e74
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x407ddf
test edi, edi
je 0x407ddf
call esi
test eax, eax
je 0x407dd6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407dd6
test byte [ebp - 0xc], 1
jne 0x407ddf
or dword [ebp + 0x10], 0x200000
jmp 0x407e18
mov eax, dword [0x41c188]
cmp eax, ebx
je 0x407e18
push eax
call fcn.00404e74
pop ecx
test eax, eax
je 0x407e18
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407e18
mov eax, dword [0x41c18c]
cmp eax, ebx
je 0x407e18
push eax
call fcn.00404e74
pop ecx
test eax, eax
je 0x407e18
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41c184]
call fcn.00404e74
pop ecx
test eax, eax
je 0x407e38
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407e3a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4051b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x437880
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x446b48]
mov dword [esp + 0x14], 0
mov dword [esp + 4], eax
mov dword [esp], eax
lea eax, [esp + 0x1c]
lea ecx, [esp]
push eax
mov byte [esp + 0x18], 2
call fcn.0042ac46
mov ecx, dword [esp]
mov dl, byte [ecx]
lea ecx, [esp]
mov byte [esp + 8], dl
call fcn.0042afe6
mov eax, dword [esp + 8]
lea ecx, [esp]
push eax
push 0
call fcn.0042aff8
mov ecx, dword [esp]
mov edx, dword [0x44b258]
push ecx
lea ecx, [edx + 0x70]
call fcn.0042bbd0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
push ecx
mov al, byte [eax]
mov ecx, dword [esp + 0x24]
movsx eax, al
push edx
push eax
push ecx
lea edx, [esp + 0x14]
push str._1_d___2_c___3_d___4_d_
push edx
call fcn.004291da
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x44b258]
add esp, 0x18
add ecx, 0xac
push eax
call fcn.0042bbd0
lea ecx, [esp]
mov byte [esp + 0x14], 1
call fcn.0042ab0d
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.0042ab0d
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], 7
call fcn.0042ab0d
lea ecx, [esp + 0x34]
mov byte [esp + 0x14], 6
call fcn.0042ab0d
lea ecx, [esp + 0x30]
mov byte [esp + 0x14], 5
call fcn.0042ab0d
lea ecx, [esp + 0x2c]
mov byte [esp + 0x14], 4
call fcn.0042ab0d
lea ecx, [esp + 0x24]
mov byte [esp + 0x14], 3
call fcn.0042ab0d
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.0042ab0d
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x407840
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov cx, word [0x44c3dc]
push esi
xor esi, esi
push edi
test cx, cx
mov dword [esp + 8], esi
mov edx, 0x44b5d4
je 0x40787a
movsx esi, cx
xor eax, eax
test esi, esi
jle 0x407874
mov edi, dword [0x44c3e0]
mov cl, byte [edi + eax]
mov byte [edx], cl
inc edx
inc eax
cmp eax, esi
jl 0x407869
mov esi, eax
mov dword [esp + 8], esi
mov eax, dword [0x44b6e0]
push ebx
mov ecx, eax
dec eax
test ecx, ecx
push ebp
je 0x4078ae
lea ebx, [eax + 1]
mov esi, 0x44b4d4
mov ecx, ebx
mov edi, edx
mov ebp, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
add edx, ebx
rep movsb byte es:[edi], byte [esi]
dec ebx
dec eax
test ebx, ebx
ja 0x4078a4
mov esi, dword [esp + 0x10]
mov ebx, dword [0x44b6e0]
mov cx, word [0x44c3f4]
add esi, ebx
test cx, cx
je 0x4078dc
movsx edi, cx
xor eax, eax
test edi, edi
jle 0x4078dc
mov ebp, dword [0x44c3f8]
mov cl, byte [eax + ebp]
mov byte [edx], cl
inc edx
inc eax
cmp eax, edi
jl 0x4078d1
add esi, eax
cmp word [0x44c32e], 0
je 0x407925
xor bl, bl
mov ecx, 0x44b5d4
test esi, esi
jle 0x407909
mov edi, esi
xor bl, byte [ecx]
inc ecx
dec edi
jne 0x4078f5
cmp bl, 0x11
je 0x407909
cmp bl, 0x13
je 0x407909
test bl, bl
jne 0x407922
test eax, eax
mov ecx, edx
jle 0x40791a
mov edi, eax
mov al, byte [ecx - 1]
mov byte [ecx], al
dec ecx
dec edi
jne 0x407911
xor bl, 0x20
inc esi
mov byte [ecx], 0x20
inc edx
mov byte [edx], bl
inc esi
push esi
push 0x44b5d4
call fcn.0040e320
add esp, 8
cmp eax, 8
pop ebp
pop ebx
jne 0x407943
pop edi
mov eax, 8
pop esi
pop ecx
ret
cmp word [0x44c32c], 0
je 0x4079a4
call fcn.0040e0f0
mov ecx, dword [0x44c4a0]
cmp al, byte [ecx]
je 0x4079a4
cmp word [0x44c556], 0
mov edi, 1
jl 0x40799b
push esi
push 0x44b5d4
call fcn.0040e320
add esp, 8
cmp eax, 8
je 0x40793a
call fcn.0040e0f0
mov edx, dword [0x44c4a0]
cmp al, byte [edx]
je 0x4079a4
movsx eax, word [0x44c556]
mov ecx, edi
inc edi
cmp ecx, eax
jle 0x40796b
pop edi
mov eax, 0xe
pop esi
pop ecx
ret
pop edi
mov eax, 0xd
pop esi
pop ecx
ret