joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44975c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x449907
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4498e8
mov dl, 1
mov eax, dword [0x411f4c]
call fcn.004036c0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404464
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4498d7
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043769c
test al, al
je 0x4498ca
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x449918
lea eax, [ebp - 0x254]
call fcn.00408f38
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4498ca
xor eax, eax
push ebp
push 0x4498c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x449950
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4498ac
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046d4
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4498ac
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4498ca
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4497cd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415ab0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44990e
lea eax, [ebp - 0x260]
call fcn.00404464
ret

Function at 0x44a250
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x457b40]
cmp byte [eax + 0xa5], 0
jne 0x44a2c1
cmp dword [0x457b58], 0
jne 0x44a282
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44a20c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x457b58], eax
cmp dword [0x457b54], 0
jne 0x44a29d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x457b54], eax
cmp dword [0x457b5c], 0
jne 0x44a2c1
push esp
push 0
push 0
push 0x44a1b0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x457b5c], eax
pop edx
ret
Function at 0x44a954
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x457b40]
cmp dword [eax + 0x30], 0
je 0x44a9fe
cmp dword [ebx + 0x94], 0
jne 0x44a9f8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44a8e4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44a9f8
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44a9be
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44a9f8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413eac
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44a9cd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44b55c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44b591
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404554
jmp 0x44b59e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004044b8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44c52c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44c56d
mov eax, esi
call fcn.00432e54
test al, al
je 0x44c56d
mov eax, dword [ebx + 0x84]
call fcn.00432bf4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44c56d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00432bf4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x44d8c8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe8
mov ebp, edx
mov ebx, eax
xor eax, eax
mov dword [esp], eax
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov edx, dword [eax + 0x78]
mov dword [esp + 4], edx
mov edx, dword [eax + 0x7c]
mov dword [esp + 8], edx
mov eax, dword [esp + 4]
add eax, ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov edi, dword [eax + 0x18]
dec edi
test edi, edi
jb 0x44d966
inc edi
xor esi, esi
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x20]
add eax, ebx
mov edx, esi
shl edx, 2
add eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
add eax, ebx
push eax
push ebp
call sub.kernel32.dll_lstrcmpA
test eax, eax
jne 0x44d962
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x24]
add eax, ebx
mov edx, esi
add edx, edx
add eax, edx
mov ax, word [eax]
add ax, 3
mov edx, dword [esp + 0xc]
mov edx, dword [edx + 0x1c]
add edx, ebx
movzx eax, ax
shl eax, 2
add edx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
add ebx, dword [eax]
mov dword [esp], ebx
jmp 0x44d966
inc esi
dec edi
jne 0x44d904
mov eax, dword [esp]
add esp, 0x18
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x44e858
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404914
mov edi, dword [ebp + 8]
add edi, 0xffffff00
xor eax, eax
push ebp
push 0x44e94e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 0x59
xor ebx, ebx
xor esi, esi
mov eax, dword [ebp - 4]
call fcn.00404724
test eax, eax
jle 0x44e91d
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], 1
lea eax, [ebx + 1]
mov ecx, dword [ebp - 0x18]
add ecx, 0xa7
cdq
idiv ecx
mov ebx, edx
xor eax, eax
mov al, byte [edi + ebx]
add eax, esi
cdq
idiv ecx
mov esi, edx
mov al, byte [edi + ebx]
mov byte [ebp - 0xd], al
mov al, byte [edi + esi]
mov byte [edi + ebx], al
mov al, byte [ebp - 0xd]
mov byte [edi + esi], al
xor eax, eax
mov al, byte [edi + ebx]
xor edx, edx
mov dl, byte [edi + esi]
add eax, edx
cdq
idiv ecx
mov al, byte [edi + edx]
mov byte [ebp - 0xe], al
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov dl, byte [edx + ecx - 1]
mov cl, byte [ebp - 0xe]
xor dl, cl
call fcn.0040464c
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
call fcn.0040472c
inc dword [ebp - 0xc]
dec dword [ebp - 0x1c]
jne 0x44e8af
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
call fcn.004044b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e955
lea eax, [ebp - 0x20]
call fcn.00404464
lea eax, [ebp - 0x14]
call fcn.00404464
lea eax, [ebp - 4]
call fcn.00404464
ret

Function at 0x44f4d0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404b44
test esi, esi
jne 0x44f507
push 0x20a
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404c30
jmp 0x44f52e
call sub.kernel32.dll_GetCommandLineW
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.0044f2c0
mov dword [esp], eax
test esi, esi
je 0x44f52e
mov eax, dword [ebx]
xor edx, edx
call fcn.00404cbc
je 0x44f52e
dec esi
jmp 0x44f50f
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x432006
Capabilities:
Encode data using xor

