joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b450
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4b06f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [ebp + 8]
push 0
push 0
or eax, 0x8000
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x43b4ac
lea eax, [ebp - 0x20c]
push eax
push str.CreateFreeDirectory____SHGetFolderPath__s__failed_
call fcn.004699e0
add esp, 8
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f33a
mov esp, ebp
pop ebp
ret
cmp word [esi], 0x5c
je 0x43b4c4
push 0x492588
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x5c
push esi
call fcn.00473297
add esp, 8
test eax, eax
je 0x43b50d
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.0047337b
mov esi, eax
xor eax, eax
mov word [esi], ax
lea eax, [ebp - 0x20c]
push eax
call fcn.0043ba50
mov eax, 0x5c
add esp, 0xc
mov word [esi], ax
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x43b52d
push str.CreateFreeDirectory____CreateDirectory_failed_
call fcn.00469d40
add esp, 4
push 3
lea eax, [ebp - 0x20c]
push 0x10000000
push eax
call fcn.0043a890
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop esi
call fcn.0046f33a
mov esp, ebp
pop ebp
ret
Function at 0x43b950
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4b06f0]
xor eax, ebp
mov dword [ebp - 4], eax
movdqu xmm0, xmmword [str.XY1F68TI]
mov ax, word [0x493ba4]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [ebp - 0x18]
mov dword [ebp - 0x1c], edi
lea ecx, [esi + 2]
movdqu xmmword [ebp - 0x18], xmm0
mov word [ebp - 8], ax
lea esp, [esp]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x43b990
sub esi, ecx
mov ecx, edi
sar esi, 1
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43b9a4
sub ecx, edx
sar ecx, 1
push ecx
push edi
push dword [ebp + 0x10]
push ebx
call fcn.00470a11
mov ecx, ebx
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43b9c6
sub ecx, edx
xor edi, edi
sar ecx, 1
xor edx, edx
cmp dword [ebp + 0x14], edi
je 0x43ba02
test ecx, ecx
je 0x43ba24
mov eax, 0x536
add ax, word [ebx + edi*2]
xor ax, word [ebp + edx*2 - 0x18]
inc edx
cmp edx, esi
mov word [ebx + edi*2], ax
sbb eax, eax
inc edi
and edx, eax
cmp edi, ecx
jb 0x43b9e2
jmp 0x43ba24
test ecx, ecx
je 0x43ba24
mov ax, word [ebp + edx*2 - 0x18]
inc edx
xor word [ebx + edi*2], ax
cmp edx, esi
sbb eax, eax
and edx, eax
mov eax, 0xfaca
add word [ebx + edi*2], ax
inc edi
cmp edi, ecx
jb 0x43ba06
push 1
push ebx
push dword [ebp - 0x1c]
push str.CryptPassword__s___s____d
call fcn.004699e0
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
mov eax, 1
pop edi
pop esi
pop ebx
call fcn.0046f33a
mov esp, ebp
pop ebp
ret

Function at 0x43ba50
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4b06f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
mov edi, 1
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
jle 0x43bb0c
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, eax
cmp word [esi + ebx*2 - 2], 0x5c
jne 0x43ba9e
xor eax, eax
mov word [esi + ebx*2 - 2], ax
cmp word [esi], 0
jne 0x43bab7
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f33a
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43bb0e
push 0x5c
push esi
call fcn.0047337b
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x43baf0
xor eax, eax
push esi
mov word [ebx], ax
call fcn.0043ba50
mov edi, eax
add esp, 4
mov eax, 0x5c
mov word [ebx], ax
test edi, edi
je 0x43bb0e
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f33a
mov esp, ebp
pop ebp
ret
xor edi, edi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046f33a
mov esp, ebp
pop ebp
ret
Function at 0x43bcd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
lea eax, [ebp - 8]
xor ebx, ebx
push eax
push dword [ebp + 0x10]
mov dword [ebp - 8], ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00455cf0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x43bdf0
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x43bdf0
push esi
mov esi, dword [ebp - 8]
push esi
push dword [ebp + 0x14]
mov dword [ebp - 4], ebx
push str.ExtractRes__s___LgData_d_oct
call fcn.004699e0
add esp, 0xc
cmp esi, 0x100000
jbe 0x43bdd1
mov dword [ebp - 0x10], ebx
mov eax, 0x100000
test esi, esi
je 0x43bde6
cmp dword [0x4b6534], 0
jne 0x43bde6
push 0
lea ecx, [ebp - 4]
push ecx
push eax
push edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
push ebx
push dword [ebp - 4]
push str.ExtractRes_____WriteFile__d____d
call fcn.004699e0
mov eax, dword [ebp - 0x10]
add esp, 0xc
add eax, dword [ebp - 4]
mov ecx, 0x4b0010
mov dword [ebp - 0x10], eax
push 0
push eax
call fcn.004293d0
cmp esi, 0x100000
jbe 0x43bde6
sub esi, 0x100000
mov ecx, 0x100000
cmp esi, 0x100000
mov eax, esi
cmova eax, ecx
add edi, dword [ebp - 4]
test esi, esi
jne 0x43bd53
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43be00
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x4b06f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x464], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0046fe20
add esp, 0xc
lea eax, [ebp - 0x20c]
xor edi, edi
push 0x493fc0
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x460], eax
test eax, eax
je 0x43bf99
cmp eax, 0xffffffff
je 0x43bf99
jmp 0x43be90
mov cx, word [ebp - 0x42e]
mov ax, word [ebp - 0x430]
test cx, cx
jne 0x43bea9
cmp ax, 0x2e
je 0x43bf21
cmp word [ebp - 0x42c], 0
jne 0x43bebe
cmp ax, 0x2e
jne 0x43bebe
cmp cx, ax
je 0x43bf21
lea eax, [ebp - 0x430]
push eax
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test byte [ebp - 0x45c], 0x10
je 0x43bef6
push dword [ebp - 0x464]
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0043be00
add esp, 0xc
mov edi, eax
jmp 0x43bf0a
lea eax, [ebp - 0x430]
push esi
push eax
call fcn.00470c8b
add esp, 8
test eax, eax
je 0x43bf5b
push edi
lea eax, [ebp - 0x20c]
push eax
push esi
push ebx
push str.FindMyFile__s___s___File_s_d
call fcn.004699e0
add esp, 0x14
lea eax, [ebp - 0x45c]
push eax
push dword [ebp - 0x460]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43be90
push dword [ebp - 0x460]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f33a
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
mov edi, 1
push eax
push 0x104
push dword [ebp - 0x464]
call fcn.00470452
add esp, 0xc
push dword [ebp - 0x460]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f33a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046f33a
mov esp, ebp
pop ebp
ret
Function at 0x43c060
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor ebx, ebx
xor esi, esi
xor edi, edi
mov dword [ebp - 4], ebx
test eax, eax
je 0x43c165
push 1
mov dword [eax], ebx
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x43c0a3
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x43c09a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43c08b
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x43c123
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 8], eax
test eax, eax
je 0x43c123
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x43c0d8
sub edi, ecx
je 0x43c116
lea eax, [edi + 1]
push eax
call fcn.00470748
mov ecx, dword [ebp + 0xc]
add esp, 4
mov dword [ecx], eax
test eax, eax
je 0x43c111
push dword [ebp - 8]
lea ecx, [edi + 1]
push ecx
push eax
call fcn.004703fd
add esp, 0xc
mov dword [ebp - 4], 1
jmp 0x43c116
mov esi, 8
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test eax, eax
jne 0x43c127
call ebx
mov esi, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
jne 0x43c135
call ebx
mov esi, eax
mov ebx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x43c141
mov dword [eax], edi
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x43c14a
mov dword [eax], esi
test esi, esi
je 0x43c15c
push esi
push str.GetClipboardText___returns_with_the_error_code__d
call fcn.004699e0
add esp, 8
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 0x57
jmp 0x43c138
Function at 0x43cdc0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x4b06f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x12c], edi
test edi, edi
jne 0x43cdfe
pop edi
pop esi
mov eax, 0x80070057
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f33a
mov esp, ebp
pop ebp
ret
push pe_nt_image_headers32
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], 0x11c
push 0
push eax
call fcn.0046fe20
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
mov eax, 0x3000
mov dword [ebp - 0x130], eax
jb 0x43cf49
push ebx
push 0
push 0x1fffff
mov dword [ebp - 0x124], esi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x43cf5e
lea eax, [ebp - 0x124]
push eax
push 0xf01ff
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x43cf38
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], esi
push eax
push 0
push 0
push 0x19
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x43cf2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x43cf2c
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x43cf2c
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x43cf26
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x128]
push edi
push 0x19
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x43cf16
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthorityCount]
test eax, eax
je 0x43cf11
movzx eax, byte [eax]
dec eax
push eax
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
mov eax, dword [eax]
mov dword [ebp - 0x130], eax
jmp 0x43cf16
mov esi, 0x8000ffff
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [ebp - 0x12c]
push dword [ebp - 0x124]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
js 0x43cf4b
mov eax, dword [ebp - 0x130]
mov dword [edi], eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046f33a
mov esp, ebp
pop ebp
ret
mov eax, 0x3000
jmp 0x43cf49
Function at 0x43d6a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4b06f0]
xor eax, ebp
mov dword [ebp - 4], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], 0x11c
push 0
push eax
call fcn.0046fe20
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp + 8], 0
je 0x43d708
cmp dword [ebp - 0x11c], 6
jne 0x43d6f8
cmp dword [ebp - 0x118], 1
je 0x43d71e
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f33a
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x11c]
cmp eax, 6
ja 0x43d71e
jne 0x43d6f8
cmp dword [ebp - 0x118], 0
jbe 0x43d6f8
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.0046f33a
mov esp, ebp
pop ebp
ret

Function at 0x43d740
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4b06f0]
xor eax, ebp
mov dword [ebp - 4], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], 0x11c
push 0
push eax
call fcn.0046fe20
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp + 8], 0
je 0x43d7bb
cmp dword [ebp - 0x11c], 6
jne 0x43d7ab
cmp dword [ebp - 0x118], 0
jne 0x43d7ab
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f33a
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f33a
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x11c], 6
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.0046f33a
mov esp, ebp
pop ebp
ret

Function at 0x43d7e0
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4b06f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
mov word [ebp - 8], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x43d839
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x43d841
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43d856
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov dword [ebp - 0x10], 0
test esi, esi
jne 0x43d87c
push dword [ebp - 0x14]
push str.IsRunAsAdmin_____d
call fcn.00469d40
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, dword [ebp - 0x14]
xor ecx, ebp
pop esi
call fcn.0046f33a
mov esp, ebp
pop ebp
ret
push 0x4aa6ac
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
call fcn.0046f349
int3
Function at 0x43d900
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4b06f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 0x80
push 3
push 0
push 3
push closesocket
push edi
mov dword [ebp - 0xc], 0x74725c7b
mov word [ebp - 8], 0x3166
mov byte [ebp - 6], 0x5c
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43d966
push edi
push str.IsaRTFFile__s___INVALID_HANDLE_VALUE
call fcn.004699e0
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f33a
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x43d9cc
push 0
lea eax, [ebp - 0x18]
push eax
push 7
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43d9cc
cmp dword [ebp - 0x18], 7
jne 0x43d9cc
xor ecx, ecx
jmp 0x43d9a0
mov al, byte [ebp + ecx - 0xc]
cmp al, byte [ebp + ecx - 0x14]
jne 0x43d9cc
inc ecx
cmp ecx, 7
jb 0x43d9a0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f33a
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0046f33a
mov esp, ebp
pop ebp
ret
Function at 0x43fb00
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov edi, eax
call esi
mov ebx, dword [ebp + 0xc]
sub eax, edi
cmp eax, ebx
ja 0x43fb5b
mov edi, edi
push 1
push 0
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x43fb53
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, edi
cmp eax, ebx
jbe 0x43fb20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x440230
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x4b06f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, 1
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0x10]
push pe_nt_image_headers32
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.0046fe20
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x11c]
cmp eax, 5
ja 0x4402e3
jne 0x4402a6
cmp dword [ebp - 0x118], 2
jae 0x4402e3
push dword [ebp + 0x18]
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 0x128]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x128], eax
cmp eax, 0xffffffff
jne 0x440308
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x440302
or eax, 0xffffffff
mov dword [ebp - 0x124], 0
xor esi, esi
jmp 0x440308
push dword [ebp + 0x18]
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x124]
push dword [ebp - 0x128]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov esi, eax
mov eax, dword [ebp - 0x128]
test edi, edi
je 0x440317
mov ecx, dword [ebp - 0x124]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046f33a
mov esp, ebp
pop ebp
ret

