joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6ede80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xe606e8]
xor edx, edx
cmp eax, edx
jne 0x6edea6
xor eax, eax
mov byte [eax + 0xe605e8], al
inc eax
cmp eax, 0x100
jl 0x6ede8e
mov dword [0xe606e8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xe605e8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x6edf37
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x6edf0a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x6eded8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x6edf40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x6edf93
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x6edf7a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x6f4950
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x72292e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.006f5270
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0xdcb704
call fcn.007138b6
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x6f49e3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.007138b6
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x6f49dc
push 0
mov ecx, eax
call fcn.006ebac0
mov dword [esi + 0xc], eax
jmp 0x6f49e5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x6f49e5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x42e003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x4d567174
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0xf5262a3
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x100060d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov dword [esp + 4], 0
mov dword [ebp - 0x10], eax
mov dword [esp], esi
call dword [sym.imp.user32.dll_GetWindowLongW]
sub esp, 8
cmp ebx, 5
je 0x10006130
cmp ebx, 0x10
je 0x10006160
cmp ebx, 2
je 0x10006148
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0x14], edi
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], esi
mov dword [ebp + 0x10], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp dword [sym.imp.user32.dll_DefWindowProcW]
call sym._ResizePopupChild
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp], esi
call dword [sym.imp.user32.dll_DestroyWindow]
xor eax, eax
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp], esi
mov dword [esp + 4], 0
call dword [sym.imp.user32.dll_ShowWindow]
xor eax, eax
sub esp, 8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10

