joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008d3e8
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x1008d6be
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6bc4387c
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6bc3a842
push 0xffffffffffffffff
call fcn.100845e8
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x1008d452
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1008d46a
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x1008d6b2
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1008d686
Function at 0x1009ceb8
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 0x1009ceda
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1009ceda
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1009ceda
ret
cmp word [ebx + 4], 0x14c
jne 0x1009ceda
test word [ebx + 0x16], 2
je 0x1009ceda
test word [ebx + 0x16], 0x100
je 0x1009ceda
cmp word [ebx + 0x18], 0x10b
jne 0x1009ceda
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1009ceda
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1009cf66
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1009cefa
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10083e45
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1009ceda
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 0x1009cf66
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 0x1009ceda
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1009ceda
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1009ceda
ret
cmp word [ebx + 4], 0x14c
jne 0x1009ceda
test word [ebx + 0x16], 2
je 0x1009ceda
test word [ebx + 0x16], 0x100
je 0x1009ceda
cmp word [ebx + 0x18], 0x10b
jne 0x1009ceda
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1009ceda
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1009cf66
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1009cefa
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10083e45
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1009ceda
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 0x1009d01d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1009d076
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1009d01d
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1009d02c
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 0x104a2ccf
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 0x1009d07d
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.10083ef3
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1009d11c
add edi, 4
add eax, 2
dec ecx
jne 0x1009d062
call 0x1009d0c9
loope 0x1009d0bf
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1009d119
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 0x1009d12a
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 0x1009d0dd
cmp eax, ecx
ja 0x1009d0dd
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1009d167
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1009d15d
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100843d2
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1009d02c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1009d076
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1009d01d
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1009d02c
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 0x104a2ccf
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 0x1009d07d
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.10083ef3
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1009d11c
add edi, 4
add eax, 2
dec ecx
jne 0x1009d062
call 0x1009d0c9
loope 0x1009d0bf
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1009d119
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 0x1009d12a
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 0x1009d0dd
cmp eax, ecx
ja 0x1009d0dd
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1009d167
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1009d15d
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100843d2
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10020a8
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x1004004]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x42c], eax
mov word [ebp - 0x210], di
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, 0x104
push esi
lea ecx, [ebp - 0x418]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1002115
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x418]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, 1
mov dword [ebp - 0x41c], eax
jge 0x100211c
xor eax, eax
jmp 0x100221a
push ebx
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
test ebx, ebx
pop ecx
je 0x1002217
push ebx
push dword [ebp - 0x41c]
lea eax, [ebp - 0x418]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
mov edi, eax
test edi, edi
je 0x1002210
and dword [ebp - 0x41c], 0
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x428]
push eax
push 0x10012e4
push ebx
mov dword [ebp - 0x420], esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
je 0x10021c3
mov eax, dword [ebp - 0x428]
movsx ecx, word [eax + 2]
movsx eax, word [eax]
push 0x100124c
push ecx
push eax
lea eax, [ebp - 0x20c]
push 0x10012a8
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
test edi, edi
jne 0x10021fb
push dword [ebp - 0x424]
lea eax, [ebp - 0x20c]
push 0x100126c
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
test edi, edi
je 0x1002210
push dword [ebp + 0x10]
push dword [ebp - 0x41c]
push dword [ebp - 0x42c]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push ebx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, edi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.01002761
leave
ret 0xc
Function at 0x10025e8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x1002b80
call fcn.01002a18
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0x30]
push edi
xor ebx, ebx
push 2
push ebx
push dword [ebp + 0x10]
mov dword [esi], 1
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
cmp edi, ebx
jne 0x1002632
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
jmp 0x10026d8
push edi
push dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x18]
push eax
call fcn.010025ac
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x34], ebx
je 0x100265e
push dword [ebp + 0x38]
push 0x100131c
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
jmp 0x100266d
push 0x100131c
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x1002699
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x1002699
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [ebp + 0xc]
mov dword [ebp + 0x30], eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp dword [ebp + 0x30], ebx
jne 0x10026a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
jmp 0x10026c7
push esi
push dword [ebp + 0x2c]
mov ecx, dword [ebp + 8]
push dword [ebp + 0x28]
mov edx, dword [ecx]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x30]
push eax
push ecx
call dword [edx + 0x10]
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x18]
push eax
call fcn.01002541
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x34