Function at 0x4404a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x440516
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
cmp byte [ebp + 0xc], 0
je 0x4404ea
test eax, eax
jne 0x440516
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push esi
call fcn.0043bfc0
add esp, 4
pop esi
pop ebp
ret
test eax, eax
je 0x440516
mov eax, dword [ebp + 0x10]
mov ecx, 0x1f4
test eax, eax
push 0x50004
cmovne ecx, eax
push ecx
push esi
call fcn.0043aa90
add esp, 0xc
test eax, eax
jne 0x440516
push eax
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret
Function at 0x441d00
Capabilities:
Check for time delay via gettickcount
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4b06f0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4b61dc], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
jne 0x441dc1
mov dword [ebp - 0x410], eax
mov eax, dword [ebp + 0x14]
push ecx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x408]
push 0x100
push eax
call fcn.00470452
push esi
lea eax, [ebp - 0x208]
push 0x100
push eax
call fcn.00470452
add esp, 0x18
lea eax, [ebp - 0x410]
push 0x4b61d8
push 0
push eax
push 0x442140
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, eax
mov dword [0x4b61d4], ecx
test ecx, ecx
je 0x441d98
push 0xc8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x4b61d4]
push dword [0x4b61d8]
mov eax, dword [ebp - 0x40c]
push ecx
push str.MsgWaitDlg__CreateThread____Thread_x_ThreadId:__d
mov dword [0x4b61dc], eax
call fcn.004699e0
mov eax, dword [0x4b61dc]
add esp, 0xc
jmp 0x441eab
push ebx
push edi
push str.before_PostThreadMessage
call fcn.004699e0
add esp, 4
push 0
push 0
push 0x12
push dword [0x4b61d8]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, eax
push 0x64
push dword [0x4b61d4]
call ebx
mov dword [ebp - 0x414], eax
test eax, eax
je 0x441e3e
cmp eax, 0xffffffff
je 0x441e3e
call esi
sub eax, edi
cmp eax, 0x7d0
jae 0x441e3e
push 0x64
push dword [0x4b61d4]
call ebx
push eax
push str.MsgWaitDlg____WaitForSingleObject:__x
mov dword [ebp - 0x414], eax
call fcn.004699e0
mov eax, dword [ebp - 0x414]
add esp, 8
test eax, eax
jne 0x441e06
lea eax, [ebp - 0x414]
push eax
push dword [0x4b61d4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
pop edi
pop ebx
test eax, eax
je 0x441e84
push dword [ebp - 0x414]
push str.MsgWaitDlg____ExitCode:__x
call fcn.004699e0
add esp, 8
cmp dword [ebp - 0x414], 0x103
jne 0x441e84
push 0
push dword [0x4b61d4]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [0x4b61d4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [0x4b61d4], 0
mov dword [0x4b61d8], 0
mov dword [0x4b61dc], eax
push eax
push str.MsgWaitDlg__End__d_
call fcn.004699e0
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, dword [0x4b61dc]
xor ecx, ebp
pop esi
call fcn.0046f33a
mov esp, ebp
pop ebp
ret