joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4745c0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47bc18
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4b72d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x54], 0
mov edi, dword [ebp + 8]
jne 0x4745fa
mov eax, dword [esi]
call dword [eax + 0xc]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 0x18]
push eax
call fcn.0040f080
add esp, 8
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push 0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push 0
push 1
push 0
push 0x1000
push edi
call fcn.00474410
add esp, 4
push eax
push edi
call fcn.00474570
add esp, 4
push eax
push dword [esi + 0x54]
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x474672
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407075
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00443725
mov esp, ebp
pop ebp
ret 4
Function at 0x474870
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47bc98
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x4b72d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x2b
push str.SYSTEMCurrentControlSetServicesEventLog_
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call fcn.00406dcc
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x3c]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x58]
call fcn.00406f7e
push 1
push 0x4820a0
lea ecx, [ebp - 0x58]
call fcn.00406edb
push 0xffffffffffffffff
push 0
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x58]
call fcn.00406f7e
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040f080
add esp, 8
lea ecx, [ebp - 0x78]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x74]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x474a38
cmp dword [ebp - 0x78], 1
jne 0x474a2f
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 2
push str.PocoMsg.dll
push eax
call fcn.00474300
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.00436a2d
lea ecx, [ebp - 0x70]
call fcn.00406c54
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x474a1a
cmp dword [ebp - 0x14], 8
lea eax, [eax*2 + 2]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push eax
push ecx
push 1
push 0
push str.CategoryMessageFile
push dword [ebp - 0x74]
mov dword [ebp - 0x7c], 8
mov dword [ebp - 0x80], 7
call esi
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.EventMessageFile
push dword [ebp - 0x74]
call esi
push 4
lea eax, [ebp - 0x7c]
push eax
push 4
push 0
push str.CategoryCount
push dword [ebp - 0x74]
call esi
push 4
lea eax, [ebp - 0x80]
push eax
push 4
push 0
push str.TypesSupported
push dword [ebp - 0x74]
call esi
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x474a2f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407075
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x474a4d
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407075
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
cmp eax, 0x10
jb 0x474a76
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0040708c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00443725
mov esp, ebp
pop ebp
ret
Function at 0x475090
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47bcd0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4b72d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
push 0
mov dword [ebp - 0x14], 0xf
lea eax, [edi + 0x18]
mov dword [ebp - 0x18], 0
push eax
mov byte [ebp - 0x28], 0
call fcn.00406e45
push 2
push 0x4800dc
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00406edb
cmp byte [esi + 0xc], 0
je 0x475124
cmp byte [esi + 0x14], 0
jne 0x47512a
mov eax, dword [edi + 0x30]
mov edx, 0xfff0
mov cx, word [esi + 0x16]
and cx, dx
or cx, word [esi + eax*2 + 0x16]
movzx eax, cx
push eax
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp byte [esi + 0x14], 0
je 0x47514a
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x44]
push 0
push ecx
push dword [ebp - 0x18]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4751a5
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040f080
add esp, 8
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 0
push ecx
push dword [ebp - 0x30]
push eax
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4751a5
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407075
cmp byte [esi + 0xc], 0
je 0x4751bf
cmp byte [esi + 0x14], 0
jne 0x4751bf
movzx eax, word [esi + 0x16]
push eax
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4751d4
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040708c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00443725
mov esp, ebp
pop ebp
ret 4
Function at 0x475200
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47bd10
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4b72d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
add eax, 0x18
mov dword [ebp - 0x14], 0xf
push 0
push eax
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00406e45
push 2
push 0x4800dc
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00406edb
cmp byte [esi + 0x10], 0
je 0x47528c
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x44]
push 0
push ecx
push dword [ebp - 0x18]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4752e7
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040f080
add esp, 8
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 0
push ecx
push dword [ebp - 0x30]
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4752e7
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407075
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4752fc
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040708c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00443725
mov esp, ebp
pop ebp
ret 4
Function at 0x10001000
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, edx
mov dword [ebp - 8], eax
test ebx, ebx
je 0x1000113f
test eax, eax
je 0x1000113f
cmp dword [ebp + 8], 0
je 0x1000113f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push 0x100127d0
push 0x10012780
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push ebx
call eax
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100010a5
lea eax, [ebp - 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1000109e
cmp dword [ebp - 0xc], 0
jg 0x1000109e
push 0x10012770
push 0x10012780
call esi
push eax
call edi
push 0x40
push 0x3000
push dword [ebp - 0x10]
push 0
call eax
mov edi, eax
mov eax, dword [ebp - 8]
mov dword [eax], edi
test edi, edi
jne 0x100010ae
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x10]
mov dword [ebp - 4], 0
test esi, esi
je 0x100010f1
nop dword [eax]
push 0x1001279c
push 0x10012780
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
lea ecx, [ebp - 4]
push ecx
push esi
push edi
push ebx
call eax
test eax, eax
je 0x10001109
add edi, dword [ebp - 4]
sub esi, dword [ebp - 4]
jne 0x100010c0
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
push ebx
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x10012790
push 0x10012780
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 8]
push 0x8000
push dword [ebp - 0x10]
push dword [ecx]
call eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5b61b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.005b6140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.005b6140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.005b6140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.005b6140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x5b6bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5b6c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x5c887c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5b6c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x5b6c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x401210
Capabilities:
Authenticate hmac
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sbb esi, 0xc1
imul ebx
ror eax, 0xe3
and eax, 0x82
mov ebx, 0x5a
rcl edx, 0xc4
or eax, 0x61
inc ebx
rol esi, 0x79
bswap edi
not ebx
neg edx
neg ebx
dec edi
rcl eax, 0x42
not ebx
mov edi, 0xa6
neg esi
sbb esi, 0x26
and ebx, 0x39
add ebx, 0xb3
inc edx
or ebx, 0xa3
bswap edx
not edi
not eax
imul eax
and ebx, 0
ror ebx, 0x12
not edi
and ebx, 0x9c
imul edi
inc edx
not eax
dec ebx
not ebx
inc esi
sbb edx, 0x9c
dec edi
ror ebx, 0x20
and ebx, 0x9b
or edi, 0x48
rcr edi, 0x84
dec edi
rcr eax, 0xd
dec esi
sub esi, 0x5a
neg edi
mov edi, 0xe5
inc edx
xor ecx, ecx
xor edi, edi
add eax, 0xd3
or edi, 0xb4
or edx, 0x66
imul edx
add edi, 0xf1
sub ebx, 0x81
rcr esi, 0x20
inc edi
rcr esi, 0x11
rcr edi, 0x5d
rol eax, 0xd0
rcl ebx, 0x57
and edx, 0x3f
sbb edx, 0xb0
rcr edx, 0xa0
not edi
dec edx
rcl edi, 0xe9
bswap edx
and edi, 0x9a
or ebx, 5
inc ebx
dec ebx
dec edx
dec edi
inc ebx
inc edx
imul ebx
inc edx
add eax, 0x5c
not esi
imul eax
rol eax, 0xcb
rcl ebx, 0x11
bswap edi
mov edx, 0xaf
bswap edx
rcl edx, 0x17
bswap eax
rcl esi, 0xd5
rcr ebx, 0x37
ror edx, 0xae
and edx, 0x78
rcl eax, 0x5b
bswap edx
neg eax
bswap edi
ror edx, 0x7d
dec edi
ror edi, 0x7a
mov ecx, dword [ebp + 0xc]
sbb eax, 0x28
imul ebx
rol ebx, 0x24
or ebx, 0x36
sbb edx, 0xa7
mov esi, 0x61
inc eax
sub edx, 0xff
imul esi
bswap edx
dec eax
mov eax, 0x32
rcl edx, 0xe5
sub eax, 0xdd
neg edi
inc eax
imul edi
bswap edx
dec edi
not esi
inc edx
sbb eax, 0xe
ror edx, 0xa4
sbb esi, 0xe
sbb eax, 0x2a
mov edi, 0x87
bswap eax
rcl edi, 0xb2
not eax
bswap esi
rcr eax, 0xb3
and edi, 0xd4
bswap esi
dec esi
rcl ebx, 0xab
mov esi, 0xe0
rcl edx, 0x7e
sub edx, 0x42
not eax
dec ebx
rcl ebx, 0xe6
bswap edx
inc eax
rcr edi, 0xe5
ror edx, 0xe2
bswap eax
add edx, 0x32
ror esi, 0xbb
and edx, 0xf3
inc ebx
mov edi, dword [ebp + 8]
mov ebx, esi
xor ebx, ebx
xor eax, eax
not byte [edi]
xor ebx, esi
mov eax, eax
xor eax, eax
mov esi, ebx
mov esi, ebx
mov esi, ebx
mov ebx, ebx
xor eax, ebx
xor ebx, esi
add byte [edi], 0x87
mov ebx, ebx
xor ebx, eax
xor eax, ebx
xor esi, esi
xor ebx, esi
mov eax, eax
mov eax, esi
xor ebx, eax
mov eax, esi
sub byte [edi], 0x54
mov ebx, eax
mov ebx, ebx
mov eax, eax
xor esi, esi
mov esi, eax
mov eax, eax
xor ebx, eax
xor esi, ebx
xor ebx, ebx
imul byte [edi]
inc edi
loop 0x4013c7
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x404f65
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x447200]
jne 0x404f6f
repz ret
jmp fcn.00407300
Function at 0x4055d5
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.00404385
and dword [ebp - 4], 0
cmp dword [0x448390], 0
mov ebx, eax
jne 0x405686
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405737
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x405737
push eax
call fcn.00404313
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x448390], eax
call esi
push eax
call fcn.00404313
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x448394], eax
call esi
push eax
call fcn.00404313
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x448398], eax
call esi
push eax
call fcn.00404313
pop ecx
mov dword [0x4483a0], eax
test eax, eax
je 0x405686
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404313
pop ecx
mov dword [0x44839c], eax
mov eax, dword [0x44839c]
cmp eax, ebx
je 0x4056de
cmp dword [0x4483a0], ebx
je 0x4056de
push eax
call fcn.0040438e
push dword [0x4483a0]
mov esi, eax
call fcn.0040438e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4056de
test edi, edi
je 0x4056de
call esi
test eax, eax
je 0x4056d5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4056d5
test byte [ebp - 0xc], 1
jne 0x4056de
or dword [ebp + 0x10], 0x200000
jmp 0x405717
mov eax, dword [0x448394]
cmp eax, ebx
je 0x405717
push eax
call fcn.0040438e
pop ecx
test eax, eax
je 0x405717
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405717
mov eax, dword [0x448398]
cmp eax, ebx
je 0x405717
push eax
call fcn.0040438e
pop ecx
test eax, eax
je 0x405717
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x448390]
call fcn.0040438e
pop ecx
test eax, eax
je 0x405737
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405739
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x548b1a76
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x3d1217b
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0x2f1702e1
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..rsrc
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
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
pop eax
nop
nop
mov esi, 0x36fd5a04
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
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
jl 0x431030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp int.00401219
Function at 0x401000
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0x40
push 0x3000
push 0x31c
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
mov dword [ebp - 4], edi
test edi, edi
jne 0x401060
push eax
push 0x403108
push 0x403110
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push 0x403108
push 0x403120
mov ecx, 0xc7
mov esi, 0x404058
rep movsd dword es:[edi], dword [esi]
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call dword [ebp - 4]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0xc7
mov esi, 0x404058
rep movsd dword es:[edi], dword [esi]
call dword [ebp - 4]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40187c
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x1d262a06
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x62af558e
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x45fb6987
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
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
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x2c6e77e9
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4a21d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x72000]
push edi
or ebp, 0xffffffff
jmp 0x4a21f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4a21f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a21e8
mov eax, 1
add ebx, ebx
jne 0x4a220b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4a221c
jne 0x4a222c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a222c
dec eax
add ebx, ebx
jne 0x4a2228
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4a2200
xor ecx, ecx
sub eax, 3
jb 0x4a2244
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a22b6
sar eax, 1
mov ebp, eax
jmp 0x4a224f
add ebx, ebx
jne 0x4a224f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4a225c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4a2280
inc ecx
add ebx, ebx
jne 0x4a226c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4a2261
jne 0x4a227d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a2261
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4a22a0
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4a2291
jmp 0x4a21ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4a22a0
add edi, ecx
jmp 0x4a21ee
pop esi
mov edi, esi
mov ecx, 0xdc2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4a22be
cmp byte [edi], 6
jne 0x4a22be
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 0x4a22c3
lea edi, [esi + 0xa0000]
mov eax, dword [edi]
or eax, eax
je 0x4a2332
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa2218]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa227c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a22f0
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa2280]
or eax, eax
je 0x4a232c
mov dword [ebx], eax
add ebx, 4
jmp 0x4a230d
call dword [esi + 0xa2284]
popal
jmp 0x41b0b8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
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
nop
nop
cmp ebx, ecx
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219