joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455c10
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x455c3e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x455c5c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00455b76
jmp 0x455c5c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x455c5c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00455b76
test edi, edi
mov eax, edi
jne 0x455c46
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x42d43e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x42d44d
pop dword [ebp - 0x10]
mov eax, 0x42d44d
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x4e137
push 0
mov eax, 0x1a349773
sub eax, 0x19efe4b7
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0x34ab79bb
add ecx, 0xcb54c66a
xor edx, edx
add edx, eax
mov ebx, 0x487e00
add ebx, dword [ebp - 0x10]
mov edi, 0x36108827
add edi, 0xce2ac434
xor dword [ebp - 8], eax
mov esi, dword [ebx]
xor dword [ebp - 0xc], eax
sub esi, edi
xor dword [ebp - 8], 0x6c68ab43
mov dword [edx], esi
add edx, 0x276cbfb5
add edx, 0xd893404f
add ebx, 0xa57cc82b
sub ebx, 0xa57cc827
loop 0x42d4a3
add eax, 0xf367
mov ebx, eax
add eax, 0xd34d7708
sub eax, 0xd34d7703
mov ecx, 0xe751aea
sub ecx, 0xe351aea
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x43fcae
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46b5d8
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x43fcf1
push str.SystemFunction040
push dword [0x46b5d8]
call edi
push str.SystemFunction041
push dword [0x46b5d8]
mov dword [0x46b5e0], eax
call edi
mov dword [0x46b5e4], eax
jmp 0x43fcf6
mov eax, dword [0x46b5e4]
cmp dword [0x46b5e0], 0
je 0x43fd07
test eax, eax
jne 0x43fdae
push 0x46b5dc
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x43fdb8
push str.CryptProtectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e0], 0
mov dword [0x46b5e8], eax
jne 0x43fd6c
test eax, eax
jne 0x43fd6c
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fd56
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fd5d
mov esi, 0x80004005
push esi
push 0x28
push str.cryputil.cpp
call fcn.00403821
jmp 0x43fdb8
push str.CryptUnprotectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e4], 0
mov dword [0x46b5ec], eax
jne 0x43fdae
test eax, eax
jne 0x43fdae
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fda2
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fda9
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x43fd60
mov dword [0x46b5f0], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x406260
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x42d55b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x404164
call fcn.0040744b
push 4
mov dword [esp + 0x18], 0
call fcn.00408438
mov edi, eax
add esp, 4
test edi, edi
je 0x4062d4
push ebx
call fcn.00407246
mov dword [edi], eax
call fcn.00407005
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.0040740c
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4062c8
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00407434
pop ebx
jmp 0x4062d6
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x40900b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430354]
jne 0x409015
repz ret
jmp fcn.0040d29c
Function at 0x4115b2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x430354]
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.0040b80f
and dword [ebp - 0x14], 0
cmp dword [0x435aa0], 0
mov dword [ebp - 0x18], eax
jne 0x411665
push 0x403e88
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41170d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403e7c
push ebx
call edi
test eax, eax
je 0x41170d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403e6c
push ebx
mov dword [0x435aa0], eax
call edi
push eax
call esi
push 0x403e58
push ebx
mov dword [0x435aa4], eax
call edi
push eax
call esi
push 0x403e3c
push ebx
mov dword [0x435aa8], eax
call edi
push eax
call esi
mov dword [0x435ab0], eax
test eax, eax
je 0x411665
push 0x403e24
push ebx
call edi
push eax
call esi
mov dword [0x435aac], eax
mov eax, dword [0x435aac]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4116be
cmp dword [0x435ab0], ecx
je 0x4116be
push eax
call esi
push dword [0x435ab0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4116be
test ebx, ebx
je 0x4116be
call edi
test eax, eax
je 0x4116b5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4116b5
test byte [ebp - 8], 1
jne 0x4116be
or dword [ebp + 0x10], 0x200000
jmp 0x4116f1
mov eax, dword [0x435aa4]
cmp eax, dword [ebp - 0x18]
je 0x4116f1
push eax
call esi
test eax, eax
je 0x4116f1
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4116f1
mov eax, dword [0x435aa8]
cmp eax, dword [ebp - 0x18]
je 0x4116f1
push eax
call esi
test eax, eax
je 0x4116f1
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x435aa0]
call esi
test eax, eax
je 0x41170d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41170f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040900b
leave
ret
Function at 0x428000
Capabilities:
Get common file path