Function at 0x1002761
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1004004]
jne 0x1002772
test ecx, 0xffff0000
jne 0x1002772
ret
jmp fcn.0100277c
Function at 0x1002861
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x1001338
call fcn.01002a74
cmp word [0x1000000], 0x5a4d
jne 0x10028a0
mov eax, dword [0x100003c]
cmp dword [eax + 0x1000000], 0x4550
jne 0x10028a0
movzx ecx, word [eax + 0x1000018]
cmp ecx, 0x10b
je 0x10028b9
cmp ecx, 0x20b
je 0x10028a6
and dword [ebp - 0x1c], 0
jmp 0x10028d0
cmp dword [eax + 0x1000084], 0xe
jbe 0x10028a0
xor ecx, ecx
cmp dword [eax + 0x10000f8], ecx
jmp 0x10028ca
cmp dword [eax + 0x1000074], 0xe
jbe 0x10028a0
xor ecx, ecx
cmp dword [eax + 0x10000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
and dword [ebp - 4], 0
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1004c80], 0xffffffff
or dword [0x1004c84], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1004c78]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1004c74]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1004c88], eax
call fcn.01002a6a
cmp dword [0x1004010], 0
jne 0x100292d
push fcn.01002a6a
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01002a53
push 0x1001128
push 0x1001124
call sub.msvcrt.dll__initterm
mov eax, dword [0x1004c70]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1004c6c]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x34], eax
push 0x1001120
push 0x1001118
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.01001772
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], 0
jne 0x10029a5
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x10029da
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01002aaf
ret
Function at 0x46d288
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046cf05

Function at 0x479df1
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x479e2c
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x479e13
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x479e24
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x479e2e
inc edi
add eax, 0x28
cmp edi, esi
jb 0x479e09
xor eax, eax
pop edi
pop esi
ret
Function at 0x4071f0
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x40720c
cmp dword [esi + 0x6c], 0
je 0x40720c
push 2
push 3
push esi
call fcn.0041c360
add esp, 0xc
push dword [esp + 0xc]
call fcn.004155e0
add esp, 4
test esi, esi
je 0x40722d
cmp dword [esi + 0x6c], 0
je 0x40722d
push 3
push esi
call fcn.0041c3a0
add esp, 8
pop esi
ret
Function at 0x411410
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x108
mov eax, dword [0x467200]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push edi
mov edi, dword [esp + 0x114]
lea eax, [esp + 0x11c]
push eax
push dword [esp + 0x11c]
lea eax, [esp + 0x10]
push pe_nt_image_headers32
push eax
call fcn.0041c940
lea esi, [esp + 0x18]
add esp, 0x10
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x411455
sub esi, ecx
mov ecx, dword [edi + 0x140]
test ecx, ecx
je 0x411489
cmp byte [edi + 0x46b0], al
jne 0x411489
lea edx, [esp + 8]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x411474
mov byte [edi + 0x46b0], 1
cmp byte [edi + 0x370], 0
je 0x4114c3
mov byte [esp + esi + 8], 0xa
inc esi
cmp esi, 0x102
jae 0x41151b
mov eax, dword [edi + 0x1b0]
mov byte [esp + esi + 8], 0
test eax, eax
je 0x4114da
push dword [edi + 0x13c]
lea ecx, [esp + 0xc]
push esi
push ecx
push 0
push edi
call eax
add esp, 0x14
pop edi
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0043f1b6
add esp, 0x108
ret
push dword [edi + 0x138]
push 1
push 2
push 0x4574e8
call fcn.0043e188
push dword [edi + 0x138]
lea eax, [esp + 0x1c]
push 1
push esi
push eax
call fcn.0043e188
mov ecx, dword [esp + 0x12c]
add esp, 0x20
pop edi
pop esi
xor ecx, esp
call fcn.0043f1b6
add esp, 0x108
ret
call fcn.0043fbfc
int3

Function at 0x411530
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x808
mov eax, dword [0x467200]
xor eax, esp
mov dword [esp + 0x804], eax
push edi
mov edi, dword [esp + 0x810]
test edi, edi
je 0x4115f9
cmp byte [edi + 0x370], 0
je 0x4115f9
push esi
lea eax, [esp + 0x81c]
push eax
push dword [esp + 0x81c]
lea eax, [esp + 0x10]
push 0x801
push eax
call fcn.0041c940
lea esi, [esp + 0x18]
add esp, 0x10
lea ecx, [esi + 1]
lea ebx, [ebx]
mov al, byte [esi]
inc esi
test al, al
jne 0x411590
mov eax, dword [edi + 0x1b0]
sub esi, ecx
test eax, eax
je 0x4115ce
push dword [edi + 0x13c]
lea ecx, [esp + 0xc]
push esi
push ecx
push 0
push edi
call eax
add esp, 0x14
pop esi
pop edi
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.0043f1b6
add esp, 0x808
ret
push dword [edi + 0x138]
push 1
push 2
push 0x4574e8
call fcn.0043e188
push dword [edi + 0x138]
lea eax, [esp + 0x1c]
push 1
push esi
push eax
call fcn.0043e188
add esp, 0x20
pop esi
mov ecx, dword [esp + 0x808]
pop edi
xor ecx, esp
call fcn.0043f1b6
add esp, 0x808
ret

Function at 0x411d50
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x1b0]
test eax, eax
je 0x411d79
push dword [esi + 0x13c]
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
push esi
call eax
add esp, 0x14
pop esi
ret
mov eax, dword [esp + 0xc]
cmp eax, 2
ja 0x411db2
push dword [esi + 0x138]
lea eax, [eax + eax*2]
push 1
add eax, 0x4574e8
push 2
push eax
call fcn.0043e188
push dword [esi + 0x138]
push 1
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.0043e188
add esp, 0x20
xor eax, eax
pop esi
ret
Function at 0x455140
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x1208
call fcn.00442bd0
push ebx
mov ebx, ecx
call fcn.00455440
cmp eax, 1
jne 0x45531d
push esi
push 0x208
lea eax, [esp + 0xc]
push 0
push eax
call fcn.0043f340
mov edx, 0x46aec0
add esp, 0xc
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x455177
push edi
lea edi, [esp + 0xc]
sub edx, esi
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x455190
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, 0x468674
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4551b1
lea edi, [esp + 0xc]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4551c5
mov ecx, edx
lea eax, [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push ebp
mov ecx, edx
and ecx, 3
push 0x46869c
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.0043d30a
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x45530d
push 0x1000
lea eax, [esp + 0x21c]
push 0
push eax
call fcn.0043f340
mov edx, 0x4686b8
add esp, 0xc
mov esi, edx
lea ebx, [ebx]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x455220
lea edi, [esp + 0x218]
sub edx, esi
add edi, 0xfffffffe
jmp 0x455240
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x455240
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, ebx
lea esp, [esp]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x455260
lea edi, [esp + 0x218]
sub ebx, esi
add edi, 0xfffffffe
jmp 0x455280
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x455280
mov ecx, ebx
mov edx, 0x468780
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4552a1
lea edi, [esp + 0x218]
sub edx, esi
add edi, 0xfffffffe
jmp 0x4552c0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4552c0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4552e4
sub ecx, edx
lea eax, [esp + 0x218]
push ebp
sar ecx, 1
push ecx
push 2
push eax
call fcn.0043e188
push ebp
call fcn.0043e84c
add esp, 0x14
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x1208
ret
mov eax, 1
pop ebx
add esp, 0x1208
ret
Function at 0x455600
Capabilities:
Terminate process

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [0x46aebc]
mov edx, 1
xor ebp, ebp
mov dword [esp + 0x14], edx
mov ebx, edx
mov ecx, esi
mov al, byte [esi]
mov byte [esp + 0xf], al
test al, al
je 0x455636
cmp al, 0x2c
jne 0x45562a
inc edx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x455625
mov dword [esp + 0x14], edx
lea eax, [edx*4]
push eax
call fcn.0043d278
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
mov dword [eax], ecx
test ecx, ecx
je 0x4556cb
cmp byte [esp + 0xf], 0
push edi
mov edi, esi
je 0x455683
cmp byte [edi], 0x2c
jne 0x45567c
push ebx
call fcn.0043d278
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx + ebp*4], eax
test eax, eax
je 0x4556d2
xor ebx, ebx
inc ebp
inc edi
inc ebx
cmp byte [edi], 0
jne 0x455660
push ebx
call fcn.0043d278
mov ebx, dword [esp + 0x18]
add esp, 4
mov dword [ebx + ebp*4], eax
test eax, eax
je 0x4556d2
cmp byte [esi], 0
mov eax, dword [ebx]
je 0x4556bf
xor edx, edx
mov cl, byte [esi]
cmp cl, 0x2c
je 0x4556b0
test cl, cl
je 0x4556b0
mov byte [eax], cl
inc eax
jmp 0x4556b9
add edx, 4
mov byte [eax], 0
mov eax, dword [edx + ebx]
inc esi
cmp byte [esi], 0
jne 0x4556a0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push 1
call fcn.0043ecb3
push 1
call fcn.0043ecb3
int3
Function at 0x401a40
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8

Function at 0x431000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40915c
mov ecx, 0x16605694
nop
nop
nop
nop
nop
test eax, eax
je 0x43104e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x431024
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x14ec33f7
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43106c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x1000a3d0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10090ee2
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x100bc564]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x42c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x42c], 1
mov dword [ebp - 0x424], 0x104
call fcn.10061580
add esp, 0xc
mov dword [ebp - 0x428], 1
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x428]
push eax
push str.local_m2
push str.SOFTWAREComMaster
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1000a4ae
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000a490
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10003dd0
cmp dword [esi + 0x10], 0
jne 0x1000a52a
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10061580
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.10042690
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000a4e4
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10003dd0
cmp dword [esi + 0x14], 8
mov eax, esi
mov ecx, dword [esi + 0x10]
jb 0x1000a50f
mov eax, dword [esi]
add ecx, ecx
push ecx
push eax
push 1
push str.local_m2
push str.SOFTWAREComMaster
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003a140
mov esp, ebp
pop ebp
ret