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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100343f3
push ebx
push esi
call fcn.1003431f
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1002dbf6
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100343a0
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100343f2
push edi
push eax
call fcn.1002db18
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100343c0
call fcn.1002d89a
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100343f1
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1002dbf6
add esp, 0x20
test eax, eax
jne 0x100343df
push edi
call fcn.1002d89a
jmp 0x100343e7
push ebx
call fcn.1002d89a
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10036e2e
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.1002a64b
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10036e9d
cmp esi, dword [ebp - 4]
je 0x10036e98
cmp dword [ebp + 0xc], 0
je 0x10036e98
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10036e75
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.10036980
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x10036e9f
xor eax, eax
inc eax
jmp 0x10036e9f
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x10036f04
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1003f080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.1002a64b
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1002a64b
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x10036f7b
cmp word [ecx], dx
je 0x10036f7b
mov eax, dword [0x1006658c]
push edi
dec eax
push eax
push 0x10066478
call fcn.10036ea3
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x10036fee
cmp word [eax], dx
je 0x10036fee
mov eax, dword [edi]
test eax, eax
je 0x10036f9f
cmp word [eax], dx
je 0x10036f9f
lea eax, [ebp - 0x10]
push eax
call fcn.10036886
jmp 0x10036fa8
lea eax, [ebp - 0x10]
push eax
call fcn.10036921
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x10037018
mov eax, dword [0x10066474]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10066168
call fcn.10036ea3
add esp, 0xc
test al, al
je 0x10037018
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x10036fe3
cmp word [eax], di
je 0x10036fe3
lea eax, [ebp - 0x10]
push eax
call fcn.10036886
pop ecx
jmp 0x1003701a
lea eax, [ebp - 0x10]
push eax
call fcn.10036921
jmp 0x10036fe0
mov eax, dword [edi]
test eax, eax
je 0x10037005
cmp word [eax], dx
je 0x10037005
lea eax, [ebp - 0x10]
push eax
call fcn.1003683b
pop ecx
jmp 0x10037018
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x100370e3
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10036d28
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x100370e3
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x100370e3
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x100370e3
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10037070
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.100301cd
test ebx, ebx
je 0x100370de
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.100301cd
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100370e3
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100370e3
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.1003b0ef
add esp, 0x10
xor eax, eax
inc eax
jmp 0x100370e5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001bbba
leave
ret
Function at 0x1003b561
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.1003b4dd
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1003b6d0
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1003b6d0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1003b685
jg 0x1003b5bd
test eax, eax
je 0x1003b67b
push 1
push 0x1000
call fcn.1002c1f0
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1003b5e0
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1003b672
push 0x8000
push ebx
call fcn.1003b40e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1003b609
jg 0x1003b604
cmp ecx, 0x1000
jb 0x1003b609
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.1002ce53
add esp, 0x10
cmp eax, 0xffffffff
je 0x1003b64e
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x1003b604
jl 0x1003b635
test ecx, ecx
jne 0x1003b5f6
push dword [ebp - 0xc]
push ebx
call fcn.1003b40e
push esi
call fcn.1002d89a
add esp, 0xc
xor ebx, ebx
jmp 0x1003b6de
cmp byte [edi + 0x24], 0
je 0x1003b665
cmp dword [edi + 0x20], 5
jne 0x1003b665
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1003b670
mov ebx, dword [edi + 0x18]
jmp 0x1003b672
xor ebx, ebx
push esi
call fcn.1002d89a
pop ecx
jmp 0x1003b6de
test ecx, ecx
jg 0x1003b647
jl 0x1003b685
test eax, eax
jae 0x1003b647
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10031fd8
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1003b6a5
cmp byte [edi + 0x1c], 0
je 0x1003b647
jmp 0x1003b6d6
push ebx
call fcn.10034ccd
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1003b647
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1003b6de
cmp byte [edi + 0x1c], 0
je 0x1003b6db
mov ebx, dword [edi + 0x18]
jmp 0x1003b6de
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.10031fd8
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1003d3a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1003d3cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1003d3cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x3e44432d
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0xba213f9
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
jmp 0x401219

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ed0
nop
mov ecx, 0x2ced79b0
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x34971fe7
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x10002a90
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013cf25
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x10166004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0x34]
mov ebx, dword [ebp + 8]
lea edx, [esi + 0xc]
push ecx
push edx
mov dword [ebp - 0x3c], eax
lea edi, [esi + 0x10]
mov dword [esi + 8], eax
lea eax, [esi + 0x18]
push eax
push edi
push dword [ebp - 0x3c]
mov dword [esi], 6
push ebx
mov dword [esi + 4], ebx
mov dword [edx], 0
mov dword [esi + 0x30], 0
mov dword [ecx], 0
mov dword [edi], 6
mov dword [esi + 0x14], eax
call dword [sym.imp.node.exe_napi_get_cb_info]
add esp, 0x18
test eax, eax
je 0x10002b5c
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x38]
call fcn.100023d0
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.100029a0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x10002be5
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002bdb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002c31
jmp 0x10002bdb
mov eax, dword [edi]
cmp eax, dword [esi]
jbe 0x10002c11
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.101292c2
add esp, 4
mov dword [esi + 0x30], eax
mov dword [esi + 0x14], eax
push 0
push 0
push eax
push edi
push dword [ebp - 0x3c]
push ebx
call dword [sym.imp.node.exe_napi_get_cb_info]
add esp, 0x18
test eax, eax
je 0x10002c11
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x38]
call fcn.100023d0
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.100029a0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x10002be5
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002bdb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002c36
push ecx
push edx
call fcn.101292b4
add esp, 8
mov eax, dword [ebp - 0x34]
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
test eax, eax
je 0x10002c11
cmp byte [ebp - 0x30], 0
jne 0x10002c11
push eax
push dword [ebp - 0x38]
call dword [sym.imp.node.exe_napi_delete_reference]
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10129271
mov esp, ebp
pop ebp
ret 8
call fcn.1012ca60
call fcn.1012ca60
int3
Function at 0x100030e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013cffb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 8
push esi
push edi
mov eax, dword [0x10166004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebx + 8]
mov dword [esi], 0x10156b8c
mov dword [esi + 4], 0
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov byte [esi + 0x14], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [esi + 0x18], 0
movups xmmword [esi + 0x1c], xmm0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0xf
mov byte [esi + 0x1c], 0
lea ecx, [eax + 4]
mov byte [ebp - 4], 1
call fcn.10006810
lea ecx, [ebx + 0xc]
call fcn.10001420
test eax, eax
je 0x1000319e
lea ecx, [ebx + 0xc]
call fcn.10001420
cmp eax, 7
jne 0x1000319e
push ecx
lea eax, [ebx + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.100069d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
Function at 0x100557e0
Capabilities:
Create thread

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov ebx, edx
push 0
push 0x14
mov dword [esp + 0x1c], ebx
mov dword [ebp], 0
call fcn.1001e4e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10055813
lea eax, [esi + 7]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp byte [0x10166afc], 0
je 0x1005585f
mov eax, dword [0x10166bf8]
test eax, eax
je 0x10055833
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x1005585f
mov eax, dword [esp + 0x1c]
lea edi, [esi + 8]
mov dword [edi], ebx
lea ebx, [esi + 4]
push ebx
push 0
push esi
push 0x10021cf0
push 0
push 0
mov dword [esi + 0xc], eax
call fcn.1012cd9f
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x10055872
jmp 0x10055865
lea edi, [esi + 8]
lea ebx, [esi + 4]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [edi], 0
jne 0x1005588d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push dword [esp + 0x1c]
mov dword [ebx], eax
call dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x10], eax
pop edi
mov dword [ebp], esi
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x100ddeb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, edx
mov ebp, ecx
lea esi, [edi*8]
call fcn.100cb480
test eax, eax
jne 0x100de031
push eax
push esi
call fcn.1001e4e0
mov ebx, eax
add esp, 8
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x100de031
push esi
push 0
push ebx
call fcn.1012ab60
mov esi, dword [ebp + 0x10]
add esp, 0xc
test esi, esi
je 0x100ddf58
cmp dword [0x10166af8], 0
je 0x100ddf4e
mov eax, dword [0x10169b48]
test eax, eax
je 0x100ddf1c
push eax
call dword [0x10166b48]
add esp, 4
push esi
call dword [0x10166b24]
sub dword [0x101699d0], eax
add esp, 4
dec dword [0x101699f4]
push esi
call dword [0x10166b1c]
mov eax, dword [0x10169b48]
add esp, 4
test eax, eax
je 0x100ddf58
push eax
call dword [0x10166b50]
jmp 0x100ddf55
push esi
call dword [0x10166b1c]
add esp, 4
cmp byte [ebp], 1
mov eax, 0x100ddd90
mov ecx, 0x100dde10
mov dword [ebp + 0x10], ebx
mov ebx, dword [ebp + 8]
cmovne eax, ecx
mov dword [ebp + 0xc], edi
mov dword [esp + 0x1c], eax
mov dword [ebp + 8], 0
test ebx, ebx
je 0x100de027
lea ecx, [edi - 1]
mov dword [esp + 0x14], ecx
nop dword [eax]
mov esi, dword [ebx + 0x10]
mov edi, dword [ebx + 0xc]
cmp eax, 0x100dde10
jne 0x100ddfc0
xor eax, eax
test esi, esi
jle 0x100ddfb9
movsx ecx, byte [edi]
lea edx, [eax*8]
xor edx, ecx
lea edi, [edi + 1]
dec esi
xor eax, edx
test esi, esi
jg 0x100ddfa3
and eax, 0x7fffffff
jmp 0x100ddfc7
push esi
push edi
call eax
add esp, 8
mov ecx, dword [esp + 0x14]
mov esi, dword [ebx]
and ecx, eax
mov eax, dword [esp + 0x18]
lea edx, [eax + ecx*8]
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x100ddffb
mov dword [ebx], ecx
mov eax, dword [ecx + 4]
mov dword [ebx + 4], eax
mov eax, dword [ecx + 4]
test eax, eax
je 0x100ddff3
mov dword [eax], ebx
mov dword [ecx + 4], ebx
jmp 0x100de014
mov dword [ebp + 8], ebx
mov dword [ecx + 4], ebx
jmp 0x100de014
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x100de00a
mov dword [eax + 4], ebx
mov dword [ebx + 4], 0
mov dword [ebp + 8], ebx
inc dword [edx]
mov eax, dword [esp + 0x1c]
mov dword [edx + 4], ebx
mov ebx, esi
test esi, esi
jne 0x100ddf90
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1013bf80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1013bfad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1013bfad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x41ad50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x411015
lea edi, [esi - 0x10015]
push edi
or ebp, 0xffffffff
jmp 0x41ad72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ad79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ad68
mov eax, 1
add ebx, ebx
jne 0x41ad8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ad80
jne 0x41ad9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ad80
xor ecx, ecx
sub eax, 3
jb 0x41adb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ae22
mov ebp, eax
add ebx, ebx
jne 0x41adbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41adc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41adec
inc ecx
add ebx, ebx
jne 0x41add8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41adcd
jne 0x41ade9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41adcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ae0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41adfd
jmp 0x41ad6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ae0c
add edi, ecx
jmp 0x41ad6e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ae2a
cmp byte [edi], 5
jne 0x41ae2a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41ae2f
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41aea7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ae5c
mov ecx, edi
jns 0x41ae8b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1a09c]
or eax, eax
je 0x41aea1
mov dword [ebx], eax
add ebx, 4
jmp 0x41ae79
call dword [esi + 0x1a098]
mov ebp, dword [esi + 0x1a0a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41aedb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0x40115a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x433008]
jne 0x401164
repz ret
jmp fcn.00401f7a