Function at 0x100062d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x20
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [esp + 4], 0xffffffeb
mov dword [esp], esi
call dword [sym.imp.user32.dll_GetWindowLongW]
sub esp, 8
mov ebx, eax
cmp edi, 0x101
jne 0x10006303
cmp dword [ebp + 0x10], 0xd
je 0x10006330
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
call ebx
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov edx, dword [sym.imp.user32.dll_GetParent]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], 0xfffffffc
mov dword [ebp - 0x1c], edx
mov dword [esp], esi
call edx
mov edx, dword [ebp - 0x1c]
sub esp, 4
mov dword [esp], eax
call edx
lea ecx, [ebp - 0x18]
sub esp, 4
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0xd
mov dword [esp + 4], 0x4e
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp 0x10006303
Function at 0x10008a70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
cmp eax, 0x4e
jne 0x10008b10
mov edx, dword [ebx + 8]
cmp edx, 0xfffffffc
je 0x10008b40
xor eax, eax
cmp edx, 0xfffffffd
jne 0x10008b02
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowLongW]
sub esp, 8
mov esi, eax
test eax, eax
je 0x10008bf5
test ebx, ebx
je 0x10008bf5
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x10008b02
mov eax, dword [eax + 4]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x130]
mov eax, dword [eax + 0xc]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._NavigateToChm
mov dword [esp + 4], 0
mov eax, dword [esi + 0x138]
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
xor eax, eax
sub esp, 8
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret 0x10
mov edx, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edx
mov dword [esp], eax
call dword [sym.imp.user32.dll_DefWindowProcW]
sub esp, 0x10
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowLongW]
sub esp, 8
mov ebx, eax
test eax, eax
je 0x10008bf5
mov dword [esp + 0xc], 0
mov esi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1042
mov eax, dword [eax + 0x134]
mov dword [esp], eax
call esi
mov dword [ebp - 0x44], 4
sub esp, 0x10
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x44]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x104b
mov eax, dword [ebx + 0x134]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x24]
sub esp, 0x10
mov eax, dword [eax + 4]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x130]
mov eax, dword [eax + 0xc]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._NavigateToChm
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x138]
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
sub esp, 8
lea esp, [ebp - 8]
xor eax, eax
pop ebx
pop esi
pop ebp
ret 0x10
Function at 0x1000aba0
Capabilities:
Check if file exists
Get common file path
Get file attributes
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
push ebx
sub esp, 0x1c
mov dword [ebp - 0x10], edx
mov dword [esp], eax
call sym._skip_schema
mov esi, eax
test edi, edi
je 0x1000abc2
mov dword [edi], 0
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov eax, dword [sym.imp.kernel32.dll_ExpandEnvironmentStringsW]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], esi
mov dword [ebp - 0x14], eax
call eax
sub esp, 0xc
mov edx, eax
test eax, eax
jne 0x1000ac00
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [edx + edx]
mov dword [ebp - 0x18], edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov edx, dword [ebp - 0x18]
test eax, eax
mov ebx, eax
je 0x1000abf1
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], esi
mov dword [esp + 8], edx
call eax
mov esi, dword [sym.imp.ucrtbase.dll_wcsstr]
sub esp, 0xc
mov dword [esp + 4], 0x100167e4
mov dword [esp], ebx
call esi
test eax, eax
je 0x1000ac59
xor ecx, ecx
add eax, 2
mov word [eax - 2], cx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [esp + 4], 0x100167dc
mov dword [esp], ebx
call esi
test eax, eax
je 0x1000ac81
xor edx, edx
mov word [eax], dx
test edi, edi
je 0x1000ac81
add eax, 4
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [edi], eax
mov esi, dword [ebp - 0x10]
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x104
mov dword [esp + 8], esi
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GetFullPathNameW]
sub esp, 0x10
mov dword [esp], esi
mov esi, dword [sym.imp.kernel32.dll_GetFileAttributesW]
call esi
sub esp, 4
cmp eax, 0xffffffff
je 0x1000ad00
mov dword [esp], ebx
mov ebx, dword [sym.imp.ucrtbase.dll_free]
call ebx
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call esi
sub esp, 4
cmp eax, 0xffffffff
je 0x1000ace0
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp], eax
call ebx
test edi, edi
je 0x1000abf1
mov eax, dword [edi]
mov dword [esp], eax
call ebx
jmp 0x1000abf1
mov edx, dword [ebp - 0x10]
mov dword [esp + 4], 0x104
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
mov edx, dword [ebp - 0x10]
sub esp, 8
cmp word [edx], 0
je 0x1000ad78
add edx, 2
cmp word [edx], 0
jne 0x1000ad20
xor eax, eax
nop
lea esi, [esi]
movzx ecx, word [eax + 0x100167cc]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1000ad30
mov edx, dword [ebp - 0x10]
cmp word [edx], 0
je 0x1000ad80
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x1000ad50
xor eax, eax
nop
lea esi, [esi]
movzx ecx, word [ebx + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1000ad60
jmp 0x1000acb7
mov edx, dword [ebp - 0x10]
jmp 0x1000ad29
mov edx, dword [ebp - 0x10]
jmp 0x1000ad59
Function at 0x100119c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x10011a18
cmp byte [esi + ebx - 1], 0xa
je 0x100119ec
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x100230a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x10012040
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp], eax
call sym.___wine_dbg_get_channel_flags
movzx eax, al
bt eax, esi
jae 0x10012218
mov edi, dword [0x100230a4]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], edi
je 0x10012127
test byte [0x100130ac], 8
jne 0x100121c0
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x100130bc], 8
jne 0x10012180
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x100120c9
cmp esi, 3
jbe 0x10012138
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov ecx, ebx
mov edi, eax
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
and edx, 0x80808080
je 0x100120da
mov esi, edx
mov dword [esp + 0xc], edi
shr esi, 0x10
test edx, 0x8080
mov dword [esp + 4], 1
cmove edx, esi
lea esi, [ecx + 2]
mov dword [esp], ebx
cmove ecx, esi
mov eax, edx
add al, dl
sbb ecx, 3
sub ecx, ebx
mov dword [esp + 8], ecx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xe0
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x1001d7e0]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x100120c9
mov dword [esp], 0x100130bc
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x100120a0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call sym._sprintf
add edi, eax
jmp 0x100120a0
mov dword [esp], 0x100130ac
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x1001208b
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
lea ebx, [ebp - 0xd4]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mul edx
mov dword [esp], ebx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf
lea edi, [ebx + eax]
jmp 0x10012093
mov eax, 0xffffffff
jmp 0x10012127
Function at 0x100122a0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x214
mov eax, dword [0x100230c0]
test eax, eax
je 0x10012358
mov dword [esp], ebx
call eax
mov dword [ebx + 8], eax
sub esp, 4
test eax, eax
jns 0x100122e0
mov eax, dword [ebx]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ebp - 0x214]
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.MODULE
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], str.SystemRoot
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.SystemRoot
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
jmp 0x100122cc
mov dword [esp], str.atl100.dll
call dword [sym.imp.kernel32.dll_LoadLibraryW]
sub esp, 4
test eax, eax
je 0x1001238d
mov dword [esp + 4], str.AtlCreateRegistrar
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100230c0], eax
sub esp, 8
test eax, eax
jne 0x100122bd
mov dword [ebx + 8], 0x80004002
xor eax, eax
jmp 0x100122ce
Function at 0x100123a0
Capabilities:
Access peb ldr_data
Extract resource via kernel32 functions
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x28
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_FindResourceW]
sub esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov edx, dword [ebp - 0x10]
sub esp, 8
mov ebx, eax
mov dword [esp + 4], edx
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
sub esp, 8
test ebx, ebx
je 0x10012530
mov eax, dword [esi]
test eax, eax
je 0x10012518
mov edx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], ebx
mov dword [esp + 0x14], 0
mov dword [ebp - 0x1c], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call edx
lea ecx, [eax + 1]
sub esp, 0x18
lea eax, [ecx + ecx]
mov dword [ebp - 0x18], ecx
mov ecx, eax
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov dword [ebp - 0x14], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
test eax, eax
mov edi, eax
je 0x1001253c
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 4]
xor edx, edx
sub esp, 0x18
mov word [edi + eax - 2], dx
mov eax, dword [esi]
test ecx, ecx
mov edx, dword [eax]
mov dword [esp + 4], edi
mov dword [esp], eax
jne 0x10012508
call dword [edx + 0x28]
mov dword [esi + 8], eax
sub esp, 8
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esi + 8]
sub esp, 0xc
lea esp, [ebp - 0xc]
not eax
pop ebx
pop esi
shr eax, 0x1f
pop edi
pop ebp
ret 0x10
call dword [edx + 0x24]
mov dword [esi + 8], eax
sub esp, 8
jmp 0x100124cc
mov edx, esi
mov eax, edi
call sym._create_registrar
test eax, eax
jne 0x10012406
lea esi, [esi]
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esi + 8], 0x8007000e
xor eax, eax
jmp 0x10012532
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40915c
mov ecx, 0x7f477067
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x431024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x4c56492e
test eax, eax
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0xe8e769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0xe92190
cmp edx, dword [eax]
je 0xe8e78b
add eax, 8
inc ecx
cmp eax, 0xe92220
jl 0xe8e77c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0xe92190]
jne 0xe8e8b9
mov eax, dword [0xe92bb0]
cmp eax, 1
je 0xe8e893
test eax, eax
jne 0xe8e7bc
cmp dword [0xe920e4], 1
je 0xe8e893
cmp edx, 0xfc
je 0xe8e8b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0xe8e7f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00e8f670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00e8f490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0xe8e836
lea eax, [ebp - 0x1a4]
push eax
call fcn.00e8f490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0xe9145c
push edi
call fcn.00e8ff00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00e8f670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00e8f680
lea eax, [ebp - 0xa0]
push 0xe9143c
push eax
call fcn.00e8f680
push dword [esi + 0xe92194]
lea eax, [ebp - 0xa0]
push eax
call fcn.00e8f680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00e8fe75
add esp, 0x2c
pop edi
jmp 0xe8e8b9
lea eax, [ebp + 8]
lea esi, [esi + 0xe92194]
push 0
push eax
push dword [esi]
call fcn.00e8f490
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
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 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0xea1e00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8b5000]
push edi
or ebp, 0xffffffff
jmp 0xea1e22
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xea1e29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xea1e18
mov eax, 1
add ebx, ebx
jne 0xea1e3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xea1e4c
jne 0xea1e6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xea1e6b
dec eax
add ebx, ebx
jne 0xea1e58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xea1e30
add ebx, ebx
jne 0xea1e67
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xea1ebd
xor ecx, ecx
sub eax, 3
jb 0xea1e83
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xea1ef2
sar eax, 1
mov ebp, eax
jmp 0xea1e8e
add ebx, ebx
jne 0xea1e8e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xea1e5c
inc ecx
add ebx, ebx
jne 0xea1e9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xea1e5c
add ebx, ebx
jne 0xea1ea9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xea1e9e
jne 0xea1eba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xea1e9e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xea1edc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xea1ece
jmp 0xea1e1e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xea1edc
add edi, ecx
jmp 0xea1e1e
pop esi
mov edi, esi
mov ecx, 0x464275
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0xea1f17
cmp byte [edi], 0x4d
jne 0xea1efc
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0xea1efa
lea edi, [esi + 0xa9e000]
mov eax, dword [edi]
or eax, eax
je 0xea1f68
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xacc0a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xacc19c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xea1f1d
mov ecx, edi
jns 0xea1f4c
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 + 0xacc1a4]
or eax, eax
je 0xea1f62
mov dword [ebx], eax
add ebx, 4
jmp 0xea1f3a
call dword [esi + 0xacc1a0]
mov ebp, dword [esi + 0xacc1a8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x267]
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 0xea1f9c
sub esp, 0xffffff80
jmp 0x619570