joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d1e0e
Capabilities:
Enumerate files on windows

Disassembly:
push 0x26c
mov eax, 0x5d9451
call fcn.00506dfb
mov dword [ebp - 0x274], ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x260]
push 0x250
push 0
push eax
call fcn.0056b050
push 0x5c
push dword [edi]
call fcn.0056bc73
mov ecx, eax
add esp, 0x14
test ecx, ecx
jne 0x4d1e50
or ecx, 0xffffffff
jmp 0x4d1e54
sub ecx, dword [edi]
sar ecx, 1
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
dec eax
cmp ecx, eax
jge 0x4d1e6a
push 0x5f1b04
mov ecx, edi
call fcn.0042e473
push 0x61cfd8
lea eax, [ebp - 0x26c]
push edi
push eax
call fcn.0042dfbd
add esp, 0xc
lea ecx, [ebp - 0x260]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x26c]
mov ebx, eax
add ecx, 0xfffffff0
call fcn.00412ac4
cmp ebx, 0xffffffff
je 0x4d2013
cmp dword [0x683574], 0
jne 0x4d200c
test byte [ebp - 0x260], 0x10
jne 0x4d1ff6
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x264]
call fcn.00413f09
and dword [ebp - 4], 0
lea ecx, [ebp - 0x264]
push 0
push 0x60ce98
call fcn.0042ea61
cmp eax, 0xffffffff
jne 0x4d1ef9
lea ecx, [ebp - 0x264]
call fcn.004124d1
push 3
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x264]
call fcn.00434d0c
push eax
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 1
call fcn.00411f3a
mov ecx, dword [ebp - 0x270]
mov byte [ebp - 4], 0
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push 0x61ffc0
lea ecx, [ebp - 0x264]
call fcn.0042e69b
test eax, eax
je 0x4d1f8b
mov eax, dword [ebp - 0x264]
cmp dword [eax - 0xc], 0
je 0x4d1f8b
push 0x621e30
lea ecx, [ebp - 0x264]
call fcn.0042e69b
test eax, eax
je 0x4d1f8b
push 0x621e38
lea ecx, [ebp - 0x264]
call fcn.0042e69b
test eax, eax
je 0x4d1f8b
push 0x621e40
lea ecx, [ebp - 0x264]
call fcn.0042e69b
test eax, eax
jne 0x4d1fe4
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00412393
add eax, 0x10
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x268]
push 0x621e48
push eax
call fcn.004607c0
add esp, 0xc
mov ecx, esp
push 0x61ffb0
call fcn.00413f09
mov esi, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x274]
push esi
call fcn.0045ed1e
lea ecx, [esi - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x264]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4d1ea7
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
inc eax
call fcn.00506da5
ret 4
Function at 0x4d2830
Capabilities:
Create thread
Resume thread

Disassembly:
push 4
mov eax, 0x5d94d7
call fcn.00506dc7
mov edi, ecx
xor ebx, ebx
push 0x200
mov dword [ebp - 4], ebx
call fcn.00506ecd
pop ecx
push dword [ebp + 8]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 8
call fcn.00506ecd
lea ecx, [ebp - 0x10]
push ecx
push 4
push eax
push 0x4e8f50
push ebx
mov dword [eax], edi
mov dword [eax + 4], esi
push ebx
mov dword [ebp - 0x10], ebx
call fcn.005a2a64
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x4d2894
push esi
mov ecx, edi
call fcn.0045f364
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
call fcn.00506d90
ret 4

Function at 0x4d2a83
Capabilities:
Create thread
Resume thread

Disassembly:
push 4
mov eax, 0x5d954f
call fcn.00506dc7
mov edi, ecx
xor ebx, ebx
push 0x200
mov dword [ebp - 4], ebx
call fcn.00506ecd
pop ecx
push dword [ebp + 8]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 8
call fcn.00506ecd
lea ecx, [ebp - 0x10]
push ecx
push 4
push eax
push 0x4e8f8c
push ebx
mov dword [eax], edi
mov dword [eax + 4], esi
push ebx
mov dword [ebp - 0x10], ebx
call fcn.005a2a64
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x4d2ae7
push esi
mov ecx, edi
call fcn.0045f364
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
call fcn.00506d90
ret 4

Function at 0x4d342b
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
xor edi, edi
push edi
push edi
push edi
push edi
push str.Upload
call dword [sym.imp.WININET.dll_InternetOpenW]
push edi
push edi
push 3
push edi
push edi
push dword [ebp + 0xc]
mov dword [ebp - 8], eax
push dword [ebp + 8]
mov dword [ebp - 0x14], 0x601954
push eax
mov dword [ebp - 0x10], edi
call dword [sym.imp.WININET.dll_InternetConnectW]
push 0x20200400
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], eax
push ecx
push edi
push edi
push dword [ebp + 0x10]
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
push 0x28
pop esi
push esi
mov ebx, eax
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.0056b050
add esp, 0xc
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp + 0x18]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
push edi
push 8
push edi
push eax
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0x14]
push ebx
call dword [sym.imp.WININET.dll_InternetWriteFile]
mov edi, eax
xor eax, eax
push eax
push eax
push eax
push ebx
call dword [sym.imp.WININET.dll_HttpEndRequestW]
push dword [ebp - 4]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 8]
call esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d7d6b
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4d7dd4
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x4d7dce
mov eax, dword [ebp + 8]
push ebx
push edi
mov eax, dword [eax - 0xc]
lea ebx, [eax*2 + 2]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4d7dcc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4d7dcc
push ebx
push dword [ebp + 8]
push eax
call fcn.0056a550
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
inc esi
pop edi
pop ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00412ac4
mov eax, esi
pop esi
pop ebp
ret

Function at 0x4dbe4f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
push 0
push dword [esi + 0x2b8]
call dword [sym.imp.USER32.dll_FindWindowW]
mov bl, byte [ebp + 8]
xor edx, edx
push 5
pop ecx
test bl, bl
cmovne edx, ecx
push edx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, 0x3f1
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
test bl, bl
jne 0x4dbea3
cmp byte [ebp + 0xc], bl
je 0x4dbea3
push 0
push 0x96
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4dc20c
Capabilities:
Check if file exists
Create process on windows
Delete directory

Disassembly:
push 0x28
mov eax, 0x5d9d0a
call fcn.00506e32
mov ebx, ecx
and dword [ebp - 4], 0
lea eax, [ebp - 0x24]
xor edi, edi
inc edi
push eax
mov dword [ebp - 0x1c], edi
call fcn.004ed18b
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x18]
pop ecx
dec eax
mov dword [ebp - 0x14], eax
test eax, eax
js 0x4dc368
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebx + 0x3c]
call fcn.0044aea5
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x14], 1
jne 0x4dc34e
push dword [ebp - 0x14]
lea ecx, [ebx + 0x14]
call fcn.004591a5
push eax
lea ecx, [ebp - 0x2c]
call fcn.00452e1f
push dword [ebp - 0x2c]
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4dc330
call fcn.0042fb20
cmp eax, 0x17
jl 0x4dc305
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
push eax
call fcn.00412393
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
push 0x61c0c0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0042e677
test eax, eax
jne 0x4dc2cb
push 5
push eax
push eax
push dword [ebp - 0x2c]
push str.taskbarunpin
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.0042fb20
cmp eax, 0x1b
jge 0x4dc2f9
push 0x61c0b0
lea ecx, [ebp - 0x18]
call fcn.0042e677
test eax, eax
jne 0x4dc2f9
push 5
push eax
push eax
push dword [ebp - 0x2c]
push str.startunpin
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 1
call fcn.00412ac4
push 1
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
push eax
call fcn.00412393
pop ecx
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.004dc6e6
xor ecx, ecx
test eax, eax
cmove edi, ecx
mov dword [ebp - 0x1c], edi
push 0
push dword [ebp - 0x14]
push 0x80e
push dword [ebx]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.004570ec
call fcn.00472ad9
cmp dword [0x683574], 0
je 0x4dc360
xor eax, eax
jmp 0x4dc395
mov eax, dword [ebp - 0x14]
jmp 0x4dc234
test edi, edi
je 0x4dc379
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0
je 0x4dc393
push dword [ebp - 0x24]
call fcn.004ed503
pop ecx
jmp 0x4dc393
mov eax, edi
call fcn.00506d90
ret
Function at 0x4dc6e6
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, dword [ebp + 0xc]
mov ebx, eax
test edi, edi
je 0x4dc747
test bl, 0x10
jne 0x4dc747
push dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x4dc720
xor esi, esi
inc esi
jmp 0x4dc780
cmp eax, 5
jne 0x4dc780
push dword [ebp + 8]
call fcn.004e5952
pop ecx
test bl, 1
je 0x4dc740
and ebx, 0xfffffffe
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp + 8]
call edi
jmp 0x4dc77e
push edi
push dword [ebp + 8]
call fcn.004ca248
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4dc780
push dword [ebp + 8]
call fcn.004e5952
pop ecx
test bl, 1
je 0x4dc773
and ebx, 0xfffffffe
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
push dword [ebp + 8]
call fcn.004ca248
pop ecx
pop ecx
mov esi, eax
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4e0918
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 8
call fcn.00506ecd
pop ecx
mov ecx, eax
test ecx, ecx
je 0x4e0932
and dword [ecx], 0
and dword [ecx + 4], 0
jmp 0x4e0934
xor ecx, ecx
mov eax, dword [ebp + 8]
push ecx
push 0
push 0x4f5287
mov dword [ecx], eax
mov dword [ecx + 4], 0x4be9b1
call fcn.005a29d8
add esp, 0xc
pop ebp
ret
Function at 0x4e0f33
Capabilities:
Create process on windows

Disassembly:
push 0x14c
mov eax, 0x5daab3
call fcn.00506dc7
mov ecx, dword [0x682eb4]
lea eax, [ebp - 0x18]
and dword [ebp - 4], 0
push eax
call fcn.0048264a
mov byte [ebp - 4], 1
call fcn.0041279d
push eax
lea ecx, [ebp - 0x10]
call fcn.00411d94
lea ecx, [ebp - 0x158]
call fcn.0042d04b
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 3
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.00412393
pop ecx
add eax, 0x10
mov ecx, 0x682dc4
mov dword [esi], eax
call fcn.004828f5
test al, al
je 0x4e0fbb
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x4e0fbb
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x10]
call fcn.00411f3a
lea ecx, [ebp - 0x38]
call fcn.0042ca82
mov edi, dword [ebp - 0x10]
push ecx
mov esi, esp
mov dword [ebp - 0x1c], esp
add edi, 0xfffffff0
mov byte [ebp - 4], 4
push edi
mov dword [ebp - 0x20], esi
call fcn.00412393
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
mov esi, esp
add eax, 0xfffffff0
mov byte [ebp - 4], 5
push eax
mov dword [ebp - 0x20], esi
call fcn.00412393
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x14]
pop ecx
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.00434114
push dword [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.00479ef9
pop ecx
test al, al
je 0x4e1029
lea eax, [ebp - 0x14]
push eax
call fcn.004a5ee9
pop ecx
jmp 0x4e1067
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0056b050
mov eax, dword [ebp - 0x18]
add esp, 0xc
and dword [ebp - 0x6c], 0
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], esi
push eax
mov dword [ebp - 0x68], 0x60df58
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x70], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea ecx, [ebp - 0x38]
call fcn.0042e60b
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea ecx, [ebp - 0x158]
call fcn.0042d806
mov ecx, edi
call fcn.00412ac4
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
call fcn.00506d90
ret 4
Function at 0x4e4819
Capabilities:
Create process on windows

Disassembly:
push 0x54
mov eax, 0x5db17a
call fcn.00506dc7
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 0x20]
and dword [ebp - 4], 0
add eax, 0xfffffff0
push eax
call fcn.00412393
mov ebx, eax
lea esi, [ebx + 0x10]
mov dword [ebp - 0x20], esi
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
push ecx
call fcn.00412393
pop ecx
pop ecx
mov dword [ebp - 0x1c], eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x24], edi
cmp dword [esi - 0xc], 0
mov byte [ebp - 4], 2
je 0x4e48b4
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.0056b050
and dword [ebp - 0x58], 0
lea eax, [ebp - 0x60]
add esp, 0xc
mov dword [ebp - 0x60], edi
xor edi, edi
mov dword [ebp - 0x50], esi
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
inc edi
mov dword [ebp - 0x54], 0x60df58
push eax
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x5c], 0x40
call esi
cmp eax, edi
je 0x4e4923
lea eax, [ebp - 0x60]
mov dword [ebp - 0x54], 0x620dd0
push eax
call esi
jmp 0x4e4923
call fcn.0041279d
push eax
lea ecx, [ebp - 0x10]
call fcn.00411d94
push edi
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push 0x623c28
push eax
call fcn.00412690
add esp, 0xc
lea ecx, [ebp - 0x14]
push 0x623c54
call fcn.00413f09
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push 4
pop edx
push 0x10
push eax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], dl
push eax
test ecx, ecx
lea eax, [ecx - 0x2cc]
cmove eax, edx
push dword [eax]
call fcn.004a7bd8
mov ecx, dword [ebp - 0x14]
add esp, 0x10
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x1c]
call fcn.00412ac4
mov ecx, ebx
call fcn.00412ac4
lea ecx, [ebp + 8]
call fcn.00457306
call fcn.00506d90
ret 0x50

Function at 0x4e5276
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
mov esi, ecx
push eax
xor eax, eax
push eax
push esi
push 0x4921a9
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [esi + 4], eax
test eax, eax
pop esi
setne cl
mov eax, ecx
mov esp, ebp
pop ebp
ret

Function at 0x4e5694
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x67e2d4]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x210], 0
lea eax, [ebp - 0x20c]
push esi
mov esi, dword [ebp + 8]
push 0x208
push 0
push eax
call fcn.0056b050
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00413f09
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00506d7f
mov esp, ebp
pop ebp
ret 4
Function at 0x4e57cb
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe54
mov eax, dword [0x67e2d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push eax
mov ebx, 0x200
lea eax, [ebp - 0x404]
push ebx
push eax
call fcn.0059c31f
lea eax, [ebp - 0x404]
push eax
call fcn.004e5952
neg eax
push 0x5fffcc
sbb esi, esi
lea eax, [ebp - 0x404]
push ebx
push eax
and esi, 1
call fcn.0059fd7e
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0xc04]
push ebx
push eax
call fcn.0059c31f
push 0x600004
lea eax, [ebp - 0xc04]
push ebx
push eax
call fcn.0059fd7e
add esp, 0x34
lea eax, [ebp - 0xe54]
push eax
lea eax, [ebp - 0xc04]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
test dword [ebp - 0xe54], 0x400
jne 0x4e5922
test byte [ebp - 0xe54], 0x10
je 0x4e58e5
lea eax, [ebp - 0xe28]
push 0x6000d0
push eax
call fcn.0059c383
pop ecx
pop ecx
test eax, eax
je 0x4e5922
lea eax, [ebp - 0xe28]
push 0x6000fc
push eax
call fcn.0059c383
pop ecx
pop ecx
test eax, eax
je 0x4e5922
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x804]
push ebx
push eax
call fcn.0059c31f
lea eax, [ebp - 0xe28]
push eax
lea eax, [ebp - 0x804]
push ebx
push eax
call fcn.0059fd7e
lea eax, [ebp - 0x804]
push eax
call fcn.004e57cb
add esp, 0x1c
test eax, eax
jne 0x4e5922
xor esi, esi
jmp 0x4e5922
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x804]
push ebx
push eax
call fcn.0059c31f
lea eax, [ebp - 0xe28]
push eax
lea eax, [ebp - 0x804]
push ebx
push eax
call fcn.0059fd7e
lea eax, [ebp - 0x804]
push eax
call fcn.004e5952
add esp, 0x1c
neg eax
sbb eax, eax
and esi, eax
lea eax, [ebp - 0xe54]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4e585b
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00506d7f
mov esp, ebp
pop ebp
ret

Function at 0x4e5ec6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x67e2d4]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x210], 0
lea eax, [ebp - 0x20c]
push esi
mov esi, dword [ebp + 8]
push 0x208
push 0
push eax
call fcn.0056b050
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00413f09
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00506d7f
mov esp, ebp
pop ebp
ret 4
Function at 0x4e5fbe
Capabilities:
Suspend thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x19c]
test eax, eax
je 0x4e5ff3
push 0xbb8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4e5ff3
push dword [esi + 0x19c]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [esi + 0x19c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x682bb4]
test ecx, ecx
je 0x4e6003
mov eax, dword [ecx]
push 1
call dword [eax]
and dword [0x682bb4], 0
mov ecx, dword [0x682eb4]
test ecx, ecx
je 0x4e601b
mov eax, dword [ecx]
push 1
call dword [eax + 8]
and dword [0x682eb4], 0
mov ecx, dword [0x68313c]
test ecx, ecx
je 0x4e6032
mov eax, dword [ecx]
push 1
call dword [eax]
and dword [0x68313c], 0
mov ecx, 0x6836d0
call fcn.004e5f66
mov ecx, esi
pop esi
jmp method.meiui::CUIApp.virtual_8
push esi
mov esi, dword [ecx + 0x16c]
test esi, esi
je 0x5365cf
mov ecx, esi
call fcn.00535790
push 8
push esi
call fcn.005066f1
pop ecx
pop ecx
call dword [sym.imp.ole32.dll_OleUninitialize]
pop esi
jmp dword [sym.imp.ole32.dll_CoUninitialize]
Function at 0x4e6ae9
Capabilities:
Create process on windows

Disassembly:
push 0xdc
mov eax, 0x5db679
call fcn.00506dc7
and dword [ebp - 4], 0
lea ecx, [ebp - 0xe8]
call fcn.0042d4f8
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 1
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x14], esi
mov edi, dword [ebp + 8]
add edi, 0xfffffff0
push edi
call fcn.00412393
pop ecx
add eax, 0x10
mov ecx, 0x682bb8
mov dword [esi], eax
call fcn.0047d6be
test al, al
je 0x4e6c8a
lea ecx, [ebp - 0x38]
call fcn.0042ca82
mov ecx, dword [0x682eb4]
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
call fcn.0048264a
mov eax, dword [ebp - 0xc8]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
push eax
call fcn.00412393
mov ebx, eax
lea ecx, [ebx + 0x10]
mov dword [ebp - 0x20], ecx
mov esi, esp
mov dword [ebp - 0x1c], esp
push ebx
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], esi
call fcn.00412393
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
mov esi, esp
add eax, 0xfffffff0
mov byte [ebp - 4], 5
push eax
mov dword [ebp - 0x18], esi
call fcn.00412393
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x10]
pop ecx
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.00434114
push dword [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.00479ef9
pop ecx
test al, al
jne 0x4e6bd4
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x10]
call fcn.00411f3a
push dword [ebp - 0x10]
call fcn.00479ef9
pop ecx
test al, al
je 0x4e6bed
lea eax, [ebp - 0x10]
push eax
call fcn.004a5ee9
pop ecx
jmp 0x4e6c5a
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x18], esi
call fcn.00412393
add eax, 0x10
pop ecx
mov dword [esi], eax
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0x1c]
push eax
call fcn.0042fedd
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0056b050
mov eax, dword [ebp - 0x1c]
add esp, 0xc
and dword [ebp - 0x6c], 0
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], esi
push eax
mov dword [ebp - 0x68], 0x60df58
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x70], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, ebx
call fcn.00412ac4
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea ecx, [ebp - 0x38]
call fcn.0042e60b
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea ecx, [ebp - 0xe8]
call fcn.0042d9a9
mov ecx, edi
call fcn.00412ac4
call fcn.00506d90
ret 4

Function at 0x4e8f29
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
xor edx, edx
lea eax, [ebp - 4]
push eax
push edx
push ecx
push 0x499045
push edx
push edx
mov dword [ebp - 4], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x4e8fc0
Capabilities:
Create thread

Disassembly:
push 0x1c
mov eax, 0x5dbb08
call fcn.00506dc7
mov ebx, ecx
and dword [ebp - 4], 0
push 0x10
call fcn.00506ecd
pop ecx
mov ecx, eax
test ecx, ecx
je 0x4e8ff1
mov edi, ecx
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00454c66
mov esi, eax
jmp 0x4e8ff3
xor esi, esi
lea eax, [ebp + 0x10]
mov dword [esi], ebx
lea ecx, [esi + 4]
push eax
call fcn.00411f3a
lea eax, [ebp + 0x28]
lea ecx, [esi + 8]
push eax
call fcn.00411f3a
lea eax, [ebp + 0xc]
lea ecx, [esi + 0xc]
push eax
call fcn.00411f3a
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
push ebx
push esi
push 0x4e9681
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
mov esi, 0x5f1b30
push esi
call fcn.00413f09
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push esi
mov byte [ebp - 4], 1
call fcn.00413f09
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push esi
mov byte [ebp - 4], 2
call fcn.00413f09
push 6
push ecx
mov esi, esp
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x24], esi
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
push eax
call fcn.00412393
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov esi, esp
add eax, 0xfffffff0
mov dword [ebp - 0x24], esp
push eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x28], esi
call fcn.00412393
add eax, 0x10
mov dword [esi], eax
mov ecx, esp
mov byte [ebp - 4], 5
push 0x60e9c4
call fcn.00413f09
mov ecx, 0x67e110
mov byte [ebp - 4], bl
call fcn.0043eb20
lea ecx, [ebp + 8]
call fcn.00457306
call fcn.00506d90
ret 0x50