joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4224d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x1c]
call fcn.0042ef2b
push str.WindowsBackUp.bin
lea eax, [edi + 0xcc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040de20
add esp, 0xc
lea ecx, [ebp - 0x1c]
push 0
push 0x4400
push dword [eax]
call fcn.0042f221
mov edx, dword [ebp - 4]
test eax, eax
setne bl
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42252e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x4225a9
add edi, 0xc8
push edi
lea ecx, [ebp - 0x1c]
call fcn.0042f3a4
test eax, eax
je 0x4225a1
mov edx, dword [edi]
mov ecx, dword [edx - 0xc]
cmp ecx, 1
jle 0x4225a1
lea eax, [ecx - 1]
test eax, eax
js 0x4225ba
cmp eax, ecx
jg 0x4225ba
cmp word [edx + eax*2], 0xd
jne 0x42256b
push 1
push eax
mov ecx, edi
call fcn.0040da90
mov eax, dword [edi]
cmp dword [eax - 4], 1
jle 0x42257d
push dword [eax - 0xc]
mov ecx, edi
call fcn.00416c30
mov edi, dword [edi]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call ebx
test eax, eax
jne 0x4225a1
mov esi, 0x41
push edi
mov word [edi], si
call ebx
test eax, eax
jne 0x4225a1
inc esi
cmp esi, 0x5a
jle 0x422591
lea ecx, [ebp - 0x1c]
call fcn.0042f08e
lea ecx, [ebp - 0x1c]
call fcn.0042ef45
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00416fc0
int3

Function at 0x422c30
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x48c8b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
push esi
push esi
push 0x147
push dword [ecx + 0x1e4]
call dword [sym.imp.USER32.dll_SendMessageW]
sub eax, esi
je 0x422cef
dec eax
je 0x422c6c
dec eax
jne 0x422c71
lea esi, [eax + 0xc]
jmp 0x422c71
mov esi, 6
lea eax, [ebp - 0x130]
push eax
mov dword [ebp - 0x130], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x422ce6
cmp dword [ebp - 0x120], 2
jne 0x422ce6
lea eax, [ebp - 0x134]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x422ce6
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x134]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push esi
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043ddbb
mov esp, ebp
pop ebp
ret
Function at 0x4299fb
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x48c8b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4933e0]
push esi
push edi
mov edi, dword [ebp + 8]
test eax, eax
jne 0x429a47
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x429a64
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov dword [0x4933e0], eax
jmp 0x429a50
push eax
call dword [sym.imp.KERNEL32.dll_DecodePointer]
mov esi, eax
test esi, esi
je 0x429a64
push 0x800
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x429ad1
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x429a7f
xor eax, eax
jmp 0x429ad1
lea eax, [ebp - 0x210]
push eax
call fcn.00447298
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x429ab0
push 0x47ce14
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00448325
add esp, 0xc
test eax, eax
jne 0x429a7b
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00448325
add esp, 0xc
test eax, eax
jne 0x429a7b
lea eax, [ebp - 0x210]
push eax
call fcn.0042dfcd
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043ddbb
leave
ret

Function at 0x42a25d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov esi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], esi
je 0x42a2a2
call fcn.0042ecac
mov ebx, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42a2a2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x42a2be
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004253e9
mov ebx, eax
test edi, edi
je 0x42a2bc
test esi, esi
je 0x42a2bc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x42ee01
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0042ee5a
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x42ee49
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0041bb10
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00425310
jmp 0x42ee54
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0043722b
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x431e36
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x431e5f
call fcn.0042ecac
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
je 0x431e8c
push esi
push eax
mov ecx, 0x49343c
call fcn.00432bab
mov eax, esi
pop esi
pop ebp
ret 0x18
push 0
push dword [esi + 4]
call fcn.004321a7
int3
Function at 0x4383cb
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x48c8b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x20], eax
mov eax, dword [0x4936fc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], ebx
test eax, eax
jne 0x438424
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x438441
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov dword [0x4936fc], eax
jmp 0x43842d
push eax
call dword [sym.imp.KERNEL32.dll_DecodePointer]
mov esi, eax
test esi, esi
je 0x438441
mov eax, dword [ebp - 0x20]
push ebx
push edi
push eax
push dword [ebp + 8]
call esi
jmp 0x43857e
mov eax, dword [ebp - 0x20]
and dword [eax], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ecx, ax
mov ebx, ecx
push 7
lea eax, [ebp - 0x14]
and ecx, 0xfc00
and ebx, 0x3ff
push eax
or ecx, ebx
push ecx
call fcn.0046b042
lea eax, [ebp - 0x14]
push eax
call fcn.00447298
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push dword [eax]
push edi
call fcn.00447962
push 7
lea eax, [ebp - 0x14]
push eax
push ebx
lea edi, [esi + 1]
call fcn.0046b042
lea eax, [ebp - 0x14]
push eax
call fcn.00447298
lea esi, [eax + 1]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
sub ecx, edi
push ecx
lea ecx, [eax + edi*2]
push ecx
call fcn.00447962
add esp, 0x38
add edi, esi
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx ecx, ax
mov ebx, ecx
push 7
lea eax, [ebp - 0x14]
and ecx, 0xfc00
and ebx, 0x3ff
push eax
or ecx, ebx
push ecx
call fcn.0046b042
lea eax, [ebp - 0x14]
push eax
call fcn.00447298
lea esi, [eax + 1]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
sub ecx, edi
push ecx
lea ecx, [eax + edi*2]
push ecx
call fcn.00447962
push 7
lea eax, [ebp - 0x14]
push eax
push ebx
add edi, esi
call fcn.0046b042
lea eax, [ebp - 0x14]
push eax
call fcn.00447298
lea esi, [eax + 1]
lea eax, [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
sub ecx, edi
push ecx
lea ecx, [ebx + edi*2]
push ecx
call fcn.00447962
push 7
lea eax, [ebp - 0x14]
push eax
push 0x800
add edi, esi
call fcn.0046b042
add esp, 0x44
lea eax, [ebp - 0x14]
push eax
call fcn.00447298
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
sub ecx, edi
push ecx
lea ecx, [ebx + edi*2]
push ecx
call fcn.00447962
lea eax, [edi + esi]
xor ecx, ecx
mov word [ebx + eax*2 + 2], cx
xor eax, eax
add esp, 0x10
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043ddbb
leave
ret
Function at 0x45d3cf
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x48c8b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0044c84b
mov dword [ebp - 0x14], eax
cmp dword [0x4949d4], edi
jne 0x45d4c0
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x45d44d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x45d5a0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x45d5a0
push 0x476c3c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45d5a0
push eax
call ebx
push 0x476c48
push esi
mov dword [0x4949d4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x476c58
push esi
mov dword [0x4949d8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x4949dc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4949e4], eax
test eax, eax
je 0x45d4bd
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4949e0], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x45d4e5
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x45d4d8
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x45d4fa
push 4
pop eax
jmp 0x45d5a2
cmp dword [ebp - 0x14], edi
je 0x45d4fa
push dword [0x4949d4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x45d4df
mov eax, dword [0x4949e0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x45d558
cmp dword [0x4949e4], esi
je 0x45d558
push eax
call ebx
push dword [0x4949e4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x45d558
test eax, eax
je 0x45d558
call ecx
test eax, eax
je 0x45d54d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x45d54d
test byte [ebp - 8], 1
jne 0x45d558
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x45d588
mov eax, dword [0x4949d8]
cmp eax, esi
je 0x45d585
push eax
call ebx
test eax, eax
je 0x45d585
call eax
mov edi, eax
test edi, edi
je 0x45d585
mov eax, dword [0x4949dc]
cmp eax, esi
je 0x45d585
push eax
call ebx
test eax, eax
je 0x45d585
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4949d4]
call ebx
test eax, eax
je 0x45d5a0
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x45d5a2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043ddbb
leave
ret
Function at 0x430002
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x56455675
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
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
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x216f7a5d
nop
nop
nop
nop
nop
test eax, eax
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x40595e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x40596d
pop dword [ebp - 0x40]
mov eax, 0xd8602719
add eax, 0x27e03254
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xc0b447cf
add dword [ebp - 0x50], 0x8d9dfd7c
mov dword [ebp - 0x4c], 0x3cacfa8b
add dword [ebp - 0x4c], 0xf58651ba
mov dword [ebp - 0x48], 0xb8cac762
add dword [ebp - 0x48], 0x93817ccc
mov dword [ebp - 0x44], 0x7ea37ebe
add dword [ebp - 0x44], 0x815c8142
lea eax, [ebp - 0x50]
push eax
mov eax, 0x29bbc17e
sub eax, 0x297b511e
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x69df2eb4
add dword [ebp - 0x50], 0xa933aa2
mov dword [ebp - 0x4c], 0xd755d904
sub dword [ebp - 0x4c], 0x95e9778f
mov dword [ebp - 0x48], 0x654c7590
sub dword [ebp - 0x48], 0x1dd0924
mov dword [ebp - 0x44], 0x471993bc
sub dword [ebp - 0x44], 0x471993bc
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3892b
push 0
call eax
mov ecx, 0x4f6d
xor edx, edx
add edx, eax
mov esi, 0xeead4164
add esi, 0x1193be9c
add esi, dword [ebp - 0x40]
mov ebx, 0x93a545d1
add ebx, 0xd6243b52
xor dword [ebp - 0x30], 0xc6fd0136
mov edi, dword [esi]
add dword [ebp - 4], 0x872e4be6
add edi, ebx
add dword [ebp - 0x2c], esi
mov dword [edx], edi
mov dword [ebp - 0x38], 0x67bb13e7
add edx, 0xce799346
sub edx, 0xce799342
add esi, 0x6c9857c
add esi, 0xf9367a88
loop 0x405a86
add eax, 0x7ca99748
add eax, 0x8357993f
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x997e0bc2
sub ecx, 0x993e0bc2
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x41f993
Capabilities:
Parse pe header

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

Function at 0x432150
Capabilities:
Parse pe header

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

Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
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 eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
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
nop
nop
pop eax
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x412d00
push ebx
mov ebx, dword [esp + 0xc]
push edi
xor edi, edi
test ebx, ebx
je 0x412e87
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
nop dword [eax]
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x51
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x13
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xf7
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xb7
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x2f
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xa8
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x16
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xba
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x4a
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x46
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xec
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x7c
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xfd
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x99
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x6b
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x69
push 0
push 0
push 0
call esi
sub byte [edi + ebp], 0x80
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x34
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xc6
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x64
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x43
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xb2
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x75
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x66
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x83
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x56
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xf0
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x1a
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x16
inc edi
cmp edi, ebx
jb 0x412d20
pop esi
pop ebp
pop edi
pop ebx
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x451c59
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x451c6a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405902
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49b112
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49b123
pop esi
ret
push ebx
push edi
push esi
call fcn.0049aff9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fd5
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49b14b
push ebx
push esi
push edi
call fcn.004056f5
add esp, 0xc
push 0
call fcn.0040623f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
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, 0x606f6f30
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x432060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x3f7d63ac
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219