joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4676fb
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x338
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x328], eax
xor eax, eax
push 0x18e
mov word [ebp - 0x324], ax
xor ebx, ebx
lea eax, [ebp - 0x322]
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x32c], edi
call fcn.00401f80
push 0x7f
lea eax, [ebp - 0x8b]
push ebx
push eax
mov byte [ebp - 0x8c], bl
call fcn.00401f80
mov esi, 0x103
push esi
lea eax, [ebp - 0x193]
push ebx
push eax
mov byte [ebp - 0x194], bl
call fcn.00401f80
add esp, 0x24
mov dword [ebp - 0x330], ebx
mov dword [ebp - 0x334], ebx
cmp dword [ebp - 0x328], ebx
je 0x4678c3
cmp edi, ebx
je 0x4678c3
call fcn.0041a958
push dword [ebp - 0x328]
lea eax, [ebp - 0x8c]
push 0x7e
pop ecx
mov byte [edi], bl
call fcn.00438c78
lea eax, [ebp - 0x194]
call fcn.00438cf2
mov edi, 0x4c0778
push edi
lea eax, [ebp - 0x334]
lea ecx, [ebp - 0x8c]
call fcn.004392be
pop ecx
pop ecx
mov dword [ebp - 0x328], eax
cmp eax, ebx
je 0x4677ee
push edi
lea eax, [ebp - 0x334]
xor ecx, ecx
call fcn.004392be
pop ecx
mov dword [ebp - 0x328], eax
mov edx, dword [ebp - 0x328]
call fcn.00439e45
test eax, eax
jne 0x467824
push dword [ebp - 0x328]
mov ecx, 0x104
lea eax, [ebp - 0x194]
call fcn.00438c78
push 0x3a
xor eax, eax
lea edi, [ebp - 0x194]
call fcn.004388d1
pop ecx
pop ecx
lea ebx, [ebp - 0x8c]
call fcn.00466848
test eax, eax
je 0x4678c3
call fcn.0045518e
test eax, eax
jne 0x4678d4
mov ebx, dword [ebp - 0x32c]
mov byte [ebx], al
lea eax, [ebp - 0x324]
push eax
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x4678c3
lea ecx, [ebp - 0x8c]
call fcn.00466bca
push 2
mov dword [ebp - 0x330], eax
push 4
lea eax, [ebp - 0x330]
push eax
call dword [sym.imp.WSOCK32.dll_gethostbyaddr]
mov edi, eax
test edi, edi
je 0x4678ab
mov eax, dword [edi]
test eax, eax
je 0x4678ab
push eax
call fcn.00401a80
pop ecx
test eax, eax
je 0x4678ab
push dword [edi]
mov ecx, esi
mov eax, ebx
call fcn.00438c78
pop ecx
xor edi, edi
jmp 0x4678ae
or edi, 0xffffffff
call dword [sym.imp.WSOCK32.dll_WSACleanup]
test edi, edi
jne 0x4678c3
push ebx
call fcn.00401a80
pop ecx
test eax, eax
jne 0x4678ff
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
cmp eax, 1
jne 0x4678e0
push str.WebSrv22
jmp 0x4678f1
cmp eax, 2
jne 0x4678ec
push str.WebSrv21
jmp 0x4678f1
push str.Mission_Control
mov eax, dword [ebp - 0x32c]
mov ecx, esi
call fcn.00438c78
pop ecx
lea eax, [ebp - 0x194]
push eax
mov eax, esi
mov esi, dword [ebp - 0x32c]
call fcn.00439e04
pop ecx
call fcn.0041a958
mov eax, esi
jmp 0x4678c5
Function at 0x467f56
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x10f]
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x1b0], edi
mov byte [ebp - 0x110], bl
call fcn.00401f80
add esp, 0xc
push 0x8c
lea eax, [ebp - 0x19c]
push ebx
push eax
mov dword [ebp - 0x1a0], ebx
call fcn.00401f80
add esp, 0xc
mov dword [ebp - 0x1a8], ebx
cmp edi, ebx
jne 0x467fc7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
mov esi, 0x90
push esi
push ebx
push edi
mov dword [ebp - 0x1a4], 1
call fcn.00401f80
add esp, 0xc
push str.fTender.cfg
lea edi, [ebp - 0x110]
call fcn.004666da
pop ecx
push ebx
push 0x20
push 3
push closesocket
mov eax, edi
call fcn.0048ebdd
add esp, 0x10
mov dword [ebp - 0x1ac], eax
cmp eax, 0xffffffff
jne 0x468019
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x467fb6
push ebx
lea ecx, [ebp - 0x1a8]
push ecx
push esi
lea ecx, [ebp - 0x1a0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x468046
mov esi, dword [ebp - 0x1ac]
call fcn.0048d2af
mov eax, ebx
jmp 0x467fb8
cmp dword [ebp - 0x1a8], esi
jae 0x468065
push esi
lea eax, [ebp - 0x1a0]
push ebx
push eax
call fcn.00401f80
add esp, 0xc
mov dword [ebp - 0x1a4], ebx
cmp dword [ebp - 0x1a0], ebx
jl 0x468076
cmp dword [ebp - 0x1a0], 7
jle 0x46808d
push esi
lea eax, [ebp - 0x1a0]
push ebx
push eax
call fcn.00401f80
add esp, 0xc
mov dword [ebp - 0x1a4], ebx
mov edi, dword [ebp - 0x1b0]
mov ebx, dword [ebp - 0x1a4]
push 0x24
pop ecx
lea esi, [ebp - 0x1a0]
rep movsd dword es:[edi], dword [esi]
jmp 0x468034

Function at 0x46887f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x103
xor edi, edi
lea eax, [ebp - 0x10f]
mov esi, ecx
push edi
push eax
mov dword [ebp - 0x114], esi
mov byte [ebp - 0x110], 0
call fcn.00401f80
add esp, 0xc
cmp esi, edi
jne 0x4688c6
xor eax, eax
jmp 0x46898f
push str.lnd.reg
push edi
push edi
call fcn.004557a2
pop ecx
pop ecx
push eax
push 0x4af44c
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.004394bf
add esp, 0x14
movsx eax, byte [esi]
call fcn.00438dc5
cmp eax, 0x61
jl 0x468900
cmp eax, 0x7a
jle 0x468919
inc edi
add esi, 0x27c
cmp edi, 0x1a
jl 0x4688ee
lea eax, [ebp - 0x110]
call fcn.0048e81f
jmp 0x46898f
push 0x2f75
mov edi, str.Network.c
mov esi, 0x4ae7a4
push edi
mov edx, esi
lea ecx, [ebp - 0x110]
call fcn.0048d34e
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x468968
push 0x96
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x2f78
push edi
mov edx, esi
lea ecx, [ebp - 0x110]
call fcn.0048d34e
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x4688bf
push ebx
push 0x1a
push 0x27c
push dword [ebp - 0x114]
call fcn.0040257f
add esp, 0x10
mov ecx, ebx
mov esi, eax
call fcn.0048fc61
xor eax, eax
cmp esi, 0x1a
sete al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x46899e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], bl
call fcn.00401f80
add esp, 0xc
push str.lnd.reg
push ebx
push ebx
call fcn.004557a2
pop ecx
pop ecx
push eax
push 0x4af44c
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.004394bf
push 0x2f42
push str.Network.c
mov edx, 0x4ae668
lea ecx, [ebp - 0x110]
call fcn.0048d34e
mov edi, eax
add esp, 0x1c
cmp edi, ebx
jne 0x468a1d
xor eax, eax
jmp 0x468a48
call fcn.00465f3a
mov esi, eax
cmp esi, ebx
je 0x468a19
push edi
push 0x1a
push 0x27c
push esi
call fcn.00402244
mov ecx, edi
call fcn.0048fc61
push ebx
mov eax, esi
call fcn.00465f03
add esp, 0x14
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x46ab84
Capabilities:
Delete file

Disassembly:
push edi
push str.TempWMICCred.tmp
push 0
call fcn.004557a2
push 0
push 0
mov edi, eax
call fcn.0046a22d
push eax
push str.NetCredential__s.log
push 0
call fcn.004557a2
add esp, 0x1c
mov eax, edi
pop edi
jmp fcn.0048e81f
Function at 0x46b3f3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor ebx, ebx
push 0x31
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x3b]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x248], ebx
mov byte [ebp - 0x3c], bl
call fcn.00401f80
add esp, 0xc
push 0xff
lea eax, [ebp - 0x13b]
push ebx
push eax
mov byte [ebp - 0x13c], bl
call fcn.00401f80
add esp, 0xc
push 0x103
lea eax, [ebp - 0x243]
push ebx
push eax
mov byte [ebp - 0x244], bl
call fcn.00401f80
add esp, 0xc
mov edx, esi
call fcn.00439e45
test eax, eax
je 0x46b476
xor eax, eax
jmp 0x46b5f6
push esi
lea edi, [ebp - 0x244]
call fcn.004666da
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
pop ecx
push ebx
mov edi, 0x80000020
push edi
push 1
push ebx
push 7
push 6
lea eax, [ebp - 0x244]
push eax
call esi
mov dword [ebp - 0x250], eax
cmp eax, 0xffffffff
jne 0x46b4f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push edi
push 4
push ebx
push 7
push 6
lea eax, [ebp - 0x244]
push eax
call esi
mov dword [ebp - 0x250], eax
cmp eax, 0xffffffff
jne 0x46b4f8
call fcn.0041a958
sub eax, dword [0x5dd434]
cmp eax, 0xea60
ja 0x46b4e9
call fcn.004957af
test eax, eax
jne 0x46b46f
call fcn.0041a958
mov dword [0x5dd434], eax
jmp 0x46b46f
lea eax, [ebp - 0x3c]
push 0x32
push eax
call fcn.0046a22d
pop ecx
pop ecx
cmp dword [ebp + 8], ebx
je 0x46b51b
push 0x4ae898
push 0x32
pop eax
lea esi, [ebp - 0x3c]
call fcn.00439e04
pop ecx
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x13c]
push str._nLock_was_initiated_by:__s
push eax
call fcn.00401954
add esp, 0xc
push ebx
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.00401a80
mov esi, dword [ebp - 0x250]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
pop ecx
push eax
lea eax, [ebp - 0x13c]
push eax
push esi
call edi
test eax, eax
jne 0x46b569
inc dword [0x5dd3d4]
mov edx, dword [ebp - 0x24c]
call fcn.00439e45
test eax, eax
jne 0x46b5b2
push dword [ebp - 0x24c]
lea eax, [ebp - 0x13c]
push str._nIn_Source_File:__s
push eax
call fcn.00401954
add esp, 0xc
push ebx
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.00401a80
pop ecx
push eax
lea eax, [ebp - 0x13c]
push eax
push esi
call edi
cmp dword [ebp + 0x10], ebx
jle 0x46b5ee
push dword [ebp + 0x10]
lea eax, [ebp - 0x13c]
push str._nFrom_Source_Line:__d
push eax
call fcn.00401954
add esp, 0xc
push ebx
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.00401a80
pop ecx
push eax
lea eax, [ebp - 0x13c]
push eax
push esi
call edi
call fcn.0048d2af
xor eax, eax
inc eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x47e946
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
xor ebx, ebx
push edi
xor eax, eax
cmp dword [eax*4 + 0x5d6778], ebx
je 0x47e95c
inc eax
cmp eax, 2
jl 0x47e94d
mov edi, 0x6cc5c
cmp eax, 2
jge 0x47ea49
mov esi, eax
imul esi, esi, 0x6cc5c
add esi, 0x4fcec0
mov dword [eax*4 + 0x5d6778], 1
push edi
push ebx
push esi
call fcn.00401f80
add esp, 0xc
push 0x64
lea ecx, [esi + 0x4c0]
lea eax, [esi + 0x32c]
pop edx
mov dword [eax - 0x194], ecx
mov dword [eax], ecx
add eax, 4
dec edx
jne 0x47e99d
push ebx
push ebx
mov dword [esi + 0x37608], 1
call fcn.004557a2
push eax
push 0x4ae8ac
mov edi, 0x104
lea eax, [esi + 0x240c]
push edi
push eax
call fcn.004394bf
add esp, 0x18
push str.PaulaConfig.cfg
push ebx
push ebx
call fcn.00455496
pop ecx
pop ecx
push eax
mov ebx, 0x4af44c
push ebx
lea eax, [esi + 0x22a8]
push edi
push eax
call fcn.004394bf
add esp, 0x14
push str.PaulaEmpConfig.cfg
push 0
push 0
call fcn.00455496
pop ecx
pop ecx
push eax
push ebx
lea eax, [esi + 0x21a4]
push edi
push eax
call fcn.004394bf
add esp, 0x14
xor eax, eax
call fcn.00473ea1
test eax, eax
je 0x47ea32
push esi
mov ebx, eax
call fcn.00444541
pop ecx
push esi
call fcn.0047912a
pop ecx
mov ecx, 0x47a694
call fcn.00466346
mov eax, esi
pop edi
pop esi
pop ebx
ret
push edi
push 1
call fcn.00401a3a
pop ecx
pop ecx
mov esi, eax
cmp esi, ebx
jne 0x47e983
push str._n_nERROR:_OUT_OF_MEMORY__Could_not_create_PAULA_object_
call fcn.004979a3
mov dword [esp], 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
jmp 0x47ea45
Function at 0x4864eb
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.00411aa0
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov ebx, 0x40030
push ebx
push str.lpCmdLine
push esi
call fcn.00495666
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
push eax
call edi
push ebx
push str.GetCommandLine__
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.00495666
push eax
call edi
push 0x104
lea eax, [ebp - 0x1004]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test esi, esi
je 0x486570
lea eax, [ebp - 0x1004]
push 0x4afe9c
push eax
call fcn.00401bb0
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00401bb0
add esp, 0x10
push ebx
lea eax, [ebp - 0x1004]
push str.GetModuleFileName__
push eax
call fcn.00495666
push eax
call edi
call fcn.004964c4
mov ecx, dword [ebp + 8]
call fcn.00495612
call fcn.00494c7b
call fcn.00484abe
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret 0x10
Function at 0x488c48
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4fc488]
push ebx
push esi
xor ebx, ebx
push edi
mov esi, 0x90
cmp eax, ebx
jne 0x488cb4
push esi
lea eax, [ebp - 0x94]
push ebx
push eax
mov dword [ebp - 0x98], ebx
call fcn.00401f80
lea edi, [esi + 4]
push edi
lea eax, [ebp - 0x98]
push ebx
push eax
call fcn.00401f80
add esp, 0x18
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], edi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0x88]
mov dword [0x4fc488], eax
xor ebx, ebx
inc ebx
cmp eax, ebx
jne 0x488ce6
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
xor byte [ebp - 0x74], bl
push 2
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_SetKeyboardState]
add esi, eax
jmp 0x488d06
mov edi, dword [sym.imp.USER32.dll_keybd_event]
push 0
push ebx
push 0x45
push esi
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 3
push 0x45
push esi
call edi
mov esi, ebx
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x48c9dd
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x48c9f7
test al, 0x10
je 0x48c9f7
xor eax, eax
inc eax
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x48cb04
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x147]
push ebx
push eax
mov byte [ebp - 0x148], bl
call fcn.00401f80
push 0x3f
lea eax, [ebp - 0x43]
push ebx
push eax
mov byte [ebp - 0x44], bl
call fcn.00401f80
add esp, 0x18
cmp edi, ebx
je 0x48cbaa
mov eax, edi
call fcn.00438cf2
push 0x21e88e
lea eax, [esi - 0x25]
call fcn.00470212
push eax
push str.P2_Tmp__d
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.004394bf
add esp, 0x14
lea eax, [ebp - 0x148]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x48cbaa
push edi
push ebx
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x48cbaa
mov edx, edi
call fcn.00439e45
test eax, eax
jne 0x48cbaa
mov eax, edi
jmp 0x48cbac
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x48cc4b
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x35c
mov eax, dword [0x4e22e4]
xor eax, esp
mov dword [esp + 0x358], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [esp + 0x25d]
push ebx
push eax
mov byte [esp + 0x264], bl
call fcn.00401f80
push esi
lea eax, [esp + 0x161]
push ebx
push eax
mov byte [esp + 0x168], bl
call fcn.00401f80
push 0x13c
lea eax, [esp + 0x30]
push ebx
push eax
mov dword [esp + 0x34], ebx
call fcn.00401f80
add esp, 0x24
cmp edi, ebx
je 0x48cd91
cmp byte [edi], bl
je 0x48cd91
push edi
lea ecx, [esi + 1]
lea eax, [esp + 0x25c]
call fcn.00438c78
push eax
lea eax, [esp + 0x158]
push eax
call fcn.00401ba0
add esp, 0xc
lea esi, [esp + 0x150]
call fcn.00438af2
mov ecx, dword [0x4fa46c]
mov eax, dword [0x4fa468]
add ecx, 0xf
cmp eax, ecx
jle 0x48cd09
mov dword [0x4fa46c], eax
inc eax
mov dword [0x4fa468], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
dec dword [0x4fa468]
mov esi, eax
cmp esi, 0xffffffff
je 0x48cd91
cmp byte [esp + 0x3c], 0x2e
je 0x48cd7a
lea edx, [esp + 0x3c]
call fcn.00439e45
test eax, eax
jne 0x48cd7a
cmp byte [esp + 0x150], 0x2a
jne 0x48cdaa
cmp byte [esp + 0x152], 0x2a
jne 0x48cdaa
cmp byte [esp + 0x151], 0x3f
je 0x48cdaa
movsx eax, byte [esp + 0x151]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00403cd0
pop ecx
pop ecx
test eax, eax
jne 0x48cdaa
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x48cd2f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov ecx, dword [esp + 0x364]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401317
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
inc eax
jmp 0x48cd93
Function at 0x48cdb6
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
push 6
xor ebx, ebx
pop ecx
xor eax, eax
mov dword [ebp - 0x24], ebx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.00439e45
test eax, eax
jne 0x48cea1
mov edx, dword [ebp + 0xc]
call fcn.00439e45
test eax, eax
jne 0x48cea1
push dword [ebp + 8]
call fcn.00401a80
push dword [ebp + 8]
call fcn.00401a80
add eax, 0xa
push eax
push 1
call fcn.00401a3a
push dword [ebp + 0xc]
mov esi, eax
call fcn.00401a80
add eax, 0xa
push eax
push 1
call fcn.00401a3a
add esp, 0x1c
mov edi, eax
cmp esi, ebx
je 0x48cea1
cmp edi, ebx
je 0x48cea1
push dword [ebp + 8]
push esi
call fcn.00401ba0
push dword [ebp + 0xc]
push edi
call fcn.00401ba0
push esi
call fcn.00401a80
push edi
mov byte [eax + esi + 1], bl
call fcn.00401a80
mov byte [eax + edi + 1], bl
mov eax, 0x1694
mov word [ebp - 0x14], ax
add esp, 0x18
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0xe], ebx
mov dword [ebp - 0xa], ebx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call fcn.00401a00
push edi
call fcn.00401a00
xor eax, eax
cmp dword [ebp - 4], ebx
pop ecx
pop ecx
sete al
jmp 0x48cea3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x48cea8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push edi
push 6
xor ebx, ebx
pop ecx
xor eax, eax
mov dword [ebp - 0x20], ebx
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp + 8]
mov edx, edi
call fcn.00439e45
test eax, eax
je 0x48ced3
xor eax, eax
jmp 0x48cf4d
push esi
push edi
call fcn.00401a80
push edi
call fcn.00401a80
add eax, 0xa
push eax
push 1
call fcn.00401a3a
mov esi, eax
add esp, 0x10
cmp esi, ebx
jne 0x48cef8
xor eax, eax
jmp 0x48cf4c
push edi
push esi
call fcn.00401ba0
push esi
call fcn.00401a80
mov byte [eax + esi + 1], bl
mov eax, 0x614
mov word [ebp - 0x10], ax
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xa], ebx
mov dword [ebp - 6], ebx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call fcn.00401a00
xor eax, eax
cmp edi, ebx
pop ecx
sete al
pop esi
pop edi
pop ebx
leave
ret
Function at 0x48d92a
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, 0x103
xor ebx, ebx
push esi
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x107]
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x210], edi
mov byte [ebp - 0x108], bl
call fcn.00401f80
push esi
lea eax, [ebp - 0x20b]
push ebx
push eax
mov byte [ebp - 0x20c], bl
call fcn.00401f80
add esp, 0x18
mov edx, edi
call fcn.00439e45
test eax, eax
jne 0x48da62
mov edx, dword [ebp - 0x214]
call fcn.00439e45
test eax, eax
jne 0x48da62
push dword [ebp - 0x214]
lea edi, [esi + 1]
mov ecx, edi
lea eax, [ebp - 0x108]
call fcn.00438c78
mov edx, eax
call fcn.004399f2
mov esi, edx
call fcn.00439946
mov eax, esi
push eax
call fcn.00401a80
pop ecx
pop ecx
jmp 0x48d9e3
lea ecx, [ebp + eax - 0x108]
cmp byte [ecx], 0x5c
jne 0x48d9e8
mov byte [ecx], bl
dec eax
cmp eax, ebx
jg 0x48d9d5
lea esi, [ebp - 0x108]
call fcn.00438af2
push dword [ebp - 0x210]
mov ecx, edi
lea eax, [ebp - 0x20c]
call fcn.00438c78
mov edx, eax
call fcn.004399f2
mov esi, edx
call fcn.00439946
mov eax, esi
push eax
call fcn.00401a80
pop ecx
pop ecx
jmp 0x48da2e
lea ecx, [ebp + eax - 0x20c]
cmp byte [ecx], 0x5c
jne 0x48da33
mov byte [ecx], bl
dec eax
cmp eax, ebx
jg 0x48da20
lea eax, [ebp - 0x20c]
call fcn.00438ab1
mov edx, eax
lea ecx, [ebp - 0x108]
call fcn.0043ac16
push 0xb
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
jmp 0x48da64
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x48de2e
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [0x4fc000]
xor ebx, ebx
call fcn.004447b8
xor esi, esi
jmp 0x48de64
cmp esi, 0x56ce
jge 0x48de6c
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xa8]
je 0x48de6a
mov edi, dword [0x4fc000]
call fcn.0044476b
inc esi
test eax, eax
jne 0x48de45
jmp 0x48de6c
mov ebx, eax
mov eax, ebx
call fcn.0048d303
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x48e30d
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 0x14]
push 0x103
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x107]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x110], esi
mov byte [ebp - 0x108], 0
call fcn.00401f80
push 0x1c8
push 1
call fcn.00401a3a
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x48e37a
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x48e46b
mov eax, dword [0x4fc000]
test eax, eax
jne 0x48e38d
call fcn.00444592
mov dword [0x4fc000], eax
push ebx
push edi
mov ebx, eax
call fcn.00444541
xor ebx, ebx
pop ecx
cmp dword [0x4fc000], ebx
jne 0x48e3b5
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
call fcn.00401a00
pop ecx
jmp 0x48e468
push 0xc
lea eax, [edi + 4]
push ebx
push eax
mov dword [edi], ebx
call fcn.00401f80
mov eax, dword [ebp + 8]
push dword [ebp - 0x114]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x18], eax
push 0x40
lea eax, [edi + 0x24]
pop ecx
mov dword [edi + 0x10], esi
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
call fcn.00438c78
push dword [ebp - 0x10c]
mov ecx, 0x104
lea eax, [ebp - 0x108]
call fcn.00438c78
mov esi, eax
call fcn.00438af2
mov eax, esi
push eax
push 0x40
lea eax, [edi + 0x64]
pop ecx
call fcn.00438c78
mov eax, dword [ebp + 0x18]
add esp, 0x18
mov dword [edi + 0xa4], eax
mov dword [edi + 0xb0], ebx
call fcn.0041a958
mov dword [edi + 0xb4], eax
lea eax, [edi + 0xb8]
call fcn.00438cf2
push ebx
push ebx
push edi
push 0x48de85
push dword [ebp - 0x110]
mov dword [edi + 0xac], ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0xa8], eax
cmp eax, ebx
jne 0x48e46a
mov eax, edi
call fcn.0048d303
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00401317
leave
ret 0x14