joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401810
Capabilities:
Get common file path
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
cmp dword [0x847228], 0x400
push esi
push edi
jne 0x401847
push 0
push 0
call dword [sym.imp.KERNEL32.dll__lopen]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea esi, [ebp - 0x24]
call fcn.00401930
mov ecx, esi
call fcn.00401950
mov edi, dword [ebp - 4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SetClipboardViewer]
xor esi, esi
cmp esi, 0xa5a
jge 0x40185f
push 0
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x2afe5b
jle 0x401875
cmp edi, 0x78e8e445
jne 0x40187e
inc esi
cmp esi, 0x1bf9
jl 0x401853
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor esi, esi
lea esp, [esp]
push 0
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp esi, 0x206d47
jg 0x4018ad
inc esi
cmp esi, 0x4f6a4
jl 0x401890
mov ebx, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
xor esi, esi
push 0
call edi
cmp esi, 0x2b259d
jle 0x4018cc
cmp ebx, 0x785074d5
jne 0x4018d5
inc esi
cmp esi, 0x11915
jl 0x4018b8
mov eax, dword [0x42809c]
mov ecx, dword [0x428070]
mov dword [0x847228], eax
mov dword [0x84722c], ecx
call fcn.004015d0
mov esi, dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov edi, 0x3078f
pop ebx
lea esp, [esp]
cmp dword [0x847228], 0x51f
jne 0x401912
lea edx, [ebp - 0x2c]
push edx
call esi
sub edi, 1
jne 0x401900
mov eax, dword [0x84617c]
mov dword [0x8467bc], eax
call eax
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4042cb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x427218]
jne 0x4042d5
repz ret
jmp fcn.00407c2c
Function at 0x409a7f
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.00406522
and dword [ebp - 4], 0
cmp dword [0x428eec], 0
mov ebx, eax
jne 0x409b30
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409be1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x409be1
push eax
call fcn.004064b0
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x428eec], eax
call esi
push eax
call fcn.004064b0
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x428ef0], eax
call esi
push eax
call fcn.004064b0
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x428ef4], eax
call esi
push eax
call fcn.004064b0
pop ecx
mov dword [0x428efc], eax
test eax, eax
je 0x409b30
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004064b0
pop ecx
mov dword [0x428ef8], eax
mov eax, dword [0x428ef8]
cmp eax, ebx
je 0x409b88
cmp dword [0x428efc], ebx
je 0x409b88
push eax
call fcn.0040652b
push dword [0x428efc]
mov esi, eax
call fcn.0040652b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409b88
test edi, edi
je 0x409b88
call esi
test eax, eax
je 0x409b7f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409b7f
test byte [ebp - 0xc], 1
jne 0x409b88
or dword [ebp + 0x10], 0x200000
jmp 0x409bc1
mov eax, dword [0x428ef0]
cmp eax, ebx
je 0x409bc1
push eax
call fcn.0040652b
pop ecx
test eax, eax
je 0x409bc1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409bc1
mov eax, dword [0x428ef4]
cmp eax, ebx
je 0x409bc1
push eax
call fcn.0040652b
pop ecx
test eax, eax
je 0x409bc1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x428eec]
call fcn.0040652b
pop ecx
test eax, eax
je 0x409be1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409be3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4173d8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov byte [ebp - 1], cl
sub edx, 0
inc edx
mov dword [ebp - 8], edx
mov esi, dword [ebp - 8]
dec esi
test esi, esi
jl 0x417411
inc esi
xor ecx, ecx
movzx edx, byte [eax]
movzx ebx, byte [ebp - 1]
mov byte [ebp - 9], bl
xor dl, byte [ebp - 9]
mov ebx, dword [ebp + 8]
add ebx, ecx
mov edi, ebx
mov byte [edi], dl
inc ecx
inc eax
dec esi
jne 0x4173f6
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
mov byte [eax], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x419b00
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0xa56218a8
sbb eax, 0xa054bd
xlatb
and al, 0x53
xor ah, dh
fcomp qword [edi + 0xb8270fd]
cmc
sub eax, 0x3d0774e4
sbb byte [edi + 0x17], bl
aaa
xor ecx, edx
jecxz 0x419b1c
jl 0x419b5b
mov dword [0x7e9c2ec7], eax
inc edi
out 0xd0, eax
mov edi, dword [esi]
sbb esi, dword [edx]
int 0xcf
rcl byte [eax]
fiadd dword [ebp + 0x12]
jecxz 0x419b69
sbb al, byte [eax + eax + 0x74000000]
stc
test byte [eax], al
add byte [eax], al
add byte [ecx + edi*8 - 0x43], dh
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
invalid
jp 0x419b0c
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
call 0xab419b88
jae 0x419b16
add byte [ebx + 0x26000673], ch
add byte [esi], ah
add eax, 0x31a8d00
add byte [ecx], ch
cdq
sub byte [0x45157ab7], 0x2e
loopne 0x419abf
add eax, dword [eax]
sub dword [ecx + 0x7ab72d82], ebx
mov bh, 0x7a
adc eax, 0x9ce02e45
int 0x9e
fimul dword [ebp - 0x7d]
shr byte [edx - 0x675b92], 0xf3
ja 0x419b81
leave
inc edi
hlt
jge 0x419bb6
outsd dx, dword [esi]
dec eax
mov bl, dh
xor esi, ebp
aas
wait
sbb ebx, ebx
std
clc
into
ret 0xab06
salc
adc eax, 0xe3fec155
mov dword [0x7160e872], eax
and dword gs:[eax], ebx
lea ebp, [edx]
lea eax, [eax]
cmpsd dword [esi], dword es:[edi]
std
mov ebp, 0x4b70e31b
dec edi
sbb ch, cl
mov eax, 0xdabfde48
hlt
int 0xf8
scasb al, byte es:[edi]
xor ebx, dword [ebx + 0x54]
ret
Function at 0x409460
Capabilities:
Check http status code

