joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10a91dd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push dword [ebp + 0xc]
mov dword [ebp - 0x108], eax
mov eax, edi
shr eax, 4
inc eax
movzx eax, ax
push eax
push 6
push esi
mov ebx, 0x80004005
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x10a92bd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10a92bd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10a92bd
xor eax, eax
push 0xfe
push eax
mov word [ebp - 0x104], ax
lea eax, [ebp - 0x102]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
and edi, 0xf
jbe 0x10a9271
dec edi
movzx eax, word [esi]
lea esi, [esi + eax*2 + 2]
jne 0x10a9267
movzx edi, word [esi]
mov eax, 0x80
cmp edi, eax
jae 0x10a92bd
add esi, 2
push esi
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.010065a0
mov ebx, eax
test ebx, ebx
jge 0x10a929c
cmp ebx, 0x8007007a
jne 0x10a92bd
xor eax, eax
mov word [ebp + edi*2 - 0x104], ax
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0x18]
push dword [ebp - 0x108]
call fcn.010065a0
mov ebx, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0100204d
leave
ret 0x14

Function at 0x10a92d5
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
xor eax, eax
push 0x3e
push eax
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x42]
push eax
mov dword [ebp - 0x48], 0x80004005
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push edi
push esi
mov dword [ebp - 0x4c], 0x40
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
pop edi
pop esi
test eax, eax
jne 0x10a9356
mov eax, dword [ebp + 0x18]
cmp eax, 0x20
jb 0x10a933d
push 0x20
pop eax
xor ecx, ecx
mov word [ebp + eax*2 - 0x46], cx
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0x14]
push dword [ebp - 0x50]
call fcn.010065a0
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x48]
xor ecx, ebp
call fcn.0100204d
leave
ret 0x14
Function at 0x10a938d
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x348
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x33c], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov dword [ebp - 0x334], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x348], eax
xor eax, eax
xor edi, edi
push 0xfe
mov word [ebp - 0x128], ax
lea eax, [ebp - 0x126]
push edi
push eax
mov esi, 0x80004005
mov dword [ebp - 0x338], edi
call sub.msvcrt.dll_memset
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x344], 0x100
mov word [ebx], ax
cmp dword [0x10b3fbc], edi
jne 0x10a9520
push 0x104
lea eax, [ebp - 0x330]
push eax
mov dword [0x10b3fbc], 1
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x10a9510
push 0x10a957c
push 0x104
lea eax, [ebp - 0x330]
push eax
call fcn.0107ab69
test eax, eax
jl 0x10a9510
push dword [ebp + 0xc]
lea eax, [ebp - 0x330]
push 8
push eax
call fcn.010a9f57
mov dword [ebp - 0x340], eax
cmp eax, edi
je 0x10a9510
and dword [0x10b3fbc], 0
push 8
pop ecx
xor eax, eax
mov word [ebp - 0x28], ax
lea edi, [ebp - 0x26]
rep stosd dword es:[edi], eax
push 0x12
stosw word es:[edi], ax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x334]
mov dword [ebp - 0x338], 1
push dword [ebp - 0x33c]
call fcn.010a936c
mov esi, eax
test esi, esi
jl 0x10a9503
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.010a9121
mov esi, eax
test esi, esi
jl 0x10a9503
push 0x80
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x334]
push dword [ebp + 0xc]
push dword [ebp - 0x340]
call fcn.010a91dd
mov esi, eax
test esi, esi
jl 0x10a9503
lea eax, [ebp - 0x128]
push eax
push dword [ebp + 0x1c]
push ebx
call fcn.010065a0
mov esi, eax
xor eax, eax
test esi, esi
setl al
mov dword [ebp - 0x338], eax
push dword [ebp - 0x340]
call fcn.010a9de6
xor edi, edi
cmp dword [0x10b3fbc], edi
jne 0x10a9520
cmp dword [ebp - 0x338], edi
je 0x10a9566
lea eax, [ebp - 0x344]
push eax
lea eax, [ebp - 0x128]
push eax
push edi
push edi
push dword [ebp - 0x348]
mov esi, 0x80004005
push dword [ebp - 0x33c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10a9566
lea eax, [ebp - 0x128]
push eax
push dword [ebp + 0x1c]
push ebx
call fcn.010065a0
mov esi, eax
cmp esi, edi
jl 0x10a9566
mov esi, 0x40203
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100204d
leave
ret 0x18
Function at 0x10a9859
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
cmp dword [0x10b3fc0], edi
jne 0x10a9975
push esi
mov esi, 0x11c
push esi
lea eax, [ebp - 0x120]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x10a98c0
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call esi
mov eax, dword [ebp - 0x110]
dec eax
mov dword [0x10b3fc0], edi
pop esi
je 0x10a9948
dec eax
jne 0x10a9975
cmp dword [ebp - 0x11c], 5
jne 0x10a9935
mov eax, dword [ebp - 0x118]
sub eax, edi
je 0x10a9929
dec eax
je 0x10a9916
dec eax
je 0x10a98fc
mov dword [0x10b3fc0], 0x14
jmp 0x10a9975
cmp word [ebp - 0xc], 1
jb 0x10a990d
mov dword [0x10b3fc0], 0x10
or dword [0x10b3fc0], 4
jmp 0x10a9975
cmp word [ebp - 0xc], 2
jb 0x10a990d
mov dword [0x10b3fc0], 8
jmp 0x10a990d
mov dword [0x10b3fc0], 4
jmp 0x10a9975
cmp dword [ebp - 0x11c], 4
ja 0x10a9987
mov dword [0x10b3fc0], 2
cmp dword [ebp - 0x11c], 4
jne 0x10a9975
cmp dword [ebp - 0x118], edi
je 0x10a996b
cmp dword [ebp - 0x118], 0xa
je 0x10a996b
cmp dword [ebp - 0x118], 0x5a
jne 0x10a9975
mov dword [0x10b3fc0], 1
mov ecx, dword [ebp - 4]
mov eax, dword [0x10b3fc0]
xor ecx, ebp
pop edi
call fcn.0100204d
leave
ret
mov dword [0x10b3fc0], 0x20
jmp 0x10a9975

Function at 0x10a9998
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20
lea eax, [ebp - 0x44]
push eax
push 8
push 0x404
mov esi, 0xc04
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10a99ec
push 3
lea eax, [ebp - 0x44]
push 0x10a99fc
push eax
call sub.msvcrt.dll_wcsncmp
add esp, 0xc
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfffff800
add esi, 0xc04
mov ecx, dword [ebp - 4]
mov ax, si
xor ecx, ebp
pop esi
call fcn.0100204d
leave
ret

Function at 0x10a9a07
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
cmp ax, word [0x10b3fc4]
jne 0x10a9aa2
push esi
lea eax, [ebp - 0x10]
push eax
push 1
xor esi, esi
push esi
push 0x10a9b98
push 0x80000002
mov dword [ebp - 0x14], 6
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10a9aa1
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push 0x10a9c50
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
pop edi
jne 0x10a9aa1
push 3
push dword [esi*8 + 0x10a9ab8]
lea eax, [ebp - 0xc]
push eax
call sub.msvcrt.dll__wcsnicmp
add esp, 0xc
test eax, eax
je 0x10a9a93
inc esi
cmp esi, 0x1c
jae 0x10a9aa1
jmp 0x10a9a72
mov ax, word [esi*8 + 0x10a9abc]
mov word [0x10b3fc4], ax
pop esi
mov ecx, dword [ebp - 4]
mov ax, word [0x10b3fc4]
xor ecx, ebp
call fcn.0100204d
leave
ret
Function at 0x10aaf19
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov dword [ebp - 4], eax
xor esi, esi
push 6
push 0x4ff
push dword [ebp + 0xc]
push esi
push esi
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjectsEx]
mov ebx, eax
cmp ebx, esi
je 0x10aaf8f
jmp 0x10aafc9
cmp dword [ebp - 0x1c], 0x12
je 0x10aafa0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
cmp dword [ebp - 0x1c], 0x20
jne 0x10aaf85
mov eax, 0xfffe
cmp word [ebp - 0x14], ax
je 0x10aaf85
push 0x7f02
push esi
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x10aaf8f
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push esi
push esi
push esi
lea eax, [ebp - 0x20]
push eax
call edi
test eax, eax
je 0x10aafae
jmp 0x10aaf4f
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ebx, 0x102
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jbe 0x10aafc1
mov ebx, 0x102
cmp ebx, esi
je 0x10aaf35
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc

Function at 0x10ab4d5
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x1048f38
push 0x10ab5b0
push 2
push 0
mov dword [ebp - 0x418], 0x104
call sub.SHLWAPI.dll_AssocQueryStringW
mov ebx, eax
test ebx, ebx
jl 0x10ab58b
push edi
push 0x10ab5a0
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0100ecf0
push 0x38
lea eax, [ebp - 0x450]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x444], eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x440], eax
add esp, 0x1c
lea eax, [ebp - 0x454]
push eax
mov dword [ebp - 0x454], 0x3c
mov dword [ebp - 0x438], 1
call sub.SHELL32.dll_ShellExecuteExW
test eax, eax
jne 0x10ab58b
mov ebx, 0x80004005
mov ecx, dword [ebp - 4]
pop edi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0100204d
leave
ret 4
Function at 0x10ab5bf
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x20e0
call fcn.0105140d
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x20a4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2098], eax
lea eax, [ebp - 0x209c]
push eax
lea eax, [ebp - 0x104c]
push eax
push 0
push 0xffff
push 0x10ab770
push 0x101ea50
mov esi, 0x80004005
mov dword [ebp - 0x209c], 0x1048
call sub.SHLWAPI.dll_SHRegGetValueFromHKCUHKLM
test eax, eax
jne 0x10ab732
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, 0x10ab760
push ebx
call edi
push eax
push ebx
lea eax, [ebp - 0x104c]
push eax
call sub.SHLWAPI.dll_StrCmpNICW
test eax, eax
je 0x10ab666
mov ebx, 0x10ab74c
push ebx
call edi
push eax
push ebx
lea eax, [ebp - 0x104c]
push eax
call sub.SHLWAPI.dll_StrCmpNICW
test eax, eax
jne 0x10ab730
mov ebx, 0x10ab744
push ebx
lea eax, [ebp - 0x104c]
push eax
call sub.SHLWAPI.dll_StrStrIW
mov dword [ebp - 0x20a0], eax
test eax, eax
je 0x10ab730
lea ecx, [ebp - 0x104c]
sub eax, ecx
sar eax, 1
push eax
mov eax, ecx
push eax
mov esi, 0x824
push esi
lea eax, [ebp - 0x2094]
push eax
call fcn.0101f87f
push dword [ebp - 0x20a4]
lea eax, [ebp - 0x2094]
push esi
push eax
call fcn.0101237f
push ebx
call edi
mov ecx, dword [ebp - 0x20a0]
lea eax, [ecx + eax*2]
push eax
push esi
lea eax, [ebp - 0x2094]
push eax
call fcn.0101237f
push 0x38
lea eax, [ebp - 0x20dc]
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x2098]
mov dword [ebp - 0x20d8], eax
lea eax, [ebp - 0x2094]
mov dword [ebp - 0x20d0], eax
add esp, 0xc
lea eax, [ebp - 0x20e0]
push eax
mov dword [ebp - 0x20e0], 0x3c
mov dword [ebp - 0x20c4], 1
call sub.SHELL32.dll_ShellExecuteExW
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x7fffbffb
add esi, 0x80004005
pop edi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0100204d
leave
ret 8
Function at 0x10ab7a5
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
dec eax
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x94], ecx
mov esi, 0x80004005
je 0x10ab7e8
dec eax
je 0x10ab89d
dec eax
je 0x10ab894
dec eax
jne 0x10ab882
lea ecx, [ebp - 0x90]
call fcn.0107dae5
push 0xffffffffffffffff
push 0x10ab8a8
lea ecx, [ebp - 0x90]
call fcn.0107dd03
mov esi, eax
test esi, esi
jl 0x10ab877
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x94]
call fcn.010ab430
mov esi, eax
test esi, esi
jl 0x10ab877
push 0x38
lea eax, [ebp - 0xcc]
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xc0], eax
add esp, 0xc
lea eax, [ebp - 0xd0]
push eax
mov dword [ebp - 0xd0], 0x3c
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xb4], 1
call sub.SHELL32.dll_ShellExecuteExW
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x7fffbffb
add esi, 0x80004005
lea ecx, [ebp - 0x90]
call fcn.0107db02
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100204d
leave
ret 0xc
push ebx
push ecx
call fcn.010ab5bf
jmp 0x10ab8a3
push ecx
call fcn.010ab4d5
mov esi, eax
jmp 0x10ab882
Function at 0x405463
Capabilities:
Hide graphical window

