joyce8/EMBER2024-capa huggingface dataset:
Function at 0x16c00618
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 0x16c008ee
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x106851
add esp, 0x2e
sub esp, 4
mov dword [esp], 0xfd817
push 0xffffffffffffffff
call fcn.16bf7818
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 0x16c00682
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.16c0069a
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 0x16c008e2
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x16c008b6
Function at 0x16c100e8
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 0x16c1010a
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x16c1010a
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x16c1010a
ret
cmp word [ebx + 4], 0x14c
jne 0x16c1010a
test word [ebx + 0x16], 2
je 0x16c1010a
test word [ebx + 0x16], 0x100
je 0x16c1010a
cmp word [ebx + 0x18], 0x10b
jne 0x16c1010a
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x16c1010a
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x16c10196
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x16c1012a
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.16bf7075
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x16c1010a
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 0x16c10196
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 0x16c1010a
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x16c1010a
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x16c1010a
ret
cmp word [ebx + 4], 0x14c
jne 0x16c1010a
test word [ebx + 0x16], 2
je 0x16c1010a
test word [ebx + 0x16], 0x100
je 0x16c1010a
cmp word [ebx + 0x18], 0x10b
jne 0x16c1010a
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x16c1010a
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x16c10196
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x16c1012a
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.16bf7075
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x16c1010a
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 0x16c1024d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x16c102a6
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x16c1024d
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x16c1025c
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 0x17015eff
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 0x16c102ad
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.16bf7123
cmp eax, dword [ebp + 0xc]
pop eax
je 0x16c1034c
add edi, 4
add eax, 2
dec ecx
jne 0x16c10292
call 0x16c102f9
loope 0x16c102ef
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x16c10349
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 0x16c1035a
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 0x16c1030d
cmp eax, ecx
ja 0x16c1030d
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x16c10397
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x16c1038d
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.16bf7602
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x16c1025c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x16c102a6
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x16c1024d
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x16c1025c
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 0x17015eff
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 0x16c102ad
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.16bf7123
cmp eax, dword [ebp + 0xc]
pop eax
je 0x16c1034c
add edi, 4
add eax, 2
dec ecx
jne 0x16c10292
call 0x16c102f9
loope 0x16c102ef
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x16c10349
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 0x16c1035a
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 0x16c1030d
cmp eax, ecx
ja 0x16c1030d
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x16c10397
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x16c1038d
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.16bf7602
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x77290920
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x77290951
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x77290951
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x77290951
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1e7a2510
Capabilities:
Contain obfuscated stackstrings

Disassembly:
in eax, dx
salc
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.1e7a21a2
push eax
push esi
push dword [ebp + 8]
call fcn.1e7a2157
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
invalid
inc ebp
movsb byte es:[edi], byte [esi]
Function at 0x1e7a2610
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xlatb
popal
jp 0x1e7a2682
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.1e7a2192
test dword [ecx - 0x7a7201e7], 0xffffff7c
push eax
call fcn.1e7a21a2
push eax
push esi
push dword [ebp + 8]
call fcn.1e7a2157
add esp, 0x10
mov dword [ebp - 0xc0], eax
push 0x40
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x1e7a298b
sbb al, 0xfb
invalid
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.1e7a2103
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x1e7a2702
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.1e7a2103
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x1e7a26cf
call fcn.1e7a2192
cmp dword [edx - 0x37], eax
sub dword [ebx - 0x1fcc382], ecx
mov dword [ebp - 0x88], edi
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0x1e7a2981
add eax, esi
mov dword [ebp - 0x44], eax
cmp dword [eax + 4], ebx
jne 0x1e7a2737
cmp dword [eax + 0xc], ebx
je 0x1e7a27da
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.1e7a2192
dec edi
fmul qword [0xc5d3917]
jne 0x1e7a2766
push edi
call dword [ebp - 0xb8]
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x1e7a2981
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax]
cmp eax, ebx
lea edi, [ecx + esi]
jne 0x1e7a277a
mov dword [ebp + 0x10], edi
jmp 0x1e7a277f
add eax, esi
mov dword [ebp + 0x10], eax
call fcn.1e7a2192
sti
invalid
call fcn.1e7a2192
xor dh, byte [esp + eax*4 - 0x5f7874b2]
add byte [eax], al
add byte [ebx], bh
ret
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1e7a3630
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.1e7a2192
out 0xde, al
mov cl, 0xb9
lea eax, [ebp - 0x72c]
push eax
call fcn.1e7a21a2
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1e7a2157
add esp, 0xc
mov dword [ebp - 0x6e4], eax
call fcn.1e7a2192
inc esp
add eax, 0x858d4008
call 0x6f7a36a9
push 0x40
push 5
push dword [ebp - 0x3a8]
invalid
xchg ebp, eax
sbb al, 0xf9
invalid

Function at 0x1e7a7500
Capabilities:
Compare security identifiers

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 4], 0x1e7ba2c0
je 0x1e7a751c
mov eax, dword [sym.imp.python27.dll__Py_NotImplementedStruct]
inc dword [eax]
mov eax, dword [sym.imp.python27.dll__Py_NotImplementedStruct]
ret 8
mov eax, dword [eax + 8]
mov ecx, dword [ecx + 8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov ecx, dword [esp + 8]
cmp ecx, 2
jne 0x1e7a7541
test eax, eax
je 0x1e7a754a
mov eax, dword [sym.imp.python27.dll__Py_TrueStruct]
inc dword [eax]
ret 8
cmp ecx, 3
jne 0x1e7a7554
test eax, eax
je 0x1e7a7537
mov eax, dword [sym.imp.python27.dll__Py_ZeroStruct]
inc dword [eax]
ret 8
mov eax, dword [sym.imp.python27.dll__Py_NotImplementedStruct]
inc dword [eax]
ret 8

Function at 0x1e7a9c90
Capabilities:
Set thread local storage value

Disassembly:
cmp dword [sym.pywintypes27.dll_struct__is__PyWin_InterpreterState], 0
push ebx
mov ebx, dword [sym.imp.python27.dll_Py_FatalError]
push esi
push edi
mov edi, dword [sym.imp.python27.dll_PyThreadState_Swap]
jne 0x1e7a9ccd
push 0
call edi
mov esi, eax
add esp, 4
test esi, esi
jne 0x1e7a9cbf
push str.pywintypes:_can_not_setup_interpreter_state__as_current_state_is_invalid
call ebx
add esp, 4
mov eax, dword [esi + 4]
push esi
mov dword [sym.pywintypes27.dll_struct__is__PyWin_InterpreterState], eax
call edi
add esp, 4
push 8
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
jne 0x1e7a9ce7
push 0x1e7b10fc
call ebx
add esp, 4
mov ecx, dword [0x1e7ba8b8]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0
call edi
push eax
mov dword [esi], eax
call edi
add esp, 8
pop edi
mov dword [esi + 4], 0
pop esi
pop ebx
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4086dd
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword fs:[0x30]
push ebx
push esi
push edi
mov edi, 0x2000
xor ebx, ebx
push edi
push ebx
push dword [eax + 0x18]
mov esi, ecx
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 8], eax
mov eax, dword fs:[0x30]
push edi
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push ebx
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ebx
call fcn.0040a619
lea eax, [ebp - 4]
push eax
push 0x4019d0
push MenuHelp
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x40881c
push 3
mov edi, 0x1000
push edi
push dword [ebp - 8]
push ebx
push 9
push 0x110a
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x60]
mov edx, eax
call fcn.0040ddc8
mov esi, dword [ebp - 8]
test esi, esi
je 0x408785
push 0x5c
push esi
call dword [sym.imp.msvcrt.dll_wcsrchr]
pop ecx
pop ecx
test eax, eax
je 0x408785
lea esi, [eax + 1]
add esi, 1
jne 0x40876e
mov edx, edi
jmp 0x4087c5
cmp word [edi], bx
je 0x4087c0
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push ebx
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4087ef
push 0x10
push 0xac
push 0xab
push dword [ebp + 8]
push dword [0x41edec]
call fcn.0049cf29
add esp, 0x14
mov edx, 0x1000
mov ecx, dword [ebp - 0xc]
push esi
call fcn.00404f69
mov edi, dword [ebp - 0xc]
push edi
push 0x408600
push dword [ebp + 8]
push 0x70
push dword [0x41edec]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 1
je 0x408789
jmp 0x40881c
mov ecx, dword [ebp - 8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4087f5
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push dword [ebp - 8]
push 1
push ebx
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp - 4], ebx
je 0x40882a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
call fcn.004156df
mov ecx, dword [ebp - 0xc]
call fcn.004156df
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x414a88
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x858
mov eax, dword [0x41e024]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x818], ebx
push edi
mov esi, ecx
push edi
push 0x1032
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
cmp eax, 1
push 0x34
sete cl
push 0x33
lea ecx, [ecx*2 + 0x32]
push ecx
push ebx
push dword [0x41edec]
call fcn.0040eae0
add esp, 0x14
cmp eax, 6
jne 0x414bf9
push edi
push edi
push 0xb
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
or dword [ebp - 0x814], 0xffffffff
push 2
push 0xffffffffffffffff
push 0x100c
push dword [esi]
mov dword [ebp - 0x810], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
cmp edi, 0xffffffff
je 0x414bcd
mov ebx, dword [ebp - 0x814]
test edi, edi
je 0x414b5b
and dword [ebp - 0x84c], 0
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x840], eax
lea eax, [ebp - 0x854]
push eax
push edi
push 0x1073
push dword [esi]
mov dword [ebp - 0x83c], 0x400
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x414b64
xor eax, eax
mov word [ebp - 0x80c], ax
lea eax, [ebp - 0x80c]
push eax
push dword [esi + 0x64]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x414ba0
test edi, edi
je 0x414b8d
push eax
push edi
push 0x1008
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x414bac
mov ecx, dword [esi]
xor edx, edx
push 1
push 0
push 0
call fcn.0049cf29
xor ebx, ebx
jmp 0x414bac
mov dword [ebp - 0x810], 1
mov ebx, edi
push 2
push ebx
push 0x100c
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x414b23
mov ebx, dword [ebp - 0x818]
push 0
push 1
push 0xb
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x810], 0
je 0x414bf9
push 0x10
push 0x58
push 0x59
push ebx
push dword [0x41edec]
call fcn.0040eae0
add esp, 0x14
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ca70
leave
ret 4
Function at 0x41ce04
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x41d440
call fcn.0041d0c8
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x41ce64
cmp eax, 0xffffffff
je 0x41ce64
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x41ce5d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x41ce5d
cmp edx, 0x10000000
jae 0x41ce5d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x41ce5a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41ced0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x41cf0e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x41cf06
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x41cf10
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x41cef6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x41cfe0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x41d011
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x41d011
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x41d011
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x497463
Capabilities:
Encode data using xor

Disassembly:
call 0x4973dc
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x49740c
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x497428
xor edx, 0
jmp 0x497433
xor edx, edx
jmp 0x49744a
jmp 0x497456
xor eax, eax
push 0x8427d7c0
call 0x497463
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x49749f
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x497478
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x4974b6
add eax, 0
jno 0x4974bb
add esi, 0
ret 0x10