Disassembly:
sub esp, 0xc
mov ecx, dword [0x9a8064]
xor eax, eax
mov dword [esp], eax
add ecx, 0x22051
mov dword [esp + 4], eax
mov word [esp + 8], ax
mov dx, word [ecx]
mov word [esp], dx
mov al, byte [ecx + 2]
lea ecx, [esp]
push ecx
mov byte [esp + 6], al
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
cmp ax, 1
je 0x409629
cmp ax, 2
je 0x409629
cmp ax, 3
je 0x409629
cmp ax, 4
je 0x409629
cmp ax, 5
je 0x409629
cmp ax, 6
je 0x409629
cmp ax, 7
je 0x409629
cmp ax, 8
je 0x409629
cmp ax, 9
je 0x409629
cmp ax, 0xa
je 0x409629
cmp ax, 0xb
je 0x409629
cmp ax, 0xc
je 0x409629
cmp ax, 0xd
je 0x409629
cmp ax, 0xe
je 0x409629
cmp ax, 0xf
je 0x409629
cmp ax, 0x11
je 0x409629
cmp ax, 0x12
je 0x409629
cmp ax, 0x13
je 0x409629
cmp ax, 0x14
je 0x409629
cmp ax, 0x15
je 0x409629
cmp ax, 0x17
je 0x409629
cmp ax, 0x19
je 0x409629
cmp ax, 0x1a
je 0x409629
cmp ax, 0x1b
je 0x409629
cmp ax, 0x1d
je 0x409629
cmp ax, 0x21
je 0x409629
cmp ax, 0x22
je 0x409629
cmp ax, 0x23
je 0x409629
cmp ax, 0x24
je 0x409629
cmp ax, 0x25
je 0x409629
cmp ax, 0x26
je 0x409629
cmp ax, 0x27
je 0x409629
cmp ax, 0x28
je 0x409629
cmp ax, 0x29
je 0x409629
cmp ax, 0x2a
je 0x409629
cmp ax, 0x2c
je 0x409629
cmp ax, 0x2d
je 0x409629
cmp ax, 0x51
je 0x409629
cmp ax, 0x52
je 0x409629
cmp ax, 0x53
je 0x409629
cmp ax, 0x54
je 0x409629
cmp ax, 0x55
je 0x409629
cmp ax, 0x56
je 0x409629
cmp ax, 0x57
je 0x409629
cmp ax, 0xc8
jge 0x409629
mov edx, dword [0x9a8064]
xor ax, ax
mov byte [edx + 0x2204f], 0x31
add esp, 0xc
ret
mov eax, dword [0x9a8064]
mov byte [eax + 0x2204f], 0x30
xor ax, ax
add esp, 0xc
ret
Function at 0x419280
Capabilities:
Get hostname
Get session user name