Disassembly:
push 0x2ec
mov eax, 0x466598
call fcn.0043e197
lea eax, [ebp - 0x268]
mov dword [ebp - 0x268], 8
push eax
mov dword [ebp - 0x264], 0x20
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
xor ebx, ebx
mov dword [ebp - 0x298], 0x30
push ebx
mov dword [ebp - 0x294], ebx
mov dword [ebp - 0x290], 0x405d11
mov dword [ebp - 0x28c], ebx
mov dword [ebp - 0x288], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 1
push eax
mov dword [ebp - 0x284], eax
call esi
push 0x7f00
push ebx
mov dword [ebp - 0x280], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 1
push dword [ebp - 0x284]
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x278], 0x10
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x270], 0x46c3ec
call esi
mov dword [ebp - 0x26c], eax
lea eax, [ebp - 0x298]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
je 0x405741
lea eax, [ebp - 0x2d0]
push eax
call fcn.0041798a
mov esi, eax
lea edi, [ebp - 0x220]
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x2f8]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00417876
add esp, 0xc
lea edi, [ebp - 0x2c0]
mov esi, eax
mov eax, dword [ebp - 0x220]
push 0xa
pop ecx
rep movsd dword es:[edi], dword [esi]
sub eax, dword [ebp - 0x2c0]
mov esi, 0x80c00000
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x21c]
sub eax, dword [ebp - 0x2bc]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
mov dword [ebp - 0x25c], eax
add eax, dword [ebp - 0x2bc]
push ebx
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x260]
mov dword [ebp - 0x260], ecx
add ecx, dword [ebp - 0x2c0]
push esi
push eax
mov dword [ebp - 0x258], ecx
call dword [sym.imp.USER32.dll_AdjustWindowRect]
push 0x46c410
lea ecx, [ebp - 0x238]
call fcn.00401f6d
lea eax, [ebp - 0x238]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.00407573
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x4055f2
mov eax, dword [eax]
push 0x100
lea ecx, [ebp - 0x210]
push ecx
push 0xffffffffffffffff
push eax
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [ebp - 0x250]
call fcn.00404c18
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.00404c18
call fcn.00406ea1
push eax
call fcn.0040711c
pop ecx
push ebx
push dword [ebp - 0x284]
movzx edi, al
mov eax, dword [ebp - 0x254]
neg edi
push ebx
push ebx
sbb edi, edi
sub eax, dword [ebp - 0x25c]
push eax
mov eax, dword [ebp - 0x258]
and edi, 0x400000
sub eax, dword [ebp - 0x260]
cmp byte [0x4e6130], 0
push eax
push dword [ebp - 0x25c]
mov eax, 0x80ca0000
push dword [ebp - 0x260]
cmovne eax, esi
push eax
lea eax, [ebp - 0x210]
push eax
invalid
in al, dx
Function at 0x4463d6
Capabilities:
Read file via mapping

Disassembly:
adc dh, bh
rol cl, 1
into
sbb eax, ebp
xor eax, 0x2bfffbc1
or eax, 0x4e7d1b
call fcn.0040116b

Function at 0x4463ec
Capabilities:
Read file via mapping

Disassembly:
call fcn.00402b30
rol esi, 0x19
not eax
or dword [0x4e761e], 0x1636d40
sub esi, eax
xor edi, eax
rol edx, 0x1e
xor edx, 0x327f3f0
call fcn.00406b0b
add esi, eax
mov dword [0x4e767e], esi
xor esi, eax
push 0
neg esi
xor esi, esp
inc edx
xor esi, eax
xor ebx, dword [0x4e7c0a]
call fcn.00402f84
retf
sti
inc ecx
into
or dword [ebx], esi
mov cl, 0xca
adc byte [ebx], dh
adc eax, 0x4e7a7c
rol edx, 0x10
xor eax, esi
rol esi, 9
call fcn.00407940
xor esi, eax
dec edx
xor esi, esp
neg esi
push 0xffffffffffffffff
mov dword [0x4e78a6], edx
dec esi
xor ecx, eax
neg esi
xor dword [0x4e77c4], 0x104c5520
add esi, dword [0x4e7c2c]
xor ecx, dword [0x4e7ba6]
call fcn.0040573e
xor esi, 0x1a2caaf0
xor edi, eax
call fcn.00404175
xor dword [0x4e7580], ecx
rol esi, 0x1c
ror esi, 0x1c
mov dword [0x4e766c], esi
call fcn.00402f84
xor edi, eax
xor esi, 0x1a2caaf0
call fcn.00402acb
or dword [0x4e776c], 0x16c72d8e
neg esi
xor ecx, eax
inc esi
mov dword [0x4e7473], edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
xor ecx, dword [0x4e7b0c]
neg eax
add eax, 0xad4cc22
call fcn.00406ad0
inc eax
ror ebx, 2
add esi, 0x9b04060
xor esi, eax
not edx
rol ebx, 0x1b
call fcn.0040704e
ror ebx, 0x1b
not edx
xor esi, eax
sub esi, 0x9b04060
rol ebx, 2
dec eax
call fcn.00405121
sub eax, 0xad4cc22
neg eax
push ebx
sub dword [0x4e7742], ebx
rol eax, 1
mov dword [0x4e7932], 0x11c493ac
neg eax
add ecx, esi
rol esi, 0x13
dec edx
xchg esi, edx
sub dword [0x4e77d1], 0x8576a90
xor esi, ebp
neg ecx
call fcn.00402f84
xor ecx, dword [0x4e7a22]
sub ecx, ebx
xor ecx, dword [0x4e7ac1]
sub eax, ebp
add eax, ebp
add ecx, ebx
call fcn.00407a57
neg ecx
xor esi, ebp
and dword [0x4e78ae], 0x1733240b
xchg esi, edx
inc edx
ror esi, 0x13
sub ecx, esi
neg eax
mov dword [0x4e7668], 0x941fcd3
ror eax, 1
sub dword [0x4e7942], ebx
push 0
xor esi, dword [0x4e7afa]
cli
jp 0x4465d7
add cl, al
enter 0x330a, 0x35
jl 0x44660f
dec esi
add byte [ebx], dh
hlt
inc edx
call fcn.004079e2
sub edx, 0x41c1cf6
and dword [0x4e78a8], edi
add edi, edx
neg edx
xor edx, dword [0x4e7cfb]
xor esi, esp
sub edx, eax
rol esi, 0x1e
dec ecx
xor ecx, eax
call fcn.00402df6
inc ebx
add esi, eax
ror edi, 8
xor esi, eax
xor esi, eax
rol edi, 8
sub esi, eax
dec ebx
call fcn.00404e5a
xor ecx, eax
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x93a2c4e
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x392207fa
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7fc
push esi
push edi
call sub.kernel32.dll_GetCommandLineA
mov dword [ebp - 4], eax
xor ecx, ecx
mov esi, dword [ebp - 4]
lodsb al, byte [esi]
cmp al, 0
je 0x401024
cmp al, 0x22
jne 0x401018
inc ecx
jmp 0x401018
push ecx
shr ecx, 1
shl ecx, 1
pop eax
cmp eax, ecx
je 0x401039
pop edi
pop esi
mov eax, 3
leave
ret 8
mov esi, dword [ebp - 4]
lea edi, [ebp - 0x404]
lodsb al, byte [esi]
cmp al, 0
je 0x401050
cmp al, 9
jne 0x40104d
mov al, 0x20
stosb byte es:[edi], al
jmp 0x401042
stosb byte es:[edi], al
lea eax, [ebp - 0x404]
mov esi, eax
mov edi, eax
lodsb al, byte [esi]
cmp al, 0
jne 0x401062
jmp 0x40107d
cmp al, 0x22
jne 0x401069
stosb byte es:[edi], al
jmp 0x40106c
stosb byte es:[edi], al
jmp 0x40105b
lodsb al, byte [esi]
cmp al, 0x20
jne 0x401073
mov al, 0xfe
cmp al, 0x22
jne 0x40107a
stosb byte es:[edi], al
jmp 0x40105b
stosb byte es:[edi], al
jmp 0x40106c
stosb byte es:[edi], al
lea eax, [ebp - 0x404]
mov esi, eax
lea edi, [ebp - 0x804]
mov ecx, 0
lodsb al, byte [esi]
cmp al, 0x20
je 0x401091
cmp ecx, dword [ebp + 8]
je 0x4010b0
lodsb al, byte [esi]
cmp al, 0
je 0x4010bd
cmp al, 0x20
jne 0x4010ae
lodsb al, byte [esi]
cmp al, 0x20
je 0x4010a4
inc ecx
cmp al, 0
je 0x4010bd
jmp 0x401096
stosb byte es:[edi], al
lodsb al, byte [esi]
cmp al, 0x20
je 0x4010bd
cmp al, 0
je 0x4010bd
stosb byte es:[edi], al
jmp 0x4010b1
mov al, 0
stosb byte es:[edi], al
cmp ecx, dword [ebp + 8]
jae 0x4010d6
mov edi, dword [ebp + 0xc]
mov al, 0
stosb byte es:[edi], al
mov eax, 2
pop edi
pop esi
leave
ret 8
lea eax, [ebp - 0x804]
mov esi, eax
mov edi, dword [ebp + 0xc]
lodsb al, byte [esi]
cmp al, 0
je 0x4010f3
cmp al, 0x22
je 0x4010e1
cmp al, 0xfe
jne 0x4010f0
mov al, 0x20
stosb byte es:[edi], al
jmp 0x4010e1
stosb byte es:[edi], al
mov esi, dword [ebp + 0xc]
lodsb al, byte [esi]
cmp al, 0
jne 0x401107
pop edi
pop esi
mov eax, 4
leave
ret 8
mov eax, 1
pop edi
pop esi
leave
ret 8

Function at 0x401112
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push dword [ebp + 8]
call sub.kernel32.dll_lstrlenA
xchg edx, eax
push 0
lea eax, [ebp - 4]
push eax
push edx
push dword [ebp + 8]
push dword [0x404ba0]
call sub.kernel32.dll_WriteFile
leave
ret 4
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219