Disassembly:
call 0x43200c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4159c1
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
movzx eax, word [ebx + 0x10]
xor edi, edi
movzx ecx, word [ebx + 0xe]
mov dword [ebp - 4], eax
push 0x20
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 4]
pop edx
mov dword [ebp - 0xc], ecx
movzx eax, ax
and ecx, esi
sub edx, ebx
xor edi, ecx
mov ecx, eax
shr esi, cl
mov ecx, dword [ebp - 0xc]
test dx, dx
jg 0x4159ed
mov ebx, dword [ebp - 0x10]
movzx eax, di
imul esi, eax, 0xc
mov edi, dword [ebx + 8]
mov ecx, dword [esi + edi + 8]
test ecx, ecx
jne 0x415a38
movzx ecx, word [ebx + 0x12]
shl ecx, 2
call fcn.0040b083
mov ecx, eax
mov dword [esi + edi + 8], ecx
test ecx, ecx
je 0x415a57
xor edx, edx
mov dword [esi + edi], edx
movzx eax, word [ebx + 0x12]
mov dword [esi + edi + 4], eax
jmp 0x415a3f
mov edx, dword [esi + edi]
mov eax, dword [esi + edi + 4]
cmp edx, eax
jne 0x415a6a
movzx edx, word [ebx + 0x12]
add edx, eax
shl edx, 2
call fcn.0040b280
mov ecx, eax
test ecx, ecx
jne 0x415a5b
xor al, al
jmp 0x415a86
mov edx, dword [esi + edi]
mov dword [esi + edi + 8], ecx
movzx eax, word [ebx + 0x12]
add dword [esi + edi + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + edi + 8]
inc dword [esi + edi]
mov edx, dword [esi + edi]
mov dword [eax], ecx
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x420848
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x6c], 0
je 0x4208ae
mov eax, dword [ebp + 8]
mov edx, dword [eax]
test edx, edx
jne 0x4208b6
mov edx, dword [esi + 0x68]
and dword [eax + 4], 0
mov ecx, dword [edx]
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [edx + 0x10]
mov dword [ecx], eax
mov eax, dword [edx + 0x14]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x18]
mov cx, word [edx + 0x18]
mov word [eax], cx
movzx eax, byte [edx + 6]
mov ecx, dword [ebp + 0x1c]
push eax
movzx eax, byte [edx + 7]
add eax, edx
push eax
call fcn.004074b7
test al, al
jne 0x4208d2
xor al, al
pop edi
pop esi
pop ebp
ret 0x18
movzx ecx, word [edx + 4]
test cx, cx
je 0x4208ae
mov edi, ecx
mov ecx, dword [eax + 4]
add ecx, edi
cmp ecx, dword [esi + 0x6c]
jae 0x4208ae
add edx, edi
mov dword [eax + 4], ecx
jmp 0x420867
mov al, 1
jmp 0x4208b0
Function at 0x4cf000
Capabilities:
Parse pe header
Read file on windows

Disassembly:
sub esp, 0x40
lea eax, [esp + 0x44]
lea ecx, [esp]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
push esi
mov esi, dword [esp + 0x50]
push edi
push 0
push eax
push 0x40
push ecx
push esi
call ebx
test eax, eax
je 0x4cf175
cmp dword [esp + 0x54], 0x40
jne 0x4cf175
cmp word [esp + 0x10], 0x5a4d
jne 0x4cf175
mov edx, dword [esp + 0x4c]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push edx
push esi
call ebp
cmp eax, 0xffffffff
je 0x4cf175
lea eax, [esp + 0x54]
push 0
push eax
push 0xf8
push 0x4d5960
push esi
call ebx
test eax, eax
je 0x4cf175
cmp dword [esp + 0x54], 0xf8
jne 0x4cf175
cmp dword [0x4d5960], 0x4550
jne 0x4cf175
mov eax, dword [0x4d5976]
test ah, 0x20
jne 0x4cf175
mov edx, dword [0x4d5a80]
xor eax, eax
mov ax, word [0x4d5966]
add eax, edx
lea eax, [eax + eax*4]
shl eax, 3
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [0x4d5a58], eax
je 0x4cf175
push 1
push 0
push 0
push esi
call ebp
mov dword [0x4d5a6c], eax
xor eax, eax
mov ax, word [0x4d5966]
mov edx, dword [0x4d5a58]
lea ecx, [esp + 0x54]
push 0
lea edi, [eax + eax*4]
push ecx
shl edi, 3
push edi
push edx
push esi
call ebx
test eax, eax
je 0x4cf175
cmp dword [esp + 0x54], edi
jne 0x4cf175
push 1
push 0
push 0
push esi
call ebp
mov ecx, dword [0x4d5a80]
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*8]
mov eax, dword [0x4d59b4]
cmp edx, eax
ja 0x4cf175
mov edi, dword [0x4d5a58]
mov ecx, dword [0x4d5988]
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0xc]
add eax, edx
cmp ecx, eax
jae 0x4cf175
xor eax, eax
push 2
mov ax, word [0x4d5966]
push 0
push 0
push esi
lea ecx, [eax + eax*4]
mov ebx, dword [edi + ecx*8 - 0x18]
lea edi, [edi + ecx*8]
call ebp
mov edx, dword [edi - 0x14]
add edx, ebx
cmp eax, edx
jne 0x4cf175
cmp dword [edi - 0x20], ebx
ja 0x4cf175
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x40
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x40
ret
Function at 0x4d1769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4d5190
cmp edx, dword [eax]
je 0x4d178b
add eax, 8
inc ecx
cmp eax, 0x4d5220
jl 0x4d177c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4d5190]
jne 0x4d18b9
mov eax, dword [0x4d5bb0]
cmp eax, 1
je 0x4d1893
test eax, eax
jne 0x4d17bc
cmp dword [0x4d50e4], 1
je 0x4d1893
cmp edx, 0xfc
je 0x4d18b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4d17f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004d2670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004d2490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4d1836
lea eax, [ebp - 0x1a4]
push eax
call fcn.004d2490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4d445c
push edi
call fcn.004d2f00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004d2670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004d2680
lea eax, [ebp - 0xa0]
push 0x4d443c
push eax
call fcn.004d2680
push dword [esi + 0x4d5194]
lea eax, [ebp - 0xa0]
push eax
call fcn.004d2680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004d2e75
add esp, 0x2c
pop edi
jmp 0x4d18b9
lea eax, [ebp + 8]
lea esi, [esi + 0x4d5194]
push 0
push eax
push dword [esi]
call fcn.004d2490
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 0x4568c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x444015
lea edi, [esi - 0x43015]
push edi
or ebp, 0xffffffff
jmp 0x4568e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4568e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4568d8
mov eax, 1
add ebx, ebx
jne 0x4568fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45690c
jne 0x45692b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45692b
dec eax
add ebx, ebx
jne 0x456918
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4568f0
add ebx, ebx
jne 0x456927
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x45697d
xor ecx, ecx
sub eax, 3
jb 0x456943
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4569b2
sar eax, 1
mov ebp, eax
jmp 0x45694e
add ebx, ebx
jne 0x45694e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45691c
inc ecx
add ebx, ebx
jne 0x45695c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45691c
add ebx, ebx
jne 0x456969
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45695e
jne 0x45697a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45695e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45699c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45698e
jmp 0x4568de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45699c
add edi, ecx
jmp 0x4568de
pop esi
mov edi, esi
mov ecx, 0xaca
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4569ba
cmp byte [edi], 7
jne 0x4569ba
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 0x4569bf
lea edi, [esi + 0x54000]
mov eax, dword [edi]
or eax, eax
je 0x456a37
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x77e3c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x77edc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4569ec
mov ecx, edi
jns 0x456a1b
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 + 0x77ee0]
or eax, eax
je 0x456a31
mov dword [ebx], eax
add ebx, 4
jmp 0x456a09
call dword [esi + 0x77ef0]
mov ebp, dword [esi + 0x77ee4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x456a6b
sub esp, 0xffffff80
jmp 0x412a92
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x7e152202
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x4bbd1474
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

Function at 0x300093c7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x30009436
mov eax, dword [ebp + 8]
test eax, 3
je 0x300093f8
cmp word [eax], 0
je 0x300093f1
lea eax, [eax + 2]
test eax, 3
je 0x300093f8
jmp 0x300093df
sub eax, dword [ebp + 8]
shr eax, 1
jmp 0x30009433
mov edx, dword [eax]
lea eax, [eax + 4]
mov ecx, edx
sub edx, 0x10001
xor edx, ecx
and edx, 0x80008000
je 0x300093f8
sub eax, dword [ebp + 8]
shr eax, 1
test cx, cx
lea eax, [eax - 2]
je 0x30009433
test ecx, 0xffff0000
lea eax, [eax + 1]
je 0x30009433
lea eax, [eax*2 + 2]
add eax, dword [ebp + 8]
jmp 0x300093f8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
leave
ret 4
Function at 0x10001016
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ecx
push esi
push edi
push 0x10003010
push 0x65
push dword [0x1000313c]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x10001061
push edi
push dword [0x1000313c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10001061
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10001061
push edi
push dword [0x1000313c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
jne 0x10001065
xor eax, eax
jmp 0x100010a7
push ebx
mov ebx, dword [esi]
push 0
push 4
push 2
push 0
push 2
push 0x40000000
push 0x10003038
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x100010a3
lea eax, [esp + 0xc]
push 0
push eax
add esi, 4
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
pop ebx
pop edi
pop esi
pop ecx
ret

Function at 0x100010ab
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push edi
xor edx, edx
xor eax, eax
lea edi, [ebp - 0xc]
mov dword [ebp - 0x10], edx
push 0x10
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x54], 0x44
push eax
lea eax, [ebp - 0x54]
push eax
push edx
push edx
push 0x8000000
push edx
push edx
push edx
push 0x10003038
push edx
mov word [ebp - 0x24], dx
mov dword [ebp - 0x28], 0x81
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
je 0x10001110
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc]
call esi
push dword [ebp - 0x10]
call esi
pop esi
xor eax, eax
leave
ret