Disassembly:
sub esp, 0xc8
push ebx
push ebp
push esi
push edi
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x38]
mov dword [esp + 0x10], 0x28
rep stosd dword es:[edi], eax
mov eax, dword [0x9a8064]
cmp dword [eax + 0x3dc60], 1
jne 0x4192bf
lea ecx, [esp + 0x10]
lea edx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
jmp 0x4192cf
lea eax, [esp + 0x10]
lea ecx, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov al, byte [esp + 0x38]
test al, al
jne 0x419308
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x38]
lea edx, [esp + 0x38]
rep stosd dword es:[edi], eax
mov edi, str.Standalone
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x88]
mov dl, byte [esp + 0x38]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x38]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
mov al, byte [esp + 0x39]
dec ecx
mov byte [esp + 0x89], dl
mov byte [esp + 0x8a], al
mov cl, byte [esp + ecx + 0x37]
mov byte [esp + 0x88], cl
mov cl, byte [esp + 0x3a]
mov byte [esp + 0x8b], cl
mov eax, dword [esp + 0x88]
push eax
mov dword [0xa45464], eax
call dword [sym.imp.MSVCRT.dll_srand]
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, dword [sym.imp.MSVCRT.dll_rand]
add esp, 4
mov dword [esp + 0x14], 0
mov edx, dword [0x9a7d2c]
mov ecx, 0x14
xor eax, eax
mov edi, 0xa42cd4
rep stosd dword es:[edi], eax
mov cx, word [edx + 0x66]
lea eax, [edx + 0x66]
push eax
push str._sTUCFILELOCKTFNAME
push 0xa42cd4
mov word [0xa42cd4], cx
call esi
add esp, 0xc
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push 0xa42cd4
call ebp
cmp eax, 0xffffffff
jne 0x41945c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0xa45460], eax
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 0x12c
mov dword [esp + 0x14], eax
jg 0x419461
call ebx
mov edx, eax
mov ecx, 0x14
push edx
xor eax, eax
lea edi, [esp + 0x8c]
lea edx, [esp + 0x8c]
push 0x423234
push edx
rep stosd dword es:[edi], eax
call esi
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x24]
lea edx, [esp + 0x24]
rep stosd dword es:[edi], eax
mov cl, byte [esp + 0x95]
push edx
stosw word es:[edi], ax
mov al, byte [esp + 0x98]
mov byte [esp + 0x29], cl
mov byte [esp + 0x28], al
mov byte [esp + 0x2a], 0x30
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 0x10
mov dword [0xa42cc4], eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x419380
mov dword [0xa45454], eax
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0xc8
ret
Function at 0x41c710
Capabilities:
Get disk information

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x10]
xor eax, eax
mov dword [esp], eax
push esi
movsx edx, byte [ecx]
mov dword [esp + 8], eax
push edx
mov word [esp + 0x10], ax
lea eax, [esp + 8]
push str._C:_
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea ecx, [esp + 4]
xor esi, esi
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 4
mov eax, 1
je 0x41c757
mov eax, esi
pop esi
add esp, 0xc
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
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
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x431030
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x406128
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40614d
mov dword [0x40a0f4], eax
add esp, 0xfffffff8
push 0x4060ec
push eax
call fcn.00407c20
jmp 0x406152
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x406168
mov dword [0x409054], 0x40624c
jmp 0x406172
mov dword [0x409054], 0x406200
leave
ret

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

Disassembly:
pushal
nop
nop
nop
call 0x43100c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x408ffc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41003c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040583e
and dword [ebp - 0x14], 0
cmp dword [0x411ca8], 0
mov dword [ebp - 0x18], eax
jne 0x4090af
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x409157
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x409157
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x411ca8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x411cac], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x411cb0], eax
call edi
push eax
call esi
mov dword [0x411cb8], eax
test eax, eax
je 0x4090af
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x411cb4], eax
mov eax, dword [0x411cb4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x409108
cmp dword [0x411cb8], ecx
je 0x409108
push eax
call esi
push dword [0x411cb8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x409108
test ebx, ebx
je 0x409108
call edi
test eax, eax
je 0x4090ff
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4090ff
test byte [ebp - 8], 1
jne 0x409108
or dword [ebp + 0x10], 0x200000
jmp 0x40913b
mov eax, dword [0x411cac]
cmp eax, dword [ebp - 0x18]
je 0x40913b
push eax
call esi
test eax, eax
je 0x40913b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40913b
mov eax, dword [0x411cb0]
cmp eax, dword [ebp - 0x18]
je 0x40913b
push eax
call esi
test eax, eax
je 0x40913b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x411ca8]
call esi
test eax, eax
je 0x409157
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x409159
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402b34
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d7a
nop
nop
sub eax, 0x403d20
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
jmp fcn.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 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
push 0x4030e1
push 0x31
push str.Whatever_input_text_that_is_applicable_goes_here
call fcn.00401220
push 0
push str.string_test
push 0x4030e1
push 0
call sub.user32.dll_MessageBoxA
push dword [0x40343e]
mov dword [0x40343e], 0
push 0x4030e1
call fcn.00401150
mov dword [0x4033ee], eax
push 2
push dword [0x40343e]
push 0x4031ee
push 0x4030e1
call fcn.004011f0
push 0x4032ee
push 0x4031ec
call fcn.004011c0
push 0x4031ee
push 0x4032ee
call fcn.00401190
push 0x4031e9
push 0x4032ee
call fcn.00401190
push 0x4032ee
push 0x403492
call fcn.00401190
inc dword [0x40343e]
mov eax, dword [0x40343e]
cmp eax, dword [0x4033ee]
jne 0x401043
pop dword [0x40343e]
push 0
push str.string_test
push 0x403492
push 0
call sub.user32.dll_MessageBoxA
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push str.d:_test.txt
call sub.kernel32.dll_CreateFileA
mov dword [0x40369f], eax
push 2
push 0
push 0
push dword [0x40369f]
call sub.kernel32.dll_SetFilePointer
push 0
push 0x4036a3
push 0xc
push str.string_test
push dword [0x40369f]
call sub.kernel32.dll_WriteFile
push dword [0x40369f]
call sub.kernel32.dll_CloseHandle
ret
Function at 0x420197
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x426668]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040f98c
and dword [ebp - 0x14], 0
cmp dword [0x43dac0], 0
mov dword [ebp - 0x18], eax
jne 0x42024a
push 0x403f18
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4202f2
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403f0c
push ebx
call edi
test eax, eax
je 0x4202f2
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403efc
push ebx
mov dword [0x43dac0], eax
call edi
push eax
call esi
push 0x403ee8
push ebx
mov dword [0x43dac4], eax
call edi
push eax
call esi
push 0x403ecc
push ebx
mov dword [0x43dac8], eax
call edi
push eax
call esi
mov dword [0x43dad0], eax
test eax, eax
je 0x42024a
push 0x403eb4
push ebx
call edi
push eax
call esi
mov dword [0x43dacc], eax
mov eax, dword [0x43dacc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4202a3
cmp dword [0x43dad0], ecx
je 0x4202a3
push eax
call esi
push dword [0x43dad0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4202a3
test ebx, ebx
je 0x4202a3
call edi
test eax, eax
je 0x42029a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42029a
test byte [ebp - 8], 1
jne 0x4202a3
or dword [ebp + 0x10], 0x200000
jmp 0x4202d6
mov eax, dword [0x43dac4]
cmp eax, dword [ebp - 0x18]
je 0x4202d6
push eax
call esi
test eax, eax
je 0x4202d6
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4202d6
mov eax, dword [0x43dac8]
cmp eax, dword [ebp - 0x18]
je 0x4202d6
push eax
call esi
test eax, eax
je 0x4202d6
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43dac0]
call esi
test eax, eax
je 0x4202f2
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4202f4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408254
leave
ret

Function at 0x422720
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
mov eax, 0x6b
mov edx, 0x72
mov word [0x239be38], ax
mov word [0x239be3c], dx
mov ecx, 0x6e
mov edx, 0x65
xor eax, eax
push 0x239be38
mov dword [0x239be44], 0x320033
mov dword [0x239be4c], 0x6c006c
mov word [0x239be3e], cx
mov dword [0x239be40], 0x6c0065
mov dword [0x239be48], 0x64002e
mov word [0x239be3a], dx
mov word [0x239be50], ax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [0x239be34]
lea ecx, [esp]
push ecx
push 0x40
mov dword [0x239be30], eax
mov eax, dword [0x239a620]
push edx
push eax
mov byte [0x43daf3], 0x65
mov dword [0x43dae9], 0x75747269
mov word [0x43daed], 0x6c61
mov byte [0x43dae8], 0x56
mov word [0x43daf4], 0x7463
mov byte [0x43daf6], 0
mov dword [0x43daef], 0x746f7250
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop ecx
ret
Function at 0x422820
Capabilities:
Get common file path
Manipulate console buffer

Disassembly:
mov eax, 0x1280
call fcn.00421230
cmp dword [0x239be34], 0x37
push esi
jne 0x422921
push 0
lea eax, [esp + 0x284]
push eax
push 0x403ffc
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
mov esi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
push 0
call esi
xor eax, eax
lea edx, [esp + 8]
push edx
push eax
push eax
push eax
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_ReadFileScatter]
push 0
lea eax, [esp + 0x684]
push eax
push 0x404008
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea ecx, [esp + 0xa84]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 0x60]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0
call esi
push 0x404030
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
lea ecx, [esp + 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProfileSectionW]
push 0x30
lea eax, [esp + 0x34]
push 0
push eax
mov dword [esp + 0x38], 0
call fcn.00413890
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
mov edx, dword [0x239e598]
mov dword [esp + 4], edx
mov eax, 0x5d1
add dword [esp + 4], eax
mov eax, dword [esp + 4]
mov cl, byte [eax + ebx]
mov edx, dword [0x239a620]
mov byte [edx + ebx], cl
pop esi
add esp, 0x1280
ret