Disassembly:
sub esp, 0xd38
cmp dword [0x7b9804], 0x37
jne 0x428096
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommModemStatus]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push 0
lea eax, [esp + 0x53c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
lea edx, [esp + 4]
push edx
push 0
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
lea ecx, [esp + 0x13c]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReplaceFileA]
mov edx, dword [0x7ba7f8]
mov dword [esp], edx
mov eax, 0x5d1
add dword [esp], eax
mov eax, dword [esp]
mov cl, byte [eax + esi]
mov edx, dword [0x7b976c]
mov byte [edx + esi], cl
add esp, 0xd38
ret
Function at 0x4282a0
Capabilities:
Accept command line arguments
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x7b9804]
sub esp, 0x17c
push ebx
push ebp
push esi
shr eax, 3
xor ebx, ebx
push edi
mov edi, dword [0x7b976c]
cmp eax, ebx
jbe 0x42848d
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
jmp 0x4282d6
mov edi, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [0x7b9804], 0x1c
jne 0x4282ed
lea eax, [esp + 0x40]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
mov ecx, dword [edi + 4]
mov edx, dword [0x4312d0]
mov eax, dword [0x4312d4]
mov esi, dword [edi]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x4312d8]
mov dword [esp + 0x2c], edx
mov edx, dword [0x4312dc]
mov edi, 0xc6ef3720
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], edx
mov ebp, 0x20
jmp 0x428332
xor ebx, ebx
mov ecx, esi
shl ecx, 4
add ecx, dword [esp + 0x24]
mov eax, esi
shr eax, 5
add eax, dword [esp + 0x30]
lea edx, [edi + esi]
xor ecx, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov dword [0x7b9770], ebx
mov eax, dword [esp + 0x18]
add dword [0x7b9770], eax
mov eax, dword [0x7b9770]
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x34]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
sub dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, eax
shl ecx, 4
add ecx, dword [esp + 0x2c]
cmp dword [0x7b9804], 0x1be
mov dword [esp + 0x10], ecx
lea ebx, [edi + eax]
jne 0x4283f6
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessPriorityBoost]
lea edx, [esp + 0x44]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
shr eax, 5
add eax, dword [esp + 0x28]
xor ecx, ebx
mov dword [0x7b9778], 0xff6b3619
mov dword [0x7b977c], 0xffffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x18]
xor dword [esp + 0x10], eax
sub esi, dword [esp + 0x10]
add edi, 0x61c88647
dec ebp
jne 0x428330
cmp dword [0x7b9804], 0x8d4
jne 0x428446
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [edi], esi
mov dword [edi + 4], ecx
cmp dword [0x7b9804], 0x17
jne 0x42847c
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea edx, [esp + 0x48]
push edx
push 0x403f14
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add edi, 8
dec dword [esp + 0x20]
mov dword [esp + 0x1c], edi
jne 0x4282d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x17c
ret
Function at 0x40ce09
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422234]
jne 0x40ce13
repz ret
jmp fcn.00413639

Function at 0x413b7e
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.004104e0
and dword [ebp - 4], 0
cmp dword [0x423e1c], 0
mov ebx, eax
jne 0x413c2f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x413ce0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x413ce0
push eax
call fcn.0041046e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x423e1c], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x423e20], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x423e24], eax
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e2c], eax
test eax, eax
je 0x413c2f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e28], eax
mov eax, dword [0x423e28]
cmp eax, ebx
je 0x413c87
cmp dword [0x423e2c], ebx
je 0x413c87
push eax
call fcn.004104e9
push dword [0x423e2c]
mov esi, eax
call fcn.004104e9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x413c87
test edi, edi
je 0x413c87
call esi
test eax, eax
je 0x413c7e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x413c7e
test byte [ebp - 0xc], 1
jne 0x413c87
or dword [ebp + 0x10], 0x200000
jmp 0x413cc0
mov eax, dword [0x423e20]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x413cc0
mov eax, dword [0x423e24]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x423e1c]
call fcn.004104e9
pop ecx
test eax, eax
je 0x413ce0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x413ce2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40601c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x406028
push 0x406024
push 0x406020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x406028]
push dword [0x406024]
push dword [0x406020]
mov dword [0x406014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret
Function at 0x406250
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x453e9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x404164
call fcn.0040743b
push 4
mov dword [esp + 0x18], 0
call fcn.00408428
mov edi, eax
add esp, 4
test edi, edi
je 0x4062c4
push ebx
call fcn.00407236
mov dword [edi], eax
call fcn.00406ff5
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.004073fc
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4062b8
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00407424
pop ebx
jmp 0x4062c6
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x408ffb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x457354]
jne 0x409005
repz ret
jmp fcn.0040d28c
Function at 0x4115a2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x457354]
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.0040b7ff
and dword [ebp - 0x14], 0
cmp dword [0x45caa0], 0
mov dword [ebp - 0x18], eax
jne 0x411655
push 0x403e88
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4116fd
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403e7c
push ebx
call edi
test eax, eax
je 0x4116fd
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403e6c
push ebx
mov dword [0x45caa0], eax
call edi
push eax
call esi
push 0x403e58
push ebx
mov dword [0x45caa4], eax
call edi
push eax
call esi
push 0x403e3c
push ebx
mov dword [0x45caa8], eax
call edi
push eax
call esi
mov dword [0x45cab0], eax
test eax, eax
je 0x411655
push 0x403e24
push ebx
call edi
push eax
call esi
mov dword [0x45caac], eax
mov eax, dword [0x45caac]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4116ae
cmp dword [0x45cab0], ecx
je 0x4116ae
push eax
call esi
push dword [0x45cab0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4116ae
test ebx, ebx
je 0x4116ae
call edi
test eax, eax
je 0x4116a5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4116a5
test byte [ebp - 8], 1
jne 0x4116ae
or dword [ebp + 0x10], 0x200000
jmp 0x4116e1
mov eax, dword [0x45caa4]
cmp eax, dword [ebp - 0x18]
je 0x4116e1
push eax
call esi
test eax, eax
je 0x4116e1
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4116e1
mov eax, dword [0x45caa8]
cmp eax, dword [ebp - 0x18]
je 0x4116e1
push eax
call esi
test eax, eax
je 0x4116e1
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x45caa0]
call esi
test eax, eax
je 0x4116fd
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4116ff
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408ffb
leave
ret
Function at 0x44e940
Capabilities:
Get common file path

Disassembly:
sub esp, 0xd38
cmp dword [0x7e0804], 0x37
jne 0x44e9d6
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommModemStatus]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push 0
lea eax, [esp + 0x53c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
lea edx, [esp + 4]
push edx
push 0
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
lea ecx, [esp + 0x13c]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReplaceFileA]
mov edx, dword [0x7e17f8]
mov dword [esp], edx
mov eax, 0x5d1
add dword [esp], eax
mov eax, dword [esp]
mov cl, byte [eax + esi]
mov edx, dword [0x7e076c]
mov byte [edx + esi], cl
add esp, 0xd38
ret
Function at 0x44ebe0
Capabilities:
Accept command line arguments
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x7e0804]
sub esp, 0x17c
push ebx
push ebp
push esi
shr eax, 3
xor ebx, ebx
push edi
mov edi, dword [0x7e076c]
cmp eax, ebx
jbe 0x44edcd
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
jmp 0x44ec16
mov edi, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [0x7e0804], 0x1c
jne 0x44ec2d
lea eax, [esp + 0x40]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
mov ecx, dword [edi + 4]
mov edx, dword [0x4582d0]
mov eax, dword [0x4582d4]
mov esi, dword [edi]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x4582d8]
mov dword [esp + 0x2c], edx
mov edx, dword [0x4582dc]
mov edi, 0xc6ef3720
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], edx
mov ebp, 0x20
jmp 0x44ec72
xor ebx, ebx
mov ecx, esi
shl ecx, 4
add ecx, dword [esp + 0x24]
mov eax, esi
shr eax, 5
add eax, dword [esp + 0x30]
lea edx, [edi + esi]
xor ecx, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov dword [0x7e0770], ebx
mov eax, dword [esp + 0x18]
add dword [0x7e0770], eax
mov eax, dword [0x7e0770]
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x34]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
sub dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, eax
shl ecx, 4
add ecx, dword [esp + 0x2c]
cmp dword [0x7e0804], 0x1be
mov dword [esp + 0x10], ecx
lea ebx, [edi + eax]
jne 0x44ed36
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessPriorityBoost]
lea edx, [esp + 0x44]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
shr eax, 5
add eax, dword [esp + 0x28]
xor ecx, ebx
mov dword [0x7e0778], 0xff6b3619
mov dword [0x7e077c], 0xffffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x18]
xor dword [esp + 0x10], eax
sub esi, dword [esp + 0x10]
add edi, 0x61c88647
dec ebp
jne 0x44ec70
cmp dword [0x7e0804], 0x8d4
jne 0x44ed86
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [edi], esi
mov dword [edi + 4], ecx
cmp dword [0x7e0804], 0x17
jne 0x44edbc
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea edx, [esp + 0x48]
push edx
push 0x403f14
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add edi, 8
dec dword [esp + 0x20]
mov dword [esp + 0x1c], edi
jne 0x44ec10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x17c
ret
Function at 0x100012e7
Capabilities:
Terminate process

