joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c2025
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 0x100c2047
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100c2047
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100c2047
ret
cmp word [ebx + 4], 0x14c
jne 0x100c2047
test word [ebx + 0x16], 2
je 0x100c2047
test word [ebx + 0x16], 0x100
je 0x100c2047
cmp word [ebx + 0x18], 0x10b
jne 0x100c2047
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100c2047
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100c20d3
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100c2067
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.100a8fb2
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100c2047
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 0x100c20d3
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 0x100c2047
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100c2047
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100c2047
ret
cmp word [ebx + 4], 0x14c
jne 0x100c2047
test word [ebx + 0x16], 2
je 0x100c2047
test word [ebx + 0x16], 0x100
je 0x100c2047
cmp word [ebx + 0x18], 0x10b
jne 0x100c2047
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100c2047
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100c20d3
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100c2067
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.100a8fb2
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100c2047
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 0x100c218a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100c21e3
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100c218a
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100c2199
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 0x104c7e3c
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 0x100c21ea
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.100a9060
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100c2289
add edi, 4
add eax, 2
dec ecx
jne 0x100c21cf
call 0x100c2236
loope 0x100c222c
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100c2286
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 0x100c2297
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 0x100c224a
cmp eax, ecx
ja 0x100c224a
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100c22d4
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100c22ca
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100a953f
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x100c2199
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100c21e3
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100c218a
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100c2199
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 0x104c7e3c
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 0x100c21ea
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.100a9060
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100c2289
add edi, 4
add eax, 2
dec ecx
jne 0x100c21cf
call 0x100c2236
loope 0x100c222c
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100c2286
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 0x100c2297
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 0x100c224a
cmp eax, ecx
ja 0x100c224a
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100c22d4
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100c22ca
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100a953f
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x49325e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00401dc0
mov eax, dword [0x56929c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00405ec0
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4932a0
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4933fc
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00406023
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x56cf08]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00403283
mov ecx, dword [esi*4 + 0x56cf08]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x4933f5
cmp eax, dword [edi + ecx + 0x24]
jne 0x4933f5
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4933f5
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00403283
add esp, 0x14
test edx, edx
jl 0x4933f5
jg 0x49336b
test eax, eax
jb 0x4933f5
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4933f5
jl 0x493385
cmp dword [ebp - 0x1008], eax
ja 0x4933f5
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4933a3
test ebx, ebx
je 0x4933dc
cmp ecx, edi
jae 0x4933dc
mov al, byte [ecx]
cmp al, 0xd
jne 0x4933bd
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4933c9
cmp byte [ecx + 1], 0xa
jne 0x4933c9
inc ecx
jmp 0x4933c9
movzx eax, al
movsx eax, byte [eax + 0x569e08]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4933a3
cmp edx, ebx
jne 0x4933a3
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4933fa
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00403076
leave
ret
Function at 0x499b31
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x56929c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x499b7c
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00499ff3
test al, al
jne 0x499b76
sub edx, 2
cmp edx, edi
jne 0x499b5c
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x499b9e
lea eax, [edi + 2]
cmp edx, eax
je 0x499b9e
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0049972a
add esp, 0x10
jmp 0x499c98
push esi
lea ecx, [ebp - 0x255]
call fcn.00499ff3
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x499be1
push dword [ebp - 0x25c]
jmp 0x499b8e
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x499c1e
cmp word [ebp - 0x226], 0
je 0x499c3f
cmp word [ebp - 0x226], ax
jne 0x499c1e
cmp word [ebp - 0x224], 0
je 0x499c3f
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0049972a
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x499c8b
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x499bf8
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x499c73
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x499c98
push 0x499112
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0040556f
add esp, 0x10
jmp 0x499c68
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403076
leave
ret
Function at 0x4a1d5c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x56cf08]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4a1d9c
cmp byte [ebx], 0xa
jne 0x4a1d9c
or byte [eax + edi + 0x28], 4
jmp 0x4a1da1
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4a1e9f
mov al, byte [edx]
cmp al, 0x1a
je 0x4a1e81
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4a1dd0
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4a1df5
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4a1dff
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4a1db2
jmp 0x4a1e9f
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4a1e7c
cmp dword [ebp - 0xc], 0
je 0x4a1e7c
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x56cf08]
test byte [eax + edi + 0x28], 0x48
je 0x4a1e56
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4a1e41
mov byte [esi], dl
jmp 0x4a1e52
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x56cf08]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4a1e9f
cmp byte [ebp - 1], 0xa
jne 0x4a1e65
cmp esi, ebx
jne 0x4a1e65
mov byte [esi], 0xa
jmp 0x4a1e9e
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00401956
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4a1e9f
mov byte [esi], 0xd
jmp 0x4a1e9e
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x56cf08]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4a1e9b
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4a1e9f
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4a1efb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x56cf08]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4a1f3e
cmp word [esi], dx
jne 0x4a1f3e
or byte [edi + eax + 0x28], 4
jmp 0x4a1f43
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x4a2096
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4a2076
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4a1f85
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4a1fbb
cmp eax, edx
jae 0x4a1fc7
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4a1f5d
jmp 0x4a2096
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4a2072
cmp dword [ebp - 0x14], 0
je 0x4a2072
mov eax, dword [ebx*4 + 0x56cf08]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4a204a
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4a2013
mov word [esi], cx
jmp 0x4a2046
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x56cf08]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x56cf08]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x56cf08]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4a2096
pop ebx
cmp word [ebp - 4], bx
jne 0x4a205b
cmp esi, dword [ebp + 0xc]
jne 0x4a205b
mov word [esi], bx
jmp 0x4a2093
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00401956
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4a2096
push 0xd
jmp 0x4a208f
mov ecx, dword [ebx*4 + 0x56cf08]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4a208d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4a2096
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x401210
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
rcl edi, 0xc3
sbb edx, 0xaa
and edx, 0x2a
sub ebx, 0x77
and edx, 0x45
imul esi
not ebx
imul edx
and edi, 0xde
or eax, 0x29
bswap eax
imul edx
or ebx, 0x60
rcr esi, 0xe4
or edi, 0xef
inc eax
rcr edi, 0xa3
not esi
not edx
rol edi, 0x6d
and esi, 0x31
neg eax
not esi
sub ebx, 0x62
not eax
bswap esi
rcl edi, 0x43
and edi, 0xf7
ror ebx, 0xce
bswap edi
rcr edi, 0x8b
dec eax
dec ebx
dec esi
and edx, 0x8e
rcl ebx, 0xa1
imul esi
bswap esi
or ebx, 0xd7
imul ebx
dec edx
inc ebx
neg ebx
not esi
neg edx
sub edx, 0x2d
and esi, 0xf2
mov edi, 0x11
rcr esi, 0xd4
neg edi
xor ecx, ecx
xor edi, edi
not esi
ror esi, 0x37
imul eax
bswap edi
neg esi
inc edi
mov edx, 0x84
not esi
dec esi
not edi
not eax
and edx, 0x40
bswap edi
ror edx, 0x4d
mov edx, 9
and ebx, 0x79
inc esi
rcl eax, 0x46
sub eax, 0xfb
imul esi
add eax, 0xb1
neg ebx
not ebx
add edi, 0x12
and ebx, 0x96
imul edx
sub ebx, 0x71
sbb esi, 0xa3
imul edi
rcl esi, 0xb4
imul edx
rcl edx, 0xfd
add eax, 6
rol edi, 0xf8
mov esi, 0x8a
bswap edx
rcl eax, 0x9c
sub eax, 0x1f
neg esi
imul esi
rcr eax, 6
or edi, 0xd3
dec esi
sbb edx, 0x21
and eax, 0xae
and edx, 0xd3
ror edx, 0x69
and edx, 0x8e
ror eax, 0xa9
add eax, 0xa4
mov ecx, dword [ebp + 0xc]
sub esi, 0x50
neg esi
not esi
inc ebx
rcr esi, 0xbf
dec edi
dec ebx
bswap edi
rol esi, 0x6d
bswap edx
imul ebx
dec edx
inc esi
dec edi
rcl esi, 0xa7
sub eax, 0xc
dec edx
not edx
or ebx, 0xe1
rol ebx, 0x7d
or ebx, 0x7a
neg esi
rcr esi, 0xc3
sbb eax, 0xdc
rol edx, 0xe7
imul edi
inc edi
dec ebx
inc esi
ror edx, 0x3f
ror ebx, 0x94
rcl edi, 0xdc
inc esi
neg edi
dec edi
and edx, 0xd2
not esi
rcr edx, 0x70
imul edi
inc edi
rcl eax, 0x25
add ebx, 0xa2
or edi, 0x83
rcr eax, 0x3f
neg esi
sub eax, 0x5a
neg esi
bswap ebx
or esi, 0x20
rcr eax, 0xf4
mov edi, dword [ebp + 8]
xor esi, ebx
xor ebx, ebx
mov esi, ebx
not byte [edi]
xor esi, esi
mov ebx, esi
mov esi, esi
xor eax, esi
xor eax, ebx
xor ebx, esi
xor eax, ebx
xor eax, ebx
xor eax, ebx
add byte [edi], 0x87
xor eax, ebx
mov esi, eax
mov ebx, esi
xor eax, eax
xor eax, esi
mov ebx, ebx
mov ebx, ebx
xor eax, esi
xor esi, ebx
sub byte [edi], 0x54
mov esi, eax
mov esi, esi
mov ebx, esi
mov ebx, ebx
mov ebx, eax
xor ebx, ebx
mov ebx, esi
mov eax, eax
mov eax, eax
imul byte [edi]
inc edi
loop 0x4013ca
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x404f75
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x589200]
jne 0x404f7f
repz ret
jmp fcn.00407310
Function at 0x4055e5
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.00404395
and dword [ebp - 4], 0
cmp dword [0x58a390], 0
mov ebx, eax
jne 0x405696
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405747
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x405747
push eax
call fcn.00404323
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x58a390], eax
call esi
push eax
call fcn.00404323
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x58a394], eax
call esi
push eax
call fcn.00404323
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x58a398], eax
call esi
push eax
call fcn.00404323
pop ecx
mov dword [0x58a3a0], eax
test eax, eax
je 0x405696
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404323
pop ecx
mov dword [0x58a39c], eax
mov eax, dword [0x58a39c]
cmp eax, ebx
je 0x4056ee
cmp dword [0x58a3a0], ebx
je 0x4056ee
push eax
call fcn.0040439e
push dword [0x58a3a0]
mov esi, eax
call fcn.0040439e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4056ee
test edi, edi
je 0x4056ee
call esi
test eax, eax
je 0x4056e5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4056e5
test byte [ebp - 0xc], 1
jne 0x4056ee
or dword [ebp + 0x10], 0x200000
jmp 0x405727
mov eax, dword [0x58a394]
cmp eax, ebx
je 0x405727
push eax
call fcn.0040439e
pop ecx
test eax, eax
je 0x405727
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405727
mov eax, dword [0x58a398]
cmp eax, ebx
je 0x405727
push eax
call fcn.0040439e
pop ecx
test eax, eax
je 0x405727
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x58a390]
call fcn.0040439e
pop ecx
test eax, eax
je 0x405747
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405749
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0xa53370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xa5338e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xa7c074
push ecx
mov edi, eax
call fcn.00a67198
mov esi, eax
add esp, 8
test esi, esi
jne 0xa533cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00a6702e
push esi
call fcn.00a66fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xa56850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0xa568ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0xa81720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xa568ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.00a671e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0xa568ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xa81720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xa5692a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00a68082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xa56957
mov word [eax], si
add eax, 2
push eax
call fcn.00a68030
add esp, 4
jmp 0xa56959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0xa568ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xa568b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xa56ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret