joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a2044
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, ecx
mov ebp, edx
mov edi, eax
push 0
push 0
push ebp
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
mov ebx, eax
test ebx, ebx
jle 0x5a2086
mov eax, esi
mov ecx, ebx
xor edx, edx
call fcn.00406da0
push ebx
mov eax, dword [esi]
call fcn.00406cf0
push eax
push ebp
push edi
call sub.KERNEL32.DLL_GetLocaleInfoW_1
mov ebx, eax
mov eax, esi
call fcn.005a1ff8
jmp 0x5a20ce
mov eax, dword [0x5d8b88]
cmp dword [eax], 2
jne 0x5a20ce
push 0
push 0
push ebp
push edi
call sub.KERNEL32.DLL_GetLocaleInfoW_1
mov ebx, eax
test ebx, ebx
jle 0x5a20ce
mov eax, ebx
add eax, eax
call fcn.004030b4
mov dword [esp], eax
push ebx
mov eax, dword [esp + 4]
push eax
push ebp
push edi
call sub.KERNEL32.DLL_GetLocaleInfoW_1
mov ebx, eax
mov edx, esi
mov eax, dword [esp]
call fcn.00407c98
mov eax, dword [esp]
call fcn.004030d0
test ebx, ebx
jne 0x5a20db
mov eax, esi
xor edx, edx
call fcn.00406c64
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5a21d0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, ecx
add ebx, ebx
inc ebx
test ebx, ebx
js 0x5a21ec
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x5a21e5
mov edx, esp
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov byte [ebp - 5], 0
xor ecx, ecx
push ebp
push 0x5a2259
push dword fs:[ecx]
mov dword fs:[ecx], esp
call fcn.005a1f9c
mov ebx, eax
movzx eax, bx
xor ecx, ecx
xor edx, edx
call fcn.005a20e4
cmp esi, eax
jne 0x5a222c
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5a2267
mov edx, edi
test edx, edx
jl 0x5a224f
inc edx
mov eax, dword [ebp - 4]
cmp bx, word [eax]
jne 0x5a2249
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5a2267
add eax, 2
dec edx
jne 0x5a2236
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5a2267
movzx eax, byte [ebp - 5]
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x5a2278
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
test esi, esi
js 0x5a228f
mov edi, dword [ebx + esi*4]
dec esi
push edi
jns 0x5a2288
mov dword [ebp + 0x10], esp
mov ebx, ecx
add ebx, ebx
inc ebx
test ebx, ebx
js 0x5a22a5
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x5a229e
mov edx, esp
call fcn.005a21d0
mov ebx, eax
test bl, bl
jne 0x5a231a
xor ecx, ecx
push ebp
push 0x5a230e
push dword fs:[ecx]
mov dword fs:[ecx], esp
call fcn.005a1f9c
and ax, 0x3ff
cmp ax, 9
jne 0x5a2304
xor eax, eax
call fcn.005a09a4
mov esi, eax
cmp dword [ebp + 8], 0
je 0x5a22e3
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov edx, dword [ebp + 0xc]
test edx, edx
jl 0x5a2304
inc edx
mov eax, dword [ebp + 0x10]
cmp esi, dword [eax]
jne 0x5a22fe
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5a231a
add eax, 4
dec edx
jne 0x5a22ee
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5a231a
mov eax, ebx
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov ebx, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x5a25a4
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00406c4c
xor eax, eax
push ebp
push 0x5a2627
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040eac0
mov ebx, 0x65
mov eax, dword [ebp - 8]
call fcn.0040e698
test al, al
jne 0x5a25f0
mov eax, dword [ebp - 8]
call fcn.0040e6bc
dec ebx
jne 0x5a25d9
mov eax, dword [ebp - 4]
call fcn.00406cf0
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
test al, 1
je 0x5a260c
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0040e7d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a262e
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406c5c
ret
Function at 0x5a2a58
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00406c4c
xor eax, eax
push ebp
push 0x5a2b37
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040eac0
mov ebx, 0x65
mov eax, dword [ebp - 8]
call fcn.0040e698
test al, al
jne 0x5a2aa8
mov eax, dword [ebp - 8]
call fcn.0040e6bc
dec ebx
jne 0x5a2a91
mov eax, dword [ebp - 4]
call fcn.00406cf0
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
test al, 1
je 0x5a2ac4
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0040e7d0
mov dl, 1
mov eax, dword [0x47363c]
call fcn.0047938c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5a2b0a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.00486198
call fcn.00418800
mov ecx, eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x80]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5a2b14
mov eax, dword [ebp - 0xc]
call fcn.0040461c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a2b3e
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406c5c
ret
Function at 0x5a5bcc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x5a5bfa
mov eax, ebx
call fcn.005a6680
cmp dword [ebx + 0x40], 0
je 0x5a5bf3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x5a5c6b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x5a5c5d
cmp dword [ebx + 8], 0
je 0x5a5c1c
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 0x5a5c2e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x5a5c5d
cmp dword [ebx + 8], 0
je 0x5a5c0f
cmp eax, 3
je 0x5a5c41
dec eax
jne 0x5a5c0f
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 0x5a5c0f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x5a5c0f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x5a5c89
cmp dword [ebx + 0x14], 0xcc
je 0x5a5c89
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.005a5c94
pop ebx
ret

