joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4696a0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4cebe4]
cmp dword [eax + 0x30], 0
je 0x46974a
cmp dword [ebx + 0x94], 0
jne 0x469744
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x469630
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x469744
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x46970a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x469744
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00419d88
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x469719
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46a2ac
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x46a2e1
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004042c8
jmp 0x46a2ee
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040422c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46b3f8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46b439
mov eax, esi
call fcn.004513dc
test al, al
je 0x46b439
mov eax, dword [ebx + 0x84]
call fcn.004510d8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46b439
push 0
mov eax, dword [ebx + 0x84]
call fcn.004510d8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x46eb00
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46eb2e
mov eax, ebx
call fcn.0046f5b4
cmp dword [ebx + 0x40], 0
je 0x46eb27
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46eb9f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x46eb91
cmp dword [ebx + 8], 0
je 0x46eb50
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x46eb62
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46eb91
cmp dword [ebx + 8], 0
je 0x46eb43
cmp eax, 3
je 0x46eb75
dec eax
jne 0x46eb43
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x46eb43
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46eb43
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x46ebbd
cmp dword [ebx + 0x14], 0xcc
je 0x46ebbd
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046ebc8
pop ebx
ret
Function at 0x47f704
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [eax + 4]
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
lea ecx, [eax + 8]
mov ecx, dword [ecx]
mov dword [edx + 8], ecx
add eax, 0xc
mov eax, dword [eax]
mov dword [edx + 0xc], eax
xor eax, eax
mov dword [esp], 1
mov ecx, dword [edx + eax*4 + 0xc]
mov ebx, ecx
shl ebx, 0x18
shr ecx, 8
or ebx, ecx
mov ecx, ebx
xor ebx, ebx
mov bl, cl
mov ebx, dword [ebx*4 + 0x4cbce0]
mov dword [esp + 4], ebx
mov ebx, ecx
shr ebx, 8
and ebx, 0xff
mov esi, dword [ebx*4 + 0x4cbce0]
mov ebx, ecx
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x4cbce0]
mov dword [esp + 8], ebx
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4cbce0]
mov ebx, esi
shl ebx, 8
shr esi, 0x18
or ebx, esi
xor ebx, dword [esp + 4]
mov esi, dword [esp + 8]
shl esi, 0x10
mov edi, dword [esp + 8]
shr edi, 0x10
or esi, edi
xor ebx, esi
mov esi, ecx
shl esi, 0x18
shr ecx, 8
or esi, ecx
xor ebx, esi
xor ebx, dword [edx + eax*4]
mov ecx, dword [esp]
xor ebx, dword [ecx*4 + 0x4cb864]
mov dword [edx + eax*4 + 0x10], ebx
inc dword [esp]
mov ecx, dword [edx + eax*4 + 4]
xor ecx, dword [edx + eax*4 + 0x10]
mov dword [edx + eax*4 + 0x14], ecx
mov ebx, dword [edx + eax*4 + 8]
xor ebx, ecx
mov dword [edx + eax*4 + 0x18], ebx
mov ecx, dword [edx + eax*4 + 0xc]
xor ecx, ebx
mov dword [edx + eax*4 + 0x1c], ecx
add eax, 4
cmp eax, 0x28
jl 0x47f72f
add esp, 0xc
pop edi
pop esi
pop ebx
ret

Function at 0x481908
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.00407538
ret
Function at 0x482030
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x416ec4]
call fcn.00404ca8
xor eax, eax
push ebp
push 0x482174
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4cc130], 0
jne 0x482083
mov ecx, dword [0x4cd5a0]
mov dl, 1
mov eax, dword [0x407b74]
call fcn.0040cb98
call fcn.00403b90
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402dfc
mov eax, ebx
call fcn.00404a60
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x482184
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405f5c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404a70
test eax, eax
jle 0x48211b
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x482114
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404460
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404448
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408a20
test eax, eax
jne 0x482114
mov ebx, 0x15
jmp 0x482120
mov ebx, 0x10
jmp 0x482120
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4cc130]
call fcn.00481f88
mov eax, dword [ebp - 8]
call fcn.00481f88
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405f74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48217b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004041fc
lea eax, [ebp - 0x10]
mov edx, dword [0x416ec4]
call fcn.00404d78
ret

