joyce8/EMBER2024-capa huggingface dataset:
Function at 0x462590
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x58], 0
mov eax, 1
pop ebp
ret

Function at 0x465110
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 4], eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x84
push eax
call fcn.00412120
add esp, 0xc
mov ecx, dword [ebp - 0x10]
add ecx, 0x84
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
add edx, 2
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
mov cx, word [eax]
mov word [ebp - 0x1a], cx
add dword [ebp - 0x14], 2
cmp word [ebp - 0x1a], 0
jne 0x465154
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x18]
sar edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
jmp 0x46518c
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 8]
jge 0x4651bb
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dx, word [ecx + eax*2 + 0x84]
push edx
call fcn.0044ab63
add esp, 4
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov word [edx + ecx*2 + 0x28c], ax
jmp 0x465183
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov word [ecx + eax*2 + 0x28c], 0
mov ecx, dword [ebp + 8]
call fcn.00402730
mov esp, ebp
pop ebp
ret 4

Function at 0x465630
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0x1a
push 0x104
mov ecx, dword [ebp - 4]
add ecx, 0x2c
call fcn.0046d4c0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, 1
je 0x46567a
mov ecx, dword [ebp - 4]
add ecx, 0x2c
call fcn.00425ec0
push 0x492700
mov ecx, dword [ebp + 8]
call fcn.00402740
mov ecx, eax
call fcn.00403140
jmp 0x46568d
mov ecx, dword [ebp - 4]
add ecx, 0x2c
call fcn.0046d890
mov ecx, dword [ebp + 8]
call fcn.00402730
mov esp, ebp
pop ebp
ret 4
Function at 0x4656a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x4a7534]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x228], ecx
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.004498f0
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x465721
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x214], eax
mov edx, dword [ebp - 0x214]
push edx
push 0x492680
mov ecx, dword [ebp + 8]
call fcn.00402740
mov ecx, eax
call fcn.0046c380
mov ecx, eax
call fcn.00403140
jmp 0x465828
lea eax, [ebp - 0x210]
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x22c]
add ecx, 2
mov dword [ebp - 0x230], ecx
mov edx, dword [ebp - 0x22c]
mov ax, word [edx]
mov word [ebp - 0x232], ax
add dword [ebp - 0x22c], 2
cmp word [ebp - 0x232], 0
jne 0x46573c
mov ecx, dword [ebp - 0x22c]
sub ecx, dword [ebp - 0x230]
sar ecx, 1
mov dword [ebp - 0x238], ecx
mov edx, dword [ebp - 0x238]
movzx eax, word [ebp + edx*2 - 0x212]
cmp eax, 0x5c
jne 0x4657e4
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x23c], ecx
mov edx, dword [ebp - 0x23c]
add edx, 2
mov dword [ebp - 0x240], edx
mov eax, dword [ebp - 0x23c]
mov cx, word [eax]
mov word [ebp - 0x242], cx
add dword [ebp - 0x23c], 2
cmp word [ebp - 0x242], 0
jne 0x46579f
mov edx, dword [ebp - 0x23c]
sub edx, dword [ebp - 0x240]
sar edx, 1
mov dword [ebp - 0x248], edx
mov eax, dword [ebp - 0x248]
mov word [ebp + eax*2 - 0x212], 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x224]
call fcn.0046d910
lea edx, [ebp - 0x224]
push edx
mov ecx, dword [ebp - 0x228]
add ecx, 0x1c
call fcn.0046d7d0
lea ecx, [ebp - 0x224]
call fcn.0046d3c0
mov ecx, dword [ebp + 8]
call fcn.00402730
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044610a
mov esp, ebp
pop ebp
ret 4
Function at 0x467200
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov byte [ebp - 5], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x467243
xor al, al
jmp 0x4672ef
mov edx, dword [ebp - 0x10]
push edx
call fcn.0044674b
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x46726d
jmp 0x4672da
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0x4932a8
mov edx, dword [ebp - 0xc]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x46728b
jmp 0x4672da
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
shr edx, 0x10
mov eax, dword [ebp + 0xc]
mov word [eax], dx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
and edx, 0xffff
mov eax, dword [ebp + 0xc]
mov word [eax + 2], dx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
mov eax, dword [ebp + 0xc]
mov word [eax + 4], dx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
mov eax, dword [ebp + 0xc]
mov word [eax + 6], dx
mov byte [ebp - 5], 1
cmp dword [ebp - 0xc], 0
je 0x4672ec
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0044666e
add esp, 4
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x467650
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x4a7534]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
push 0x4b12e0
mov eax, dword [ebp + 8]
push eax
call fcn.00449f34
add esp, 8
test eax, eax
je 0x467686
xor eax, eax
jmp 0x467882
movzx ecx, word [0x4b12e6]
and ecx, 0x4000
je 0x467872
mov edx, dword [ebp + 8]
push edx
push str._s.
lea eax, [ebp - 0x808]
push eax
call fcn.00427580
add esp, 0xc
push 0x4b1090
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0xffffffff
je 0x467863
mov dword [ebp - 0x810], 0x49312c
mov dword [ebp - 0x814], 0x4b10bc
mov edx, dword [ebp - 0x814]
mov ax, word [edx]
mov word [ebp - 0x816], ax
mov ecx, dword [ebp - 0x810]
cmp ax, word [ecx]
jne 0x467750
cmp word [ebp - 0x816], 0
je 0x467744
mov edx, dword [ebp - 0x814]
mov ax, word [edx + 2]
mov word [ebp - 0x818], ax
mov ecx, dword [ebp - 0x810]
cmp ax, word [ecx + 2]
jne 0x467750
add dword [ebp - 0x814], 4
add dword [ebp - 0x810], 4
cmp word [ebp - 0x818], 0
jne 0x4676ea
mov dword [ebp - 0x81c], 0
jmp 0x46775b
sbb edx, edx
sbb edx, 0xffffffff
mov dword [ebp - 0x81c], edx
mov eax, dword [ebp - 0x81c]
mov dword [ebp - 0x820], eax
cmp dword [ebp - 0x820], 0
je 0x46780e
mov dword [ebp - 0x824], 0x493130
mov dword [ebp - 0x828], 0x4b10bc
mov ecx, dword [ebp - 0x828]
mov dx, word [ecx]
mov word [ebp - 0x82a], dx
mov eax, dword [ebp - 0x824]
cmp dx, word [eax]
jne 0x4677ee
cmp word [ebp - 0x82a], 0
je 0x4677e2
mov ecx, dword [ebp - 0x828]
mov dx, word [ecx + 2]
mov word [ebp - 0x82c], dx
mov eax, dword [ebp - 0x824]
cmp dx, word [eax + 2]
jne 0x4677ee
add dword [ebp - 0x828], 4
add dword [ebp - 0x824], 4
cmp word [ebp - 0x82c], 0
jne 0x467788
mov dword [ebp - 0x830], 0
jmp 0x4677f9
sbb ecx, ecx
sbb ecx, 0xffffffff
mov dword [ebp - 0x830], ecx
mov edx, dword [ebp - 0x830]
mov dword [ebp - 0x834], edx
cmp dword [ebp - 0x834], 0
jne 0x467810
jmp 0x46783c
push 0x4b10bc
mov eax, dword [ebp + 8]
push eax
push str._s_s
lea ecx, [ebp - 0x808]
push ecx
call fcn.00427580
add esp, 0x10
lea edx, [ebp - 0x808]
push edx
call fcn.00467650
add esp, 4
push 0x4b1090
mov eax, dword [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4676d6
mov ecx, dword [ebp - 0x80c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 4], eax
jmp 0x46787f
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044610a
mov esp, ebp
pop ebp
ret
Function at 0x467890
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x4a7534]
xor eax, ebp
mov dword [ebp - 8], eax
push 0x4b1560
mov eax, dword [ebp + 8]
push eax
call fcn.00449f34
add esp, 8
test eax, eax
je 0x4678bf
xor eax, eax
jmp 0x467ace
movzx ecx, word [0x4b1566]
and ecx, 0x4000
je 0x467aba
mov edx, dword [ebp + 8]
push edx
push 0x4930f4
lea eax, [ebp - 0x808]
push eax
call fcn.00427580
add esp, 0xc
push 0x4b1310
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0xffffffff
je 0x467aba
mov dword [ebp - 0x810], 0x493104
mov dword [ebp - 0x814], 0x4b133c
mov edx, dword [ebp - 0x814]
mov ax, word [edx]
mov word [ebp - 0x816], ax
mov ecx, dword [ebp - 0x810]
cmp ax, word [ecx]
jne 0x467989
cmp word [ebp - 0x816], 0
je 0x46797d
mov edx, dword [ebp - 0x814]
mov ax, word [edx + 2]
mov word [ebp - 0x818], ax
mov ecx, dword [ebp - 0x810]
cmp ax, word [ecx + 2]
jne 0x467989
add dword [ebp - 0x814], 4
add dword [ebp - 0x810], 4
cmp word [ebp - 0x818], 0
jne 0x467923
mov dword [ebp - 0x81c], 0
jmp 0x467994
sbb edx, edx
sbb edx, 0xffffffff
mov dword [ebp - 0x81c], edx
mov eax, dword [ebp - 0x81c]
mov dword [ebp - 0x820], eax
cmp dword [ebp - 0x820], 0
je 0x467a47
mov dword [ebp - 0x824], 0x493108
mov dword [ebp - 0x828], 0x4b133c
mov ecx, dword [ebp - 0x828]
mov dx, word [ecx]
mov word [ebp - 0x82a], dx
mov eax, dword [ebp - 0x824]
cmp dx, word [eax]
jne 0x467a27
cmp word [ebp - 0x82a], 0
je 0x467a1b
mov ecx, dword [ebp - 0x828]
mov dx, word [ecx + 2]
mov word [ebp - 0x82c], dx
mov eax, dword [ebp - 0x824]
cmp dx, word [eax + 2]
jne 0x467a27
add dword [ebp - 0x828], 4
add dword [ebp - 0x824], 4
cmp word [ebp - 0x82c], 0
jne 0x4679c1
mov dword [ebp - 0x830], 0
jmp 0x467a32
sbb ecx, ecx
sbb ecx, 0xffffffff
mov dword [ebp - 0x830], ecx
mov edx, dword [ebp - 0x830]
mov dword [ebp - 0x834], edx
cmp dword [ebp - 0x834], 0
jne 0x467a49
jmp 0x467a93
push 0x4b133c
mov eax, dword [ebp + 8]
push eax
push 0x493110
lea ecx, [ebp - 0x808]
push ecx
call fcn.00427580
add esp, 0x10
mov edx, dword [0x4b1310]
and edx, 0x10
je 0x467a82
lea eax, [ebp - 0x808]
push eax
call fcn.00467890
add esp, 4
jmp 0x467a93
push 4
push 0
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0x4b1310
mov edx, dword [ebp - 0x80c]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x46790f
mov eax, dword [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 4
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044610a
mov esp, ebp
pop ebp
ret
Function at 0x467d00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
cmp dword [ebp + 0x10], 0
jne 0x467d14
or eax, 0xffffffff
jmp 0x467e56
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 2
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x1c]
mov ax, word [edx]
mov word [ebp - 0x22], ax
add dword [ebp - 0x1c], 2
cmp word [ebp - 0x22], 0
jne 0x467d23
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x20]
sar ecx, 1
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 2
jge 0x467d57
or eax, 0xffffffff
jmp 0x467e56
mov eax, dword [ebp - 8]
and eax, 0x80000001
jns 0x467d66
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
je 0x467d72
or eax, 0xffffffff
jmp 0x467e56
mov eax, dword [ebp - 8]
cdq
sub eax, edx
sar eax, 1
sub eax, 1
mov dword [ebp - 8], eax
mov byte [ebp - 1], 0
mov dword [ebp - 0xc], 0
jmp 0x467d96
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 8]
jg 0x467e46
mov eax, dword [ebp - 0xc]
shl eax, 1
mov ecx, dword [ebp + 0x10]
mov dx, word [ecx + eax*2]
mov word [ebp - 0x18], dx
mov eax, dword [ebp - 0xc]
shl eax, 1
mov ecx, dword [ebp + 0x10]
mov dx, word [ecx + eax*2 + 2]
mov word [ebp - 0x10], dx
movzx eax, word [ebp - 0x18]
cmp eax, 0x7a
jg 0x467dd5
movzx ecx, word [ebp - 0x18]
cmp ecx, 0x61
jge 0x467dda
or eax, 0xffffffff
jmp 0x467e56
movzx edx, word [ebp - 0x10]
cmp edx, 0x7a
jg 0x467dec
movzx eax, word [ebp - 0x10]
cmp eax, 0x61
jge 0x467df1
or eax, 0xffffffff
jmp 0x467e56
movzx ecx, word [ebp - 0x18]
sub ecx, 0x61
mov word [ebp - 0x18], cx
movzx edx, word [ebp - 0x10]
sub edx, 0x61
mov word [ebp - 0x10], dx
movzx eax, word [ebp - 0x18]
shl eax, 4
movzx ecx, word [ebp - 0x10]
add eax, ecx
mov byte [ebp - 0x11], al
movzx edx, byte [ebp - 0x11]
movzx eax, byte [ebp - 1]
xor eax, edx
mov byte [ebp - 1], al
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 8]
jge 0x467e41
movzx edx, word [ebp - 0x18]
shl edx, 4
movzx eax, word [ebp - 0x10]
add edx, eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0xc]
mov byte [ecx], dl
jmp 0x467d8d
movzx edx, byte [ebp - 1]
test edx, edx
je 0x467e53
or eax, 0xffffffff
jmp 0x467e56
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x467e60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4a7534]
xor eax, ebp
mov dword [ebp - 4], eax
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.004498f0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x467eac
xor al, al
jmp 0x467f26
push 0x4932ac
lea edx, [ebp - 0x210]
push edx
call fcn.004275b0
add esp, 8
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.00467200
add esp, 8
movzx edx, al
test edx, edx
jne 0x467ee1
xor al, al
jmp 0x467f26
mov eax, dword [ebp + 8]
mov dword [eax], 0x114
movzx ecx, word [ebp - 0x218]
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
movzx eax, word [ebp - 0x216]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
movzx edx, word [ebp - 0x214]
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 2
mov edx, dword [ebp + 8]
mov word [edx + 0x14], 0
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044610a
mov esp, ebp
pop ebp
ret

Function at 0x467f40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4a7534]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.004671f0
movzx eax, al
test eax, eax
je 0x467f61
jmp 0x467fb0
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.00467300
add esp, 8
cmp eax, 1
jne 0x467f9a
push 5
push 0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x210]
push eax
push 0x4931f4
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x467fb0
push 5
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044610a
mov esp, ebp
pop ebp
ret
Function at 0x46b810
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x46b854
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x46b854
xor eax, eax
jmp 0x46b857
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x46b8d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x46b937
mov ecx, dword [ebp - 8]
add ecx, 0xc
call fcn.0046d380
push eax
push 0x493a94
mov ecx, dword [ebp + 8]
call fcn.0046c4e0
mov ecx, eax
call fcn.0046c360
mov ecx, eax
call fcn.0046c360
mov ecx, eax
call fcn.00403140
jmp 0x46b94d
cmp dword [ebp + 0x14], 0
je 0x46b945
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 4]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
call fcn.00402730
mov esp, ebp
pop ebp
ret 0x10

Function at 0x46b960
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp + 0x10], 0
jne 0x46b993
cmp dword [ebp + 0x14], 0
je 0x46b986
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
call fcn.00402730
jmp 0x46ba2e
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x46b9e9
mov ecx, dword [ebp - 8]
add ecx, 0xc
call fcn.0046d3a0
push eax
push 0x493a64
mov ecx, dword [ebp + 8]
call fcn.0046c4e0
mov ecx, eax
call fcn.0046c360
mov ecx, eax
call fcn.0046c360
mov ecx, eax
call fcn.00403140
jmp 0x46ba2e
cmp dword [ebp + 0x14], 0
je 0x46b9f7
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
cmp dword [ebp - 4], 0
jne 0x46ba26
mov ecx, dword [ebp - 8]
add ecx, 0xc
call fcn.0046d3a0
push eax
push 0x493a74
mov ecx, dword [ebp + 8]
call fcn.00402740
mov ecx, eax
call fcn.0046c360
mov ecx, eax
call fcn.00403140
jmp 0x46ba2e
mov ecx, dword [ebp + 8]
call fcn.00402730
mov esp, ebp
pop ebp
ret 0x10
Function at 0x46c550
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov byte [eax + 4], 0
push 0x20804
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x46c57b
jmp 0x46c62b
mov ecx, dword [ebp - 4]
push ecx
push 0x20804
call fcn.00403190
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x46c5ac
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00425f80
mov dword [ebp - 0x20], eax
jmp 0x46c5b3
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 8], edx
push 0x493b98
push 0x493ba4
mov al, byte [ebp + 0x10]
push eax
push 0x10000
mov ecx, dword [ebp - 8]
add ecx, 0x804
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.0046bf70
mov edx, dword [ebp - 8]
movzx eax, word [edx + 0x804]
test eax, eax
jne 0x46c5f4
jmp 0x46c621
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
push 0x46be50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x46c61f
jmp 0x46c621
jmp 0x46c62b
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46da90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472101
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4a7534]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
call fcn.004671f0
movzx eax, al
test eax, eax
je 0x46dad1
mov ecx, dword [ebp + 8]
call fcn.00402730
jmp 0x46dbf2
mov ecx, dword [ebp - 0x24]
call fcn.0046d690
movzx ecx, al
test ecx, ecx
jne 0x46db18
mov ecx, dword [ebp - 0x24]
call fcn.0046d2f0
movzx edx, al
test edx, edx
jne 0x46db18
mov ecx, dword [ebp - 0x24]
call fcn.00468b10
push eax
push str.b_rN0R
mov ecx, dword [ebp + 8]
call fcn.00402740
mov ecx, eax
call fcn.0046c360
mov ecx, eax
call fcn.00403140
jmp 0x46dbf2
lea ecx, [ebp - 0x1c]
call fcn.00468ff0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
push 0x494de0
mov ecx, dword [ebp - 0x24]
call fcn.00468b10
push eax
push 0x22
lea ecx, [ebp - 0x1c]
call fcn.004692c0
mov ecx, eax
call fcn.00469230
mov ecx, eax
call fcn.00469230
mov ecx, eax
call fcn.00469230
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
push 0
mov eax, dword [ebp + 0x10]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x1c]
call fcn.00468bf0
push eax
lea ecx, [ebp - 0x1c]
call fcn.00468e70
push eax
mov ecx, dword [ebp - 0x24]
call fcn.00468ae0
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x46dbcd
lea ecx, [ebp - 0x1c]
call fcn.00469300
push 0x494de8
mov ecx, dword [ebp + 8]
call fcn.0046c4e0
mov ecx, eax
call fcn.0046c360
mov ecx, eax
call fcn.00403140
mov byte [ebp - 0x1d], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00468c30
mov al, byte [ebp - 0x1d]
jmp 0x46dbf2
lea ecx, [ebp - 0x1c]
call fcn.00469300
mov ecx, dword [ebp + 8]
call fcn.00402730
mov byte [ebp - 0x1e], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00468c30
mov al, byte [ebp - 0x1e]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x14