Function at 0x413649
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.00409429
and dword [ebp - 4], 0
cmp dword [0x435d7c], 0
mov ebx, eax
jne 0x4136fa
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4137ab
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4137ab
push eax
call fcn.004093b7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x435d7c], eax
call esi
push eax
call fcn.004093b7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x435d80], eax
call esi
push eax
call fcn.004093b7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x435d84], eax
call esi
push eax
call fcn.004093b7
pop ecx
mov dword [0x435d8c], eax
test eax, eax
je 0x4136fa
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004093b7
pop ecx
mov dword [0x435d88], eax
mov eax, dword [0x435d88]
cmp eax, ebx
je 0x413752
cmp dword [0x435d8c], ebx
je 0x413752
push eax
call fcn.00409432
push dword [0x435d8c]
mov esi, eax
call fcn.00409432
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x413752
test edi, edi
je 0x413752
call esi
test eax, eax
je 0x413749
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x413749
test byte [ebp - 0xc], 1
jne 0x413752
or dword [ebp + 0x10], 0x200000
jmp 0x41378b
mov eax, dword [0x435d80]
cmp eax, ebx
je 0x41378b
push eax
call fcn.00409432
pop ecx
test eax, eax
je 0x41378b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41378b
mov eax, dword [0x435d84]
cmp eax, ebx
je 0x41378b
push eax
call fcn.00409432
pop ecx
test eax, eax
je 0x41378b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x435d7c]
call fcn.00409432
pop ecx
test eax, eax
je 0x4137ab
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4137ad
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x426670
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 8
mov dword [esp], 0x20
add dword [esp], 0x20
mov al, 0x65
mov byte [0x435e69], al
mov byte [0x435e6c], al
mov al, 0x6c
push 0x435e68
mov byte [0x435e68], 0x6b
mov byte [0x435e6a], 0x72
mov byte [0x435e6b], 0x6e
mov byte [0x435e6d], al
mov byte [0x435e6e], 0x33
mov byte [0x435e6f], 0x32
mov byte [0x435e70], 0x2e
mov byte [0x435e71], 0x64
mov byte [0x435e72], al
mov byte [0x435e73], al
mov byte [0x435e74], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [0x437650]
mov edx, dword [0x436368]
lea eax, [esp + 4]
push eax
push 0x40
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 8
ret
Function at 0x426920
Capabilities:
Clear file content
Compare security identifiers
Create pipe

Disassembly:
sub esp, 0x424
mov eax, dword [0x433008]
xor eax, esp
mov dword [esp + 0x41c], eax
mov eax, dword [0x437650]
push ebx
mov ebx, dword [0x436368]
push edi
mov edi, eax
cmp eax, 0x5dd
jne 0x426954
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemTimeAdjustment]
mov eax, dword [0x433ff0]
push eax
call fcn.00426800
add esp, 4
cmp dword [0x437650], 0x2f
jne 0x4269f5
xor edx, edx
xor ecx, ecx
mov word [esp + 0x12], dx
xor eax, eax
mov word [esp + 0xe], cx
lea edx, [esp + 0x18]
push edx
mov word [esp + 0x10], ax
mov eax, dword [esp + 0x10]
push eax
mov word [esp + 0x18], cx
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputW]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
lea edx, [esp + 0x2c]
push edx
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.Sudeke
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
call fcn.00426870
cmp dword [0x437650], 0x568
jne 0x426a10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x424]
pop edi
pop ebx
xor ecx, esp
call fcn.0040115a
add esp, 0x424
ret