Function at 0x5b91f4
Capabilities:
Hide graphical window

Disassembly:
push 9
mov eax, dword [0x5d8850]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x5d8850]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_SetForegroundWindow
mov eax, dword [0x5d8850]
mov eax, dword [eax]
cmp byte [eax + 0x57], 0
jne 0x5b924f
mov eax, dword [0x5d8850]
mov eax, dword [eax]
mov byte [eax + 0x57], 1
mov eax, dword [0x5d8850]
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x5b924f
mov edx, dword [0x5d8850]
mov dl, 1
call fcn.004f3364
ret

Function at 0x5b9748
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, eax
push 0xff
lea eax, [esp + 4]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00406e64
add esp, 0x200
pop ebx
ret

Function at 0x5b992c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, eax
push esp
push 0xff
call sub.KERNEL32.DLL_GetTempPathW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00406e64
add esp, 0x200
pop ebx
ret
Function at 0x5bb130
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, eax
push esi
call sub.user32.dll_IsIconic
test eax, eax
je 0x5bb149
push 9
push esi
call sub.user32.dll_ShowWindow
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
je 0x5bb23c
mov eax, dword [0x5d8b88]
cmp dword [eax], 2
jne 0x5bb16a
mov eax, dword [0x5d84f8]
cmp dword [eax], 4
jg 0x5bb19e
mov eax, dword [0x5d8b88]
cmp dword [eax], 1
jne 0x5bb224
mov eax, dword [0x5d84f8]
cmp dword [eax], 4
jg 0x5bb19e
mov eax, dword [0x5d84f8]
cmp dword [eax], 4
jne 0x5bb224
mov eax, dword [0x5d8908]
cmp dword [eax], 0
jle 0x5bb224
xor ebx, ebx
push 0
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov edi, eax
push 0
push esi
call sub.user32.dll_GetWindowThreadProcessId
mov ebp, eax
push 0xffffffffffffffff
push edi
push ebp
call sub.user32.dll_AttachThreadInput
test eax, eax
je 0x5bb1dc
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
sete bl
test bl, bl
jne 0x5bb230
push 0
lea eax, [esp + 4]
push eax
push 0
push 0x2000
call sub.user32.dll_SystemParametersInfoW
push 2
push 0
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoW
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
push 2
mov eax, dword [esp + 4]
push eax
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoW
jmp 0x5bb230
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
sete bl
jmp 0x5bb23e
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5bb248
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406c4c
mov eax, dword [ebp - 8]
call fcn.00406c4c
xor eax, eax
push ebp
push 0x5bb397
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test eax, eax
je 0x5bb286
sub eax, 4
mov eax, dword [eax]
dec eax
jge 0x5bb28d
mov al, 1
jmp 0x5bb29d
mov eax, dword [ebp - 8]
test eax, eax
je 0x5bb299
sub eax, 4
mov eax, dword [eax]
dec eax
setl al
test al, al
jne 0x5bb35c
xor eax, eax
push ebp
push 0x5bb350
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040e650
test al, al
je 0x5bb2cd
mov eax, dword [ebp - 4]
call fcn.00406cf0
push eax
call sub.KERNEL32.DLL_DeleteFileW
push 0
call sub.ole32.dll_CoInitialize
lea edx, [ebp - 0xc]
mov eax, dword [0x5d869c]
call fcn.004fe6fc
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov ecx, 0x5bb3a8
call fcn.00408d58
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov ecx, 0x5bb3b8
call fcn.00408d58
mov eax, dword [ebp - 8]
call fcn.00406cf0
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.0040ea84
mov eax, dword [ebp - 0x18]
call fcn.00406cf0
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.00406cf0
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5bb35c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bb39e
lea eax, [ebp - 0x18]
call fcn.00406c54
lea eax, [ebp - 0x14]
call fcn.00408d14
lea eax, [ebp - 0x10]
call fcn.00408d14
lea eax, [ebp - 0xc]
call fcn.00408d14
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406c5c
ret
Function at 0x5bb3c8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406c4c
xor eax, eax
push ebp
push 0x5bb546
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040e650
test al, al
jne 0x5bb404
mov word [ebp - 6], 0
jmp 0x5bb530
xor eax, eax
push ebp
push 0x5bb529
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x5bb4fd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x473894]
call fcn.0047992c
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x5bb449
cmp eax, 0x1000
jae 0x5bb463
jmp 0x5bb44b
jge 0x5bb463
mov word [ebp - 6], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.004055a8
jmp 0x5bb530
lea edx, [ebp - 0x4c]
mov ecx, 0x40
mov eax, dword [ebp - 0xc]
call fcn.00479640
cmp word [ebp - 0x4c], 0x5a4d
je 0x5bb493
mov word [ebp - 6], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.004055a8
jmp 0x5bb530
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x144]
mov ecx, 0xf8
mov eax, dword [ebp - 0xc]
call fcn.00479640
cmp dword [ebp - 0x144], 0x4550
je 0x5bb4d4
mov word [ebp - 6], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.004055a8
jmp 0x5bb530
movzx eax, word [ebp - 0x12e]
and ax, 0x2000
cmp ax, 0x2000
jne 0x5bb4ed
mov word [ebp - 6], 2
jmp 0x5bb4f3
mov word [ebp - 6], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5bb50d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bb530
cmp dword [ebp - 0xc], 0
je 0x5bb528
mov eax, dword [ebp - 0xc]
call fcn.0040461c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bb54d
lea eax, [ebp - 4]
call fcn.00406c54
ret
Function at 0x5bb910
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5bbace
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x5bb956
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x440]
call fcn.004e8924
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5bb960
mov eax, dword [ebp - 4]
call fcn.005c9310
push 4
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4e0]
call fcn.004d9970
mov eax, dword [ebp - 8]
call fcn.00406cf0
push eax
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x5bbae8
mov edx, 0x5bbb84
mov eax, dword [ebp - 4]
call fcn.005c1094
mov eax, dword [ebp - 0xc]
call fcn.00406cf0
push eax
mov eax, dword [ebp - 4]
call fcn.004e2270
push eax
call sub.user32.dll_MessageBoxW
cmp eax, 6
jne 0x5bbaab
mov eax, dword [ebp - 4]
call fcn.005c5000
lea edx, [ebp - 0x10]
mov eax, dword [0x5d8850]
mov eax, dword [eax]
call fcn.004fcc3c
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.005bc0f0
lea eax, [ebp - 0x14]
mov edx, 0x5bbba4
call fcn.00406fb8
mov eax, dword [ebp - 0x14]
pop edx
call fcn.005bb248
mov eax, dword [ebp - 4]
mov byte [eax + 0x564], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x448]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004f3364
mov eax, dword [ebp - 4]
cmp dword [eax + 0x554], 0
je 0x5bba3b
mov eax, dword [ebp - 4]
add eax, 0x554
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.0040461c
push 0x5bbbf4
push 0x5bbbf4
lea edx, [ebp - 0x18]
mov eax, 3
call fcn.0040df48
mov eax, dword [ebp - 0x18]
push eax
push 0x5bbbf4
push 0x5bbc04
push 0x5bbc1c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x55c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58c]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1c]
call fcn.0040e154
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x57c]
mov ecx, 0x5bbbf4
mov eax, dword [ebp - 4]
call fcn.005c76cc
push 0
call sub.KERNEL32.DLL_GetCurrentProcess
push eax
call sub.KERNEL32.DLL_TerminateProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bbad5
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.00406c5c
lea eax, [ebp - 8]
call fcn.00406c54
ret
Function at 0x5bf164
Capabilities:
Get disk information
Get file attributes
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov ebx, edx
mov byte [ebp - 1], 0
xor eax, eax
push ebp
push 0x5bf1fc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5bf220
call sub.KERNEL32.DLL_OutputDebugStringW
mov eax, ebx
call fcn.00406cf0
mov esi, eax
push esi
call sub.KERNEL32.DLL_GetDriveTypeW
cmp eax, 3
jne 0x5bf1ee
push 0x5bf244
call sub.KERNEL32.DLL_OutputDebugStringW
push esi
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 1
je 0x5bf1f2
push 0x5bf268
call sub.KERNEL32.DLL_OutputDebugStringW
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
mov eax, dword [0x5d85d8]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jne 0x5bf1e6
cmp eax, dword [ebp + 8]
jae 0x5bf1f2
jmp 0x5bf1e8
jge 0x5bf1f2
mov byte [ebp - 1], 1
jmp 0x5bf1f2
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5bf206
push 0x5bf28c
call sub.KERNEL32.DLL_OutputDebugStringW
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5c2984
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x5c29df
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x52e754]
call fcn.0052e864
mov esi, eax
mov dword [ebx + 0x594], esi
mov eax, dword [ebx + 0x560]
mov dword [esi + 0xc], eax
mov byte [esi + 4], 0
mov eax, dword [ebx + 0x37c]
mov dword [esi + 8], eax
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], 0x5c9308
mov eax, esi
call fcn.0052e990
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5c29e9
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x5c29f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5c2aa7
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 4]
mov edx, 0x5c2ac4
mov eax, ebx
call fcn.005bc97c
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x28], esi
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x1c], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
mov eax, 0x5c2af8
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea edx, [ebp - 0x28]
mov ecx, 3
mov eax, 0x5c2b14
call fcn.0040f53c
mov eax, dword [ebp - 4]
call fcn.0040e650
test al, al
je 0x5c2a8c
push 1
push 0
mov eax, dword [ebp - 8]
call fcn.00406cf0
push eax
mov eax, dword [ebp - 4]
call fcn.00406cf0
push eax
push 0x5c2b50
push 0
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c2aae
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406c5c
ret
Function at 0x5c4168
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
mov esi, eax
call sub.KERNEL32.DLL_GetTickCount_1
mov edi, eax
cmp byte [esi + 0x5a4], 0
je 0x5c418e
mov edx, 0x5c41d4
mov eax, 0x5c4200
call fcn.0059ba90
jmp 0x5c41c1
mov eax, dword [0x5d8850]
mov eax, dword [eax]
call fcn.004fc1c4
push 0x64
call sub.KERNEL32.DLL_Sleep
call sub.KERNEL32.DLL_GetTickCount_1
mov ebx, eax
sub ebx, edi
cmp ebx, 0x1f40
jbe 0x5c4174
mov edx, 0x5c41d4
mov eax, 0x5c4268
call fcn.0059ba90
pop edi
pop esi
pop ebx
ret

Function at 0x5c42b8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
mov esi, eax
call sub.KERNEL32.DLL_GetTickCount_1
mov edi, eax
cmp byte [esi + 0x5b4], 0
je 0x5c42de
mov edx, 0x5c4324
mov eax, 0x5c4350
call fcn.0059ba90
jmp 0x5c4311
mov eax, dword [0x5d8850]
mov eax, dword [eax]
call fcn.004fc1c4
push 0x64
call sub.KERNEL32.DLL_Sleep
call sub.KERNEL32.DLL_GetTickCount_1
mov ebx, eax
sub ebx, edi
cmp ebx, 0x1f40
jbe 0x5c42c4
mov edx, 0x5c4324
mov eax, 0x5c43c4
call fcn.0059ba90
pop edi
pop esi
pop ebx
ret
Function at 0x5c491c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5c4b38
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x5c4b54
mov eax, 0x5c4b80
call fcn.0059ba90
mov dl, 1
mov eax, dword [0x59ad38]
call fcn.0059ba5c
mov ebx, eax
mov edx, dword [ebx + 4]
lea eax, [ebp - 4]
mov ecx, 0x5c4be4
call fcn.00407078
mov byte [ebp - 9], 1
xor eax, eax
push ebp
push 0x5c4a0d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x5a2388]
call fcn.005a28a0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
call fcn.0040e650
test al, al
je 0x5c49a2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.005a29b4
push 1
mov ecx, 0x5c4c3c
mov edx, 0x5c4c54
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov byte [ebp - 9], al
mov eax, dword [ebp - 8]
cmp byte [eax + 0x549], 0
je 0x5c49fb
push 0
mov ecx, 0x5c4c78
mov edx, 0x5c4c98
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x14]
xor eax, eax
push ebp
push 0x5c49f1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5c49fb
mov eax, dword [ebp - 0x10]
call fcn.0040461c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5c4a17
mov edx, 0x5c4b54
mov eax, 0x5c4cb0
call fcn.0059ba90
mov eax, dword [ebp - 8]
cmp byte [eax + 0x549], 0
jne 0x5c4aa3
push 0x5c4d14
mov eax, dword [ebp - 8]
push dword [eax + 0x540]
push 0x5c4d54
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040715c
mov eax, dword [ebp - 0x14]
mov edx, 0x5c4b54
call fcn.0059ba90
push 5
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x540]
call fcn.00406cf0
push eax
push 0
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x540]
lea eax, [ebp - 0x18]
mov ecx, 0x5c4d54
call fcn.00407078
mov eax, dword [ebp - 0x18]
call fcn.00406cf0
push eax
push 0x5c4d6c
push 0
call sub.shell32.dll_ShellExecuteW
cmp byte [ebp - 9], 0
jmp 0x5c4b15
push 0x5c4d84
mov eax, dword [ebp - 8]
push dword [eax + 0x540]
push 0x5c4dbc
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.0040715c
mov eax, dword [ebp - 0x1c]
mov edx, 0x5c4b54
call fcn.0059ba90
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x540]
call fcn.00406cf0
push eax
push 0x5c4dcc
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x540]
lea eax, [ebp - 0x20]
mov ecx, 0x5c4d54
call fcn.00407078
mov eax, dword [ebp - 0x20]
call fcn.00406cf0
push eax
push 0x5c4d6c
push 0
call sub.shell32.dll_ShellExecuteW
cmp byte [ebp - 9], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c4b3f
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00406c5c
lea eax, [ebp - 4]
call fcn.00406c54
ret
Function at 0x5c6b70
Capabilities:
Check for time delay via gettickcount
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, 0x3c
call fcn.00403b4c
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x140
mov eax, ebx
call fcn.00406cf0
mov dword [ebp - 0x30], eax
mov eax, esi
call fcn.00406cf0
mov dword [ebp - 0x2c], eax
mov eax, 0x5c6c50
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], 1
xor eax, eax
push ebp
push 0x5c6be1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x40]
push eax
call sub.shell32.dll_ShellExecuteExW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5c6beb
call sub.KERNEL32.DLL_GetTickCount_1
mov esi, eax
mov ebx, esi
mov eax, dword [ebp - 4]
cmp byte [eax + 0x564], 0
je 0x5c6c0c
push 0x5c6c5c
call sub.KERNEL32.DLL_OutputDebugStringW
jmp 0x5c6c48
sub ebx, esi
cmp ebx, 0x2bf20
mov eax, dword [ebp - 8]
call fcn.005c6b40
test al, al
jne 0x5c6c2c
push 0x5c6cb8
call sub.KERNEL32.DLL_OutputDebugStringW
jmp 0x5c6c48
push 0xa
call sub.KERNEL32.DLL_Sleep
mov eax, dword [0x5d8850]
mov eax, dword [eax]
call fcn.004fc1c4
call sub.KERNEL32.DLL_GetTickCount_1
mov ebx, eax
jmp 0x5c6bf4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret