joyce8/EMBER2024-capa huggingface dataset:
Function at 0x602380
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x602397
add esp, 0xfffffff0
call fcn.00408758
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0047ed8c
mov eax, dword [0x61db5c]
cmp byte [eax], 0
jne 0x6023c4
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x61dea8]
cmp word [eax + 2], 0
jne 0x6023de
mov eax, dword [0x61dea8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.006047a4
mov eax, dword [0x61dfe8]
cmp word [eax + 2], 0
jne 0x6023f8
mov eax, dword [0x61dfe8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.006049a8
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x520740]
call fcn.00527230
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x604f30
mov dl, 1
mov eax, dword [0x440ccc]
call fcn.00408100
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x440ccc]
call fcn.00408100
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0x9c], 0
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x5258ac]
call fcn.005317ac
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x6025e8
mov eax, dword [0x61dd54]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00531cc8
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x60521c
mov dl, 1
mov eax, dword [0x440ccc]
call fcn.00408100
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x61dd54]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.004257b8
test eax, eax
je 0x602512
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00425610
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0042579c
test eax, eax
je 0x60252a
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040a9b4
push ebx
push 0x604180
call fcn.005f6f7c
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x61db5c]
cmp byte [eax], 0
jne 0x60257b
mov eax, ebx
call fcn.006027b0
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.00605458
mov eax, ebx
call fcn.0060610c
mov byte [ebx + 0x196], 0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x6025df
call fcn.004087b0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x602ae0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x602b82
cmp dword [ebx + 0xac], 0
jne 0x602b7c
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x602a20
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x602b7c
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_GetWindowLongW
test al, 8
je 0x602b42
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x602b7c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.0046996c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x602b51
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x602e28
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x625bf0]
cmp dword [eax + 0x188], 0
je 0x602f91
test bl, bl
jne 0x602ee4
cmp dword [esi + 0xb4], 0
jne 0x602ed9
mov eax, esi
call fcn.00605f5c
push eax
push 0x602d28
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x602eaa
mov eax, dword [0x625bf0]
cmp byte [eax + 0xeb], 0
je 0x602eaa
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x602e8b
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x602eaa
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x602e93
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x602ed9
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.0046996c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x602eb9
inc dword [esi + 0xb4]
jmp 0x602f91
cmp dword [esi + 0xb4], 0
jle 0x602f91
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x602f91
cmp dword [esi + 0x58], 0
je 0x602f46
mov eax, dword [0x625bf0]
cmp byte [eax + 0xeb], 0
je 0x602f46
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x602f27
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x602f46
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x602f2f
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x602f75
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.0046996c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x602f55
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5f3b88]
call fcn.0040caa8
pop edi
pop esi
pop ebx
ret
Function at 0x603d8c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x603de9
cmp byte [ebx + 0xeb], 0
jne 0x603de9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040a0a0
mov eax, dword [esi]
test eax, eax
je 0x603dd6
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x603df6
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a2f8
jmp 0x603df6
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a2f8
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x60566c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x6056dd
mov eax, esi
call fcn.00556948
test al, al
je 0x6056dd
mov eax, dword [ebx + 0x98]
call fcn.00556570
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x6056dd
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x150]
test al, al
je 0x6056ce
push 0
mov eax, dword [ebx + 0x98]
call fcn.00556570
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.0054c8e4
jmp 0x6056dd
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.00605478
pop esi
pop ebx
ret
Function at 0x60b4cc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x90], 0
jne 0x60b552
mov eax, dword [ebx + 8]
call fcn.00556570
mov ecx, eax
mov dl, 1
mov eax, dword [0x56356c]
call fcn.0055022c
mov dword [ebx + 0x90], eax
mov esi, dword [ebx + 0x90]
xor edx, edx
mov eax, esi
call fcn.00568b90
mov dword [esi + 0x2d4], ebx
mov dword [esi + 0x2d0], 0x60ad9c
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xdc]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x90]
call fcn.00556570
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x90]
call fcn.00556570
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0xa0], 0
jne 0x60b5d4
mov eax, dword [ebx + 8]
call fcn.00556570
mov ecx, eax
mov dl, 1
mov eax, dword [0x56356c]
call fcn.0055022c
mov dword [ebx + 0xa0], eax
mov esi, dword [ebx + 0xa0]
mov dl, 1
mov eax, esi
call fcn.00568b90
mov dword [esi + 0x2d4], ebx
mov dword [esi + 0x2d0], 0x60ade8
push 8
push 0
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xdc]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0xa0]
call fcn.00556570
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0xa0]
call fcn.00556570
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x98], 0
jne 0x60b652
mov eax, dword [ebx + 8]
call fcn.00556570
mov ecx, eax
mov dl, 1
mov eax, dword [0x564050]
call fcn.0055022c
mov dword [ebx + 0x98], eax
mov esi, dword [ebx + 0x98]
mov byte [esi + 0x2a8], 1
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xdc]
push eax
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xdc]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x98]
call fcn.00556570
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x98]
call fcn.00556570
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4012b6
Capabilities:
Hide graphical window

Disassembly:
push ebp
push 0x10000
push 0x1000
push 1
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x403eb4], eax
push 0x64
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, 0x30
push eax
mov dword [eax], ecx
add eax, 0x4c
mov ebp, eax
mov eax, 0x400000
mov dword [0x403eb0], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0x401191
mov dword [ebp - 0x24], str.resiliency
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor eax, eax
push eax
push dword [0x403eb0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.abasement
push str.resiliency
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403eb8], eax
push eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401380
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401367
mov eax, dword [0x403eb4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
pop ebp
ret 0x10

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

Disassembly:
pushal
call 0x43100c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43101e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

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

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

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

Disassembly:
cmp ecx, dword [0x434110]
jne 0x401fb7
repz ret
jmp fcn.00402ee6

Function at 0x40ff80
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.00404e86
and dword [ebp - 4], 0
cmp dword [0x43591c], 0
mov ebx, eax
jne 0x410031
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4100e2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4100e2
push eax
call fcn.00404e14
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43591c], eax
call esi
push eax
call fcn.00404e14
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x435920], eax
call esi
push eax
call fcn.00404e14
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x435924], eax
call esi
push eax
call fcn.00404e14
pop ecx
mov dword [0x43592c], eax
test eax, eax
je 0x410031
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404e14
pop ecx
mov dword [0x435928], eax
mov eax, dword [0x435928]
cmp eax, ebx
je 0x410089
cmp dword [0x43592c], ebx
je 0x410089
push eax
call fcn.00404e8f
push dword [0x43592c]
mov esi, eax
call fcn.00404e8f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x410089
test edi, edi
je 0x410089
call esi
test eax, eax
je 0x410080
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x410080
test byte [ebp - 0xc], 1
jne 0x410089
or dword [ebp + 0x10], 0x200000
jmp 0x4100c2
mov eax, dword [0x435920]
cmp eax, ebx
je 0x4100c2
push eax
call fcn.00404e8f
pop ecx
test eax, eax
je 0x4100c2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4100c2
mov eax, dword [0x435924]
cmp eax, ebx
je 0x4100c2
push eax
call fcn.00404e8f
pop ecx
test eax, eax
je 0x4100c2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43591c]
call fcn.00404e8f
pop ecx
test eax, eax
je 0x4100e2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4100e4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402ba0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
inc edx
neg esi
bswap edx
not esi
dec esi
and ebx, 0xa1
mov eax, 0xd9
dec eax
or edx, 0xd9
neg edx
not eax
sbb edi, 0xe5
sub ebx, 0xe0
bswap edx
dec esi
mov eax, 0xbd
neg ebx
imul eax
rcr edx, 0xf1
dec edi
bswap ebx
add edi, 0x21
bswap edi
ror ebx, 0x95
rcl ebx, 0x57
neg ebx
neg esi
neg eax
rol ebx, 0xda
sbb eax, 0xfc
and edx, 2
or eax, 0xfb
inc edx
dec eax
inc esi
dec edx
not ebx
neg esi
or edi, 0x92
imul edx
bswap eax
inc edi
neg eax
or edx, 0x7a
rcr edx, 0x29
and esi, 0xff
not esi
rcl ebx, 0xff
inc ebx
inc ebx
xor ecx, ecx
xor edi, edi
neg eax
or esi, 0x60
inc edx
add edx, 0xf0
rol ebx, 0x33
dec eax
mov edx, 0x68
or esi, 0x4d
inc edx
not edx
not eax
sbb edx, 0x8a
add esi, 0x99
not edi
bswap eax
sbb edi, 0x9f
bswap eax
sub edx, 0x69
dec eax
mov edi, 0xac
or edx, 0xa9
add eax, 0x5c
inc edi
ror esi, 0x8f
dec edi
bswap esi
imul eax
mov eax, 0x1b
bswap edx
or ebx, 0xb6
rol edx, 0xf9
neg eax
rcr ebx, 0xd
imul eax
dec ebx
dec edi
inc edx
neg edx
bswap esi
sbb eax, 0x8d
inc edx
not edi
not esi
dec eax
rcl edi, 0xb9
rol edi, 0x8c
bswap ebx
ror ebx, 0x92
rcl edi, 0xf
imul esi
mov ecx, dword [ebp + 0xc]
dec edi
rcl esi, 0x62
add edx, 3
add edx, 4
sub eax, 0xfa
imul eax
dec eax
imul esi
inc edi
dec esi
rcr esi, 0xdc
not esi
rcr edx, 0x80
bswap esi
rol eax, 0xe1
rol edx, 0xb1
bswap eax
not edi
sub eax, 0xa9
imul eax
rcl eax, 0x38
sbb edx, 0x47
rcl edi, 0xcc
add edi, 0xf5
or edx, 0xc7
ror eax, 0x72
sbb edi, 0x74
ror edx, 0x38
imul edi
imul edx
mov esi, 0x83
neg ebx
sbb esi, 9
not esi
imul edx
neg eax
neg edx
rol edx, 0xbe
bswap ebx
inc eax
ror edi, 0x2d
rcl esi, 0x7f
rol ebx, 0xd8
bswap edi
sub edx, 0x58
sub eax, 9
neg edi
bswap edx
inc edx
bswap eax
mov edi, dword [ebp + 8]
mov ebx, ebx
mov eax, eax
xor esi, esi
mov esi, ebx
xor eax, ebx
xor esi, eax
mov esi, ebx
mov ebx, esi
xor esi, esi
mov esi, esi
mov ebx, ebx
mov eax, eax
not byte [edi]
xor ebx, eax
mov ebx, esi
xor esi, ebx
xor eax, eax
mov eax, ebx
mov esi, esi
xor esi, eax
xor eax, eax
xor eax, eax
sub byte [edi], 0x89
xor eax, ebx
xor ebx, eax
xor esi, ebx
mov eax, ebx
xor esi, ebx
mov ebx, eax
xor ebx, esi
xor ebx, ebx
xor eax, esi
add byte [edi], 0x57
xor esi, esi
mov esi, ebx
mov eax, esi
mov eax, ebx
mov esi, esi
mov esi, eax
xor esi, ebx
mov eax, eax
mov esi, eax
imul byte [edi]
inc edi
loop 0x402d4d
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x438ca9
Capabilities:
Encode data using xor

Disassembly:
push 0x438a14
pop eax
inc edx
sub edx, 0x4a50b87b
add esi, edx
call fcn.00438ce9
sub esi, 0xcb3b1c15
and edx, esi
xor dword [ebx], eax
add edx, edx
inc edx
inc ebx
sub edx, 0xdef91fea
cmp ebx, edi
jne fcn.00438ca9
sub esi, 0x1cb619ef
ret
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x402000
Capabilities:
Terminate process

Disassembly:
push 0x4010d8
call dword [sym.imp.COMCTL32.DLL_InitCommonControlsEx]
push 0x4021c5
call fcn.004021d6
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push 0x4021c5
call fcn.004021d6
mov dword [0x401092], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.DLL_LoadIconW]
push 0x4021c5
call fcn.004021d6
mov dword [0x401096], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.DLL_LoadCursorW]
push 0x4021c5
call fcn.004021d6
mov dword [0x40109a], eax
push 0x40107e
call dword [sym.imp.USER32.DLL_RegisterClassExW]
push 0x4021c5
call fcn.004021d1
push 0
push dword [0x401092]
push 0
push 0
push 0xc0
push 0x15e
push pe_nt_image_headers32
push pe_nt_image_headers32
push 0x12cf0000
push str.Gradient_fill_example_v.2013.04.06.0
push str.GradientFillExample
push 0
call dword [sym.imp.USER32.DLL_CreateWindowExW]
push 0x4021c5
call fcn.004021d6
mov dword [section..data], eax
push 0
push dword [0x401092]
push 0
push 0
push 0xc0
push 0x15e
push 0x12c
push 0x12c
push 0x12040000
push str.Gradient_fill_example_v.2013.04.06.0
push str.GradientFillExample
push 0
call dword [sym.imp.USER32.DLL_CreateWindowExW]
push 0x4021c5
call fcn.004021d6
mov dword [0x401004], eax
push str.Tahoma
push 1
push 0
push 0
push 6
push 1
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x10
call dword [sym.imp.GDI32.DLL_CreateFontW]
push 0x4021b0
call fcn.004021d6
mov dword [0x401008], eax
push 1
push eax
push 0x30
push dword [section..data]
call dword [sym.imp.USER32.DLL_SendMessageW]
push 1
push dword [0x401008]
push 0x30
push dword [0x401004]
call dword [sym.imp.USER32.DLL_SendMessageW]
push 0
push 0x4010e0
push 0x8000
push dword [section..data]
call dword [sym.imp.USER32.DLL_SendMessageW]
push 0
push 0
push 0
push 0x4010ae
call dword [sym.imp.USER32.DLL_GetMessageW]
test eax, eax
je 0x4021b0
inc eax
push 0x4021b0
call fcn.004021d6
push 0x4010ae
call dword [sym.imp.USER32.DLL_TranslateMessage]
push 0x4010ae
call dword [sym.imp.USER32.DLL_DispatchMessageW]
jmp 0x402178
cmp dword [0x401008], 0
je 0x4021c5
push dword [0x401008]
call dword [sym.imp.GDI32.DLL_DeleteObject]
push dword [0x4010b6]
call dword [sym.imp.KERNEL32.DLL_ExitProcess]