Function at 0x489544
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.00407538
ret
Function at 0x489824
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff04
mov esi, edx
mov ebx, eax
push 0
push 0x489924
push 0
push ebx
call sub.user32.dll_FindWindowExA
push 0
push 0x48992c
push 0
push eax
call sub.user32.dll_FindWindowExA
push 0
push 0x48993c
push 0
push eax
call sub.user32.dll_FindWindowExA
push 0
push 0x48994c
push 0
push eax
call sub.user32.dll_FindWindowExA
push 0
push 0x489958
push 0
push eax
call sub.user32.dll_FindWindowExA
mov edx, esp
push edx
push 0xfa
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov eax, esi
mov edx, esp
mov ecx, 0xfb
call fcn.00404448
call fcn.0048b5b0
test al, al
je 0x48991a
push 0
push 0x489960
push 0
push ebx
call sub.user32.dll_FindWindowExA
push 0
push 0x48992c
push 0
push eax
call sub.user32.dll_FindWindowExA
push 0
push 0x489968
push 0
push eax
call sub.user32.dll_FindWindowExA
push 0
push 0x48997c
push 0
push eax
call sub.user32.dll_FindWindowExA
push 0
push 0x489990
push 0
push eax
call sub.user32.dll_FindWindowExA
push 0
push 0x4899a4
push 0
push eax
call sub.user32.dll_FindWindowExA
mov edx, esp
push edx
push 0xfa
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov eax, esi
mov edx, esp
mov ecx, 0xfb
call fcn.00404448
add esp, 0xfc
pop esi
pop ebx
ret
Function at 0x489de8
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x489df1
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 5], cl
mov ebx, edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404688
xor eax, eax
push ebp
push 0x489f74
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x48847c]
call fcn.004033d4
mov edi, eax
test bl, bl
jne 0x489e3d
lea ecx, [ebp - 0xc]
mov dl, 1
mov eax, edi
call fcn.00488608
cmp byte [ebp - 5], 0
jne 0x489ecb
mov eax, esi
mov edx, 0x489f90
call fcn.0040422c
jmp 0x489e88
lea eax, [ebp - 0x10]
mov edx, dword [esi]
movzx edx, byte [edx]
dec edx
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x14]
call fcn.00402ce0
mov edx, 0x489f94
lea eax, [ebp - 0x14]
mov cl, 2
call fcn.00402cb0
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.0040443c
mov eax, dword [esi]
call fcn.0047f2fc
test al, al
je 0x489eac
lea edx, [ebp - 0x18]
mov eax, dword [esi]
call fcn.0048ab5c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004047dc
test eax, eax
je 0x489e55
test bl, bl
jne 0x489ecb
lea eax, [ebp - 0x1c]
mov edx, dword [esi]
mov dl, byte [edx]
call fcn.004043c0
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.004047dc
test eax, eax
jne 0x489e55
cmp byte [ebp + 0xc], 0
je 0x489eec
lea eax, [ebp - 0x20]
mov edx, dword [esi]
mov dl, byte [edx]
call fcn.004043c0
mov edx, dword [ebp - 0x20]
mov ecx, 8
mov eax, edi
call fcn.004888dc
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x489f11
mov eax, dword [esi]
call fcn.00404698
push eax
push 0x489f98
mov eax, dword [ebp - 4]
call fcn.00404698
push eax
call sub.mpr.dll_WNetAddConnectionA
jmp 0x489f39
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 4]
mov edx, 0x489fa4
call fcn.004044e4
mov eax, dword [ebp - 0x24]
call fcn.00404698
push eax
mov eax, dword [esi]
call fcn.00404698
push eax
push 1
call sub.kernel32.dll_DefineDosDeviceA
mov eax, dword [esi]
call fcn.0047f2fc
mov ebx, eax
mov eax, edi
call fcn.00403404
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489f7b
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.004041fc
lea eax, [ebp - 0xc]
call fcn.004041d8
lea eax, [ebp - 4]
call fcn.004041d8
ret
Function at 0x48a028
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x208], ebx
mov dword [ebp - 0x204], ebx
mov dword [ebp - 8], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404688
lea edi, [ebp - 0x103]
xor eax, eax
push ebp
push 0x48a233
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404498
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x48a0ab
lea eax, [ebp - 4]
mov edx, 0x48a24c
call fcn.004044a0
push 0
push esi
call sub.user32.dll_GetWindow
mov esi, eax
test esi, esi
je 0x48a208
push 0xfa
push edi
push esi
call sub.user32.dll_GetClassNameA
push 0xfa
lea eax, [ebp - 0x1fe]
push eax
push esi
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 0x204]
mov edx, edi
mov ecx, 0xfb
call fcn.00404448
mov eax, dword [ebp - 0x204]
mov edx, 0x48a258
call fcn.004045e4
je 0x48a127
lea eax, [ebp - 0x208]
mov edx, edi
mov ecx, 0xfb
call fcn.00404448
mov eax, dword [ebp - 0x208]
mov edx, 0x48a270
call fcn.004045e4
jne 0x48a1f6
lea edx, [ebp - 8]
mov eax, esi
call fcn.00489824
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 8]
call fcn.00408840
mov eax, dword [ebp - 0x20c]
push eax
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00408840
mov eax, dword [ebp - 0x210]
pop edx
call fcn.004047dc
test eax, eax
jne 0x48a1cc
lea eax, [ebp - 0x218]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004046f8
mov eax, dword [ebp - 0x218]
lea edx, [ebp - 0x214]
call fcn.00408840
mov eax, dword [ebp - 0x214]
push eax
lea eax, [ebp - 0x220]
lea edx, [ebp - 0x1fe]
mov ecx, 0xfb
call fcn.00404448
mov eax, dword [ebp - 0x220]
lea edx, [ebp - 0x21c]
call fcn.00408840
mov edx, dword [ebp - 0x21c]
pop eax
call fcn.004047dc
test eax, eax
je 0x48a1f6
mov eax, dword [ebp - 4]
call fcn.00404498
cmp eax, 3
jg 0x48a1ea
mov eax, dword [ebp - 8]
call fcn.00404498
cmp eax, 3
jg 0x48a1ea
test bl, bl
je 0x48a1f6
push 0
push 0
push 0x10
push esi
call sub.user32.dll_PostMessageA
push 2
push esi
call sub.user32.dll_GetWindow
mov esi, eax
test esi, esi
jne 0x48a0bd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a23a
lea eax, [ebp - 0x220]
mov edx, 8
call fcn.004041fc
lea eax, [ebp - 8]
mov edx, 2
call fcn.004041fc
ret

Function at 0x48a38c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404688
xor eax, eax
push ebp
push 0x48a3eb
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, 0x48a400
call fcn.004044e4
mov eax, dword [ebp - 8]
call fcn.00404698
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a3f2
lea eax, [ebp - 8]
mov edx, 2
call fcn.004041fc
ret
Function at 0x48a674
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404688
xor eax, eax
push ebp
push 0x48a6c2
push dword fs:[eax]
mov dword fs:[eax], esp
push 3
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404698
push eax
push 0x48a6cc
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a6c9
lea eax, [ebp - 4]
call fcn.004041d8
ret

Function at 0x48a6d4
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x158], ebx
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x10], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
xor eax, eax
push ebp
push 0x48a858
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp - 8]
call fcn.0040422c
xor edx, edx
push ebp
push 0x48a82b
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x154]
mov ecx, 0x48a870
mov edx, dword [ebp - 4]
call fcn.004044e4
mov eax, dword [ebp - 0x154]
call fcn.00404698
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x48a814
mov al, 1
jmp 0x48a80c
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.00404448
test byte [ebp - 0x150], 0x10
setne al
cmp byte [ebp - 0x124], 0x2e
je 0x48a7f6
cmp al, byte [ebp + 0xc]
jne 0x48a7f6
test esi, esi
je 0x48a7b5
test bl, bl
jne 0x48a7a5
mov edx, dword [ebp - 0x10]
mov eax, esi
call fcn.004047dc
test eax, eax
jne 0x48a7b5
test bl, bl
je 0x48a7f6
mov eax, esi
mov edx, dword [ebp - 0x10]
call fcn.004045e4
jne 0x48a7f6
lea eax, [ebp - 0x158]
lea edx, [ebp - 0x20]
mov ecx, 0xe
call fcn.00404448
cmp dword [ebp - 0x158], 0
je 0x48a7e2
mov eax, edi
lea edx, [ebp - 0x20]
mov ecx, 0xe
call fcn.00404448
jmp 0x48a814
mov eax, edi
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.00404448
jmp 0x48a814
lea eax, [ebp - 0x150]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x48a764
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a832
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindClose_1
ret

Function at 0x48ab5c
Capabilities:
Get disk information

Disassembly:
push ebx
push esi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004041d8
push 0x104
lea eax, [esp + 4]
push eax
mov eax, esi
call fcn.00404698
push eax
call sub.kernel32.dll_QueryDosDeviceA
test eax, eax
jle 0x48ab98
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00404448
add esp, 0x108
pop esi
pop ebx
ret
Function at 0x48acb4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd9c
push ebx
xor eax, eax
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x48ae25
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x251]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x251]
call fcn.004098dc
xor eax, eax
push ebp
push 0x48add5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x258]
mov ecx, 0x48ae3c
mov edx, dword [ebp - 8]
call fcn.004044e4
mov eax, dword [ebp - 0x258]
call fcn.004096d8
lea eax, [ebp - 0x25c]
mov ecx, 0x48ae3c
mov edx, dword [ebp - 8]
call fcn.004044e4
mov eax, dword [ebp - 0x25c]
call fcn.004096bc
mov byte [ebp - 1], 0
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x260]
mov ecx, 0x48ae3c
mov edx, dword [ebp - 8]
call fcn.004044e4
mov eax, dword [ebp - 0x260]
call fcn.00404698
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x48ada3
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x1c]
mov ecx, 0xe
call fcn.00404448
cmp dword [ebp - 0xc], 0
setne byte [ebp - 1]
push ebx
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48addc
lea eax, [ebp - 0x264]
mov ecx, 0x48ae3c
mov edx, dword [ebp - 8]
call fcn.004044e4
mov eax, dword [ebp - 0x264]
call fcn.004096d8
ret

Function at 0x48aeac
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404688
mov eax, dword [ebp - 8]
call fcn.00404688
xor eax, eax
push ebp
push 0x48af26
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404698
push eax
mov eax, dword [ebp - 4]
call fcn.00404698
push eax
push 0
call sub.kernel32.dll_FindResourceA
mov esi, eax
push esi
push 0
call sub.kernel32.dll_LoadResource
test eax, eax
setne bl
call fcn.00407540
push esi
call sub.kernel32.dll_FreeResource
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48af2d
lea eax, [ebp - 8]
mov edx, 2
call fcn.004041fc
ret
Function at 0x48b364
Capabilities:
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe90
push ebx
xor ebx, ebx
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x170], ebx
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404688
mov eax, dword [ebp - 8]
call fcn.00404688
mov eax, dword [ebp - 0xc]
call fcn.00404688
xor eax, eax
push ebp
push 0x48b57b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 1
mov bl, 1
xor eax, eax
push ebp
push 0x48b53c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x160]
mov ecx, 0x48b594
mov edx, dword [ebp - 4]
call fcn.004044e4
mov eax, dword [ebp - 0x160]
call fcn.00404698
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x48b525
jmp 0x48b51d
cmp byte [ebp - 0x130], 0x2e
je 0x48b507
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x130]
mov ecx, 0x104
call fcn.00404448
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
call fcn.004047dc
test eax, eax
jne 0x48b507
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
call fcn.00404270
push dword [ebp - 8]
push 0x48b5a0
push dword [ebp - 0x18]
lea eax, [ebp - 0x164]
mov edx, 3
call fcn.00404558
mov eax, dword [ebp - 0x164]
call fcn.0048a2f8
test al, al
je 0x48b4ac
push dword [ebp - 0x1c]
push 0x48b5ac
mov eax, 0x64
call fcn.0048affc
lea edx, [ebp - 0x168]
call fcn.00408d48
push dword [ebp - 0x168]
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404558
push dword [ebp - 8]
push 0x48b5a0
push dword [ebp - 0x1c]
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.00404558
mov eax, dword [ebp - 0x16c]
call fcn.00404698
push eax
push dword [ebp - 4]
push 0x48b5a0
push dword [ebp - 0x18]
lea eax, [ebp - 0x170]
mov edx, 3
call fcn.00404558
mov eax, dword [ebp - 0x170]
call fcn.00404698
push eax
call sub.kernel32.dll_MoveFileA
test eax, eax
jne 0x48b507
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x15c]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x48b414
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b543
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindClose_1
ret

Function at 0x48b5bc
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404688
mov eax, dword [ebp - 8]
call fcn.00404688
xor eax, eax
push ebp
push 0x48b61f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404698
push eax
mov eax, dword [ebp - 4]
call fcn.00404698
push eax
call sub.kernel32.dll_MoveFileA
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b626
lea eax, [ebp - 8]
mov edx, 2
call fcn.004041fc
ret