joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40aff0
Capabilities:
Hash data with md5

Disassembly:
push esi
xor eax, eax
lea esi, [ecx + 0x58]
push 0x40
push eax
push esi
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
call fcn.0040bb70
mov byte [esi], 0x80
pop esi
ret

Function at 0x8003b3f
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x80043b4], 0x30
mov dword [0x80043bc], 0x8003351
mov dword [0x80043b8], 2
mov dword [0x80043c0], 0
mov dword [0x80043c4], 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
jmp 0x8003b82
mov dword [0x80043c8], eax
mov dword [0x80043dc], 0x80041e0
mov dword [0x80043d4], 0xf
mov dword [0x8004102], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x80043cc], eax
mov dword [0x80043e0], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x800410a], ebp
mov dword [0x80043d0], eax
push 0x80043b4
call dword [sym.imp.user32.dll_RegisterClassExA]
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x8004434], eax
push 0
push dword [0x8004102]
push 0
push 0
push 0x1ef
push 0x21c
push 0xffffe688
push 0xfffff524
push 0xcf0000
push str.uno_momento
push str.verba
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x800442c], eax
push 1
push dword [0x800442c]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x800442c]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x8003c40
xor edi, edi
lea ebx, [0x80043e4]
jmp 0x8003c58
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x8003c4a
jmp 0x8003c6c
mov eax, dword [0x80043ec]
call fcn.08002ae4
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x33680c98
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data_1
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x747b5ade
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x10019acb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x280
push 0
push 0x10047d78
call fcn.100207d0
mov eax, dword [ebp + 0x14]
mov dword [0x10047ff0], eax
mov eax, dword [ebp + 0x18]
mov dword [0x10047ff4], eax
mov eax, dword [0x10045344]
add esp, 0xc
mov ecx, 0x10045344
call dword [eax + 0xc]
push dword [ebp + 8]
add eax, 0x10
mov dword [ebp + 0x14], eax
lea eax, [ebp + 0x14]
push eax
call fcn.10013122
mov eax, dword [ebp + 0x14]
cmp dword [eax - 4], 1
mov esi, dword [eax - 0xc]
jle 0x10019b2d
push esi
lea eax, [ebp + 0x14]
push eax
call fcn.10001706
mov eax, dword [ebp + 0x14]
lea ecx, [esi + esi]
push ecx
push eax
push 0x10047fb4
call fcn.1001ff30
add esp, 0xc
push dword [ebp + 0xc]
lea eax, [ebp + 0x14]
push eax
call fcn.10013122
mov eax, dword [ebp + 0x14]
cmp dword [eax - 4], 1
mov esi, dword [eax - 0xc]
jle 0x10019b64
push esi
lea eax, [ebp + 0x14]
push eax
call fcn.10001706
mov eax, dword [ebp + 0x14]
lea ecx, [esi + esi]
push ecx
push eax
mov esi, str.A686911000006E71
push esi
call fcn.1001ff30
add esp, 0xc
push dword [ebp + 0x10]
lea eax, [ebp + 0x14]
push eax
call fcn.10013122
mov edi, dword [ebp + 0x14]
cmp dword [edi - 4], 1
mov ebx, dword [edi - 0xc]
jle 0x10019b9c
push ebx
lea eax, [ebp + 0x14]
push eax
call fcn.10001706
mov edi, dword [ebp + 0x14]
lea eax, [ebx + ebx]
push eax
push edi
push str.192.168.1.199
call fcn.1001ff30
push 0x280
push 0x10047d78
push 3
push str.info
push esi
push SysReAllocString
call fcn.10009ddb
add esp, 0x24
xor esi, esi
push esi
push esi
push esi
push 0x10019893
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp byte [ebp + 0x1c], 0
mov ebx, eax
je 0x10019bed
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp ebx, esi
je 0x10019bf8
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [edi - 0x10]
pop edi
pop esi
pop ebx
pop ebp
jmp fcn.1000160d
Function at 0x401550
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
mov esi, dword [0x47c788]
xor ebx, ebx
push edi
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x3c]
mov ebp, dword [eax + esi + 0x78]
add ebp, esi
mov edi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
add edi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x4015b7
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
add eax, esi
push eax
call fcn.00401741
lea ecx, [esp + 0x1c]
call fcn.0040131c
cmp eax, dword [esp + 0x14]
je 0x4015cf
lea ecx, [esp + 0x1c]
add edi, 4
call fcn.0040171e
inc ebx
cmp ebx, dword [esp + 0x18]
jb 0x401587
xor edi, edi
mov ecx, dword [esp + 0x34]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00401a79
add esp, 0x2c
ret
mov eax, dword [ebp + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebp + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x1c]
call fcn.0040171e
jmp 0x4015b9

Function at 0x401652
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
movsd xmm0, qword [0x4198a8]
push esi
push edi
push ecx
push ecx
movsd qword [esp], xmm0
push 0x419890
call fcn.00401006
add esp, 0xc
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x47c788], eax
push 0x27
mov esi, 0x47b730
mov edx, 0x547
push 0x41b900
mov ecx, esi
call fcn.00401112
pop ecx
pop ecx
mov edx, 0x8aafdc01
call fcn.00401550
lea ecx, [ebp - 4]
push ecx
push 0x40
push 0x4e4
push esi
call eax
test eax, eax
je 0x4016c8
call fcn.004015ed
push 0x1000
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x4016e0
or eax, 0xffffffff
jmp 0x4016f6
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
call dword [sym.imp.KERNEL32.dll_GetSystemFileCacheSize]
xor eax, eax
pop edi
pop esi
leave
ret 0x10

Function at 0x402327
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402366
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402366
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402366
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402366
cmp dword [ecx + 0x74], 0xe
jbe 0x402366
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x408324
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4155b8
push 0x4155b0
push str.FlsAlloc
push 0x1e
call fcn.00408242
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408358
push dword [ebp + 8]
mov ecx, esi
call dword [0x414118]
call esi
jmp 0x40835e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x412f50
Capabilities:
Parse pe header

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

Function at 0x83977b
Capabilities:
Encode data using xor

Disassembly:
call fcn.00861064
pop esp
cli
sbb al, 0x16
mov eax, 0xcca8ae79
fsubr dword [ebx - 0x63]
sub dh, byte [ecx - 0x37]
std
adc eax, 0xf2b27d74
arpl word [ebp - 0x58], dx
pop esi
xor esi, edi
cmp bh, bl
mov dh, 0xbc
jne 0x839781
or byte [ebp - 0x79], dl
ljmp 0x2b8b

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

Disassembly:
pushal
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x4017c4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x404004]
jne 0x4017ce
repz ret
jmp fcn.00401b99

Function at 0x4063a0
Capabilities:
Get socket status

Disassembly:
push esp
mov ebp, esp
sub esp, 8
enter 0xffffffffffffeb45, 0x53
push esi
push edi
cmp dword [eax + 4], 1
jle 0x40638d
js 0x406213
add dword [edi], ecx
invalid
add dword [eax], eax
add byte [ebx + 0x458b0c57], cl
or byte [ebx], dh
leave
mov edx, dword [edi + 0xc]
mov eax, dword [ebp + 8]
xor ecx, ecx
loope 0x406270
add al, 0x8b
jnp 0x406228
test edx, edx
mov dword [ebp - 8], edi
clc
jbe 0x406240
mov esi, dword [eax + 0x311c]
sub dword [ebp + 0x3b1e3b0c], 0xffffffe0
inc ecx
xor al, 0xc6
adc al, 0x3b
retf 0xf472
jo 0x40620d
mov eax, 0x1fa7f
pop ebx
mov esp, ebp
faddp st(2)
or byte [eax], al
mov ebx, ecx
inc ecx
lea esi, [edx + 0xc]
iretd
mov byte [eax + esi + 0x55452000], ch
or al, 0x5a
push edx
or al, 0x8d
xor al, 0xf
cmp edx, dword [esi + 0xc]
in eax, dx
popfd
dec dword [eax + 4]
push esp
adc byte [edx + 0x3c], dh
or edi, dword [ecx + 5]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 8]
add ebx, 0x14
mov ecx, dword [ebp - 4]
out dx, eax
invalid
xor eax, 0x411a5e
add byte [eax], al
pop ebx
sub ch, ah
pop ebp
xor byte [eax], cl
add byte [eax - 0x70], bl
adc eax, 0x8b552c08
in al, dx
mov eax, 0x3020
call 0x50b8ac
push ebx
mov ebx, dword [ebp + 8]
daa
push edi
mov eax, ebp
add al, 0x85
sal byte [ebp - 0x74], 0x8b
inc ebp
jge 0x40641d
pop esi
pop ebx
mov dword [eax], 0
xor esi, dword [ebx + ecx*4 - 0x1a3da21b]
xor ecx, dword [ebx + 0x7d8b1075]
or al, 0x85
xor al, byte [esi - 0x5bfb0af6]
push dword [ebx + 0x27]
xor eax, eax
jmp 0x406407
mov ecx, 0x401
lea esi, [ebx + 0xc]
lea edi, [ebp - 0x201c]
push eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x6801
lea esi, [ebx + 0xc679]
lea edi, [ebp - 0x380010cc]
lea edx, [ebp - 0x8e1099]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x401
mov ah, 0x64
adc al, 0x20
test dword [eax], eax
lea edi, [ebp - 0xc520]
lahf
test dword [ebx - 0xc000084], eax
movsd dword es:[edi], dword [esi]
push eax
add eax, 0xc8ffcfba
push ecx
mov ecx, dword [ebx + 0x3018]
push edx
inc ecx
push eax
push ecx
call dword [sym.imp.WSOCK32.dll_select]
inc ebp
push ebp
adc al, 0x33
fdivr dword [ebx]
invalid

Function at 0x40a6a8
Capabilities:
Encode data using xor

Disassembly:
pop esi
push esi
xor dword [esi], ebx
lodsd eax, dword [esi]
add ebx, eax
test eax, eax
jne 0x40a6aa
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, reloc.cmpbk32.dll_PhoneBookCopyFilter
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x1000ec80
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x18]
push ebx
push ebp
mov ebp, dword [eax + 4]
mov eax, dword [eax]
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
push esi
push edi
mov dword [esp + 0x14], ebp
lea esi, [ecx + eax + 0x18]
mov dword [esp + 0x10], 0
jbe 0x1000ed70
add esi, 0x10
mov eax, dword [esi]
test eax, eax
jne 0x1000ed03
mov edx, dword [esp + 0x24]
mov ebx, dword [edx + 0x38]
test ebx, ebx
jle 0x1000ed52
mov eax, dword [esi - 4]
push 4
push 0x1000
push ebx
add eax, ebp
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x1000ed87
mov edi, dword [esi - 4]
add edi, ebp
test ebx, ebx
mov dword [esi - 8], edi
je 0x1000ed52
mov ecx, ebx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x1000ed52
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x20]
add ecx, eax
cmp edx, ecx
jb 0x1000ed7f
mov edx, dword [esi - 4]
push 4
push 0x1000
push eax
add edx, ebp
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x1000ed87
mov eax, dword [esi - 4]
mov ecx, dword [esi + 4]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esi]
add eax, ebp
add ecx, ebx
test edi, edi
jbe 0x1000ed4f
mov ebp, ecx
mov edx, eax
sub ebp, eax
mov cl, byte [edx + ebp]
mov byte [edx], cl
inc edx
dec edi
jne 0x1000ed42
mov ebp, dword [esp + 0x14]
mov dword [esi - 8], eax
mov edx, dword [esp + 0x28]
mov ecx, dword [edx]
mov eax, dword [esp + 0x10]
movzx edx, word [ecx + 6]
inc eax
add esi, 0x28
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x1000ecb2
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 0x10
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 0x10
Function at 0x1000ee40
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x30]
mov eax, dword [edi]
movzx ecx, word [eax + 0x14]
mov edx, dword [edi + 0x30]
mov esi, dword [ecx + eax + 0x20]
dec edx
lea ecx, [ecx + eax + 0x18]
not edx
and edx, esi
mov dword [esp + 0x14], esi
mov esi, dword [ecx + 0x10]
test esi, esi
mov dword [esp + 0x18], edx
jne 0x1000ee84
mov ebx, dword [ecx + 0x24]
test bl, 0x40
je 0x1000ee7d
mov esi, dword [eax + 0x20]
jmp 0x1000ee84
test bl, bl
jns 0x1000ee84
mov esi, dword [eax + 0x24]
mov dword [esp + 0x1c], esi
mov esi, dword [ecx + 0x24]
mov dword [esp + 0x20], esi
mov esi, 1
add ecx, 0x28
cmp word [eax + 6], si
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], esi
jbe 0x1000ef69
lea ebx, [ecx + 0x24]
mov esi, dword [edi + 0x30]
mov ebp, dword [ebx - 0x1c]
mov edi, dword [ebx - 0x14]
dec esi
not esi
and esi, ebp
test edi, edi
jne 0x1000eed5
mov ecx, dword [ebx]
test cl, 0x40
je 0x1000eece
mov edi, dword [eax + 0x20]
jmp 0x1000eed5
test cl, cl
jns 0x1000eed5
mov edi, dword [eax + 0x24]
cmp edx, esi
je 0x1000ef0e
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
add eax, ecx
cmp eax, esi
ja 0x1000ef0e
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x14]
call fcn.1000eda0
test eax, eax
je 0x1000ef88
mov eax, dword [ebx]
mov edx, esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], eax
jmp 0x1000ef3e
mov eax, dword [ebx]
test eax, 0x2000000
je 0x1000ef2b
mov ecx, dword [esp + 0x20]
test ecx, 0x2000000
je 0x1000ef2b
or ecx, eax
mov dword [esp + 0x20], ecx
jmp 0x1000ef38
or eax, dword [esp + 0x20]
and eax, 0xfdffffff
mov dword [esp + 0x20], eax
sub edi, dword [esp + 0x14]
add edi, ebp
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov ecx, dword [esp + 0x10]
movzx esi, word [eax + 6]
inc ecx
add ebx, 0x28
cmp ecx, esi
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
jl 0x1000eeb0
mov esi, 1
lea ecx, [esp + 0x14]
mov edx, edi
mov dword [esp + 0x24], esi
call fcn.1000eda0
pop edi
neg eax
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x18
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret 8
Function at 0x1000f8d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x30
mov ecx, dword [esp + 0x3c]
xor eax, eax
cmp ecx, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
jbe 0x1000face
mov eax, dword [0x1006e7a8]
push ebx
mov ebx, dword [0x1006e79c]
push ebp
mov ecx, dword [0x1006e798]
mov edx, ebx
push esi
mov esi, dword [0x1006e7a4]
imul edx, esi
push edi
imul edx, eax
lea edx, [edx + ecx + 1]
imul edx, eax
mov edi, esi
sub edi, edx
mov edx, dword [0x1006e7a0]
lea edi, [edi + edx - 3]
imul edi, edx
lea ebp, [eax + 1]
imul ebp, eax
add edi, ebp
lea ebp, [esi + esi*2]
add edi, ebp
mov ebp, dword [esp + 0x44]
sub edi, ebx
lea ebp, [ebp + edi*4]
add edi, ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x20], edi
lea edi, [eax + ecx]
add edi, ebp
mov ebp, esi
imul ebp, eax
imul ebp, eax
imul ebp, eax
imul ebp, edx
mov dword [esp + 0x24], edi
mov edi, ebx
sub edi, ebp
mov ebp, dword [esp + 0x44]
sub edi, edx
lea ebp, [ebp + edi*2]
add edi, ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x28], edi
lea edi, [ebx + edx]
lea edi, [edi + edi - 2]
imul edi, esi
add edi, ebp
sub ebx, ecx
sub ebx, edx
lea edi, [edi + ebx*2]
mov dword [esp + 0x2c], edi
mov ebx, eax
imul ebx, eax
mov ebp, edx
imul ebp, edx
lea edi, [ecx + 1]
imul edi, dword [0x1006e79c]
add ebx, ecx
add ebp, ebx
mov ebx, dword [esp + 0x44]
shl ebp, 1
shl edi, 1
sub ebp, edi
add ebp, ebx
lea ebx, [eax - 2]
imul ebx, ecx
mov dword [esp + 0x30], ebp
add ebx, dword [0x1006e79c]
lea ebp, [ecx + ecx - 4]
sub ebp, edi
mov edi, dword [esp + 0x44]
imul ebp, esi
add ebp, edi
add ebx, edx
lea edi, [ebp + ebx*2]
mov dword [esp + 0x38], edi
lea edi, [esi + esi]
sub edi, edx
shl edi, 1
mov ebx, edi
mov edi, dword [0x1006e79c]
lea ebp, [ecx + 3]
imul ebp, edi
sub ebx, ebp
mov ebp, dword [esp + 0x44]
sub ebx, ecx
lea ebx, [ebp + ebx*2]
mov ebp, ecx
imul ebp, edx
mov dword [esp + 0x34], ebx
lea ebx, [eax + eax]
sub ebx, ebp
sub ebx, edi
mov edi, esi
imul edi, ecx
lea ebp, [edi + edi - 2]
mov edi, ecx
imul ebp, esi
sub edi, edx
imul edi, eax
mov eax, dword [0x1006e79c]
sub edi, esi
add edi, eax
mov eax, dword [esp + 0x48]
add edi, ecx
mov ecx, dword [esp + 0x14]
imul edi, esi
mov esi, dword [esp + 0x18]
add edi, edx
shl ebx, 1
add edi, eax
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x1c]
jmp 0x1000fa50
xor edx, edx
lea eax, [ecx + 1]
div dword [0x1006e794]
mov ecx, edx
mov edx, dword [esp + 0x20]
movzx eax, byte [edx + ecx]
add eax, esi
xor edx, edx
div dword [0x1006e794]
mov eax, dword [esp + 0x24]
mov esi, edx
mov dl, byte [eax + ecx]
mov eax, dword [esp + 0x28]
mov byte [esp + 0x13], dl
mov dl, byte [eax + esi]
mov eax, dword [esp + 0x2c]
mov byte [eax + ecx], dl
mov dl, byte [esp + 0x13]
mov eax, dword [esp + 0x30]
mov byte [esi + eax], dl
mov edx, dword [esp + 0x34]
movzx eax, byte [edx + ecx]
mov edx, dword [esp + 0x38]
movzx edx, byte [edx + esi]
add eax, edx
xor edx, edx
div dword [0x1006e794]
mov eax, dword [esp + 0x44]
add edx, ebp
add edx, ebx
mov dl, byte [edx + eax]
mov eax, dword [esp + 0x3c]
xor byte [eax + edi], dl
mov eax, dword [esp + 0x4c]
inc edi
cmp edi, eax
jb 0x1000fa50
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
Function at 0x10010000
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
push esi
push edi
push str.bbbbb
push 0x100710b8
call fcn.10010510
push eax
call fcn.1000ffa0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
add esp, 0xc
mov dword [0x1007123c], edi
mov dword [0x10071240], eax
mov dword [0x10071244], ecx
xor ebp, ebp
xor esi, esi
call fcn.1000ff50
test eax, eax
jne 0x100101ab
push ebx
push 0x1005ea80
push 0x1060
push edi
mov dword [0x1006e798], ebp
mov dword [0x1006e79c], ebp
mov dword [0x1006e7a0], ebp
mov dword [0x1006e7a8], ebp
mov dword [0x1006e7a4], ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push ebx
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
call fcn.1000ff50
test eax, eax
jne 0x100100a9
push str.kernel32.dll
call fcn.1000fae0
add esp, 4
mov esi, eax
push str.ntdll.dll
call fcn.1000fae0
add esp, 4
call fcn.1000ff50
test eax, eax
jne 0x100100d2
push 0x5c744552
push esi
call fcn.1000fc30
add esp, 8
mov dword [0x10071238], eax
push 0x4323dd95
push esi
call fcn.1000fc30
add esp, 8
cmp eax, ebp
mov dword [0x10071234], eax
je 0x10010117
push ebp
push 0x1005ea4c
call fcn.1001b200
add esp, 4
push eax
push str.8192
call fcn.1001b200
add esp, 4
or eax, 0x1000
push eax
push ebx
push ebp
push 0xffffffffffffffff
call dword [0x10071234]
jmp 0x10010140
push 0x1005ea4c
call fcn.1001b200
add esp, 4
push eax
push str.8192
call fcn.1001b200
add esp, 4
or eax, 0x1000
push eax
push ebx
push ebp
call dword [0x10071238]
mov esi, dword [esp + 0x14]
mov ebp, eax
mov eax, dword [0x1006e794]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.1001aa0c
push 0x25
mov esi, eax
push str.7z_OJ_tb6DccYM_1Kw35Ol6eyzs6LaJ4dv
push esi
call fcn.1000f6e0
push ebx
push ebp
push esi
call fcn.1000f8d0
add esp, 0x1c
push 0
push 0x1000f230
push 0x1000f210
push 0x1000f200
push ebx
push ebp
push 0x10071220
call fcn.1000f240
pop ebx
pop edi
pop esi
mov dword [0x10071248], eax
mov eax, 1
pop ebp
ret 0xc
push 0x1005ea8c
call fcn.1001b112
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebp
ret 0xc