Disassembly:
xor ecx, ecx
push esi
inc ecx
call fcn.1000b07b
movzx esi, ax
and esi, 0xfffffff7
call fcn.100033b7
test eax, eax
je 0x10001304
call fcn.1000c7ed
push 0x25
pop ecx
call fcn.1000b086
push eax
call fcn.100033fa
add esp, 4
test eax, eax
je 0x1000131e
call fcn.1000c7ed
call fcn.10003415
test eax, eax
je 0x1000132c
call fcn.1000c7ed
call fcn.1000346d
test eax, eax
je 0x1000133a
call fcn.1000c7ed
push edi
push 3
pop ecx
call fcn.1000b086
push 5
pop ecx
mov dword [0x1003a19c], eax
call fcn.1000b07b
movzx eax, ax
push 4
pop ecx
mov dword [0x1003dfbc], eax
call fcn.1000b086
push eax
call fcn.1001709f
push 4
pop ecx
mov edi, eax
call fcn.1000b086
push eax
push edi
call fcn.10007505
add esp, 0xc
pop edi
cmp esi, 2
jne 0x10001386
pop esi
jmp fcn.100028d2
cmp esi, 4
jne 0x10001391
pop esi
jmp 0x10002a90
cmp esi, 0x10
pop esi
jne 0x1000139c
jmp fcn.10002aae
ret
call fcn.10002959
test eax, eax
je 0x10002aad
call fcn.1000261b
call fcn.100025cb
call fcn.10002a7f
jmp fcn.1000c7ed
ret

Function at 0x1000231d
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x194
push esi
xor esi, esi
inc esi
cmp dword [0x1003dfd0], esi
je 0x1000235b
lea eax, [esp + 8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jge 0x10002355
call dword [sym.imp.WS2_32.dll_WSACleanup]
push esi
call fcn.1001775c
mov dword [0x1003dfd0], esi
cmp dword [ebp + 8], 0
je 0x100023bd
cmp dword [0x1003dfd4], esi
je 0x100023bd
push 0x14
pop ecx
call fcn.1000b086
push 0x13
pop ecx
mov dword [0x1003dfd8], eax
call fcn.1000b086
push 0x3d
pop ecx
mov dword [0x1003dfdc], eax
call fcn.1000b091
push 0x3e
pop ecx
mov dword [0x10041e3c], eax
call fcn.1000b091
push 0x3f
pop ecx
mov dword [0x10041e30], eax
call fcn.1000b091
push 0x42
pop ecx
mov dword [0x10041e34], eax
call fcn.1000b091
mov dword [0x10041e38], eax
mov dword [0x1003dfd4], esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100026f6
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
call fcn.100050fe
test eax, eax
jne 0x1000272b
push 0
push dword [0x1003ac78]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x1000272b
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x217
neg eax
sbb eax, eax
inc eax
je 0x10002707
lea edx, [ebp - 0x28]
call fcn.100026ca
sub esp, 0x20
push 8
pop ecx
mov esi, eax
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.10002467
add esp, 0x20
pop edi
pop esi
leave
ret