joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424793
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push edi
push ebx
push dword [0x8e04e4]
xor ebp, ebp
mov edi, ebp
mov dword [esp + 0x18], ebp
call fcn.00439bc7
mov esi, eax
test esi, esi
je 0x424928
mov ecx, dword [esi]
mov dword [esp + 0x18], ecx
cmp dword [esi + 0x14], ebp
je 0x42483d
push ebx
call fcn.00424b03
jmp 0x4247d5
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x1d], 0
jne 0x4247cd
push dword [esi + 0x14]
call fcn.00424f0d
mov eax, dword [esp + 0x1c]
push ebp
push esi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x20], eax
call fcn.0042471e
pop ecx
pop ecx
lea eax, [esp + 0x1c]
push eax
push ebp
push esi
push 0x424942
push 0x2000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x42481a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x20], 0xffffffff
je 0x42482b
push dword [esp + 0x20]
push ebx
call fcn.00424bd7
mov eax, dword [esi]
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [esi]
push 1
jmp 0x4248dd
test byte [esp + 0x1c], 1
je 0x42484c
mov dword [esp + 0x10], 1
test byte [esp + 0x1c], 2
je 0x4248e7
push esi
call fcn.004246b5
lea eax, [esi + 4]
push 0x10
push eax
call fcn.0043a336
pop ecx
pop ecx
mov ecx, dword [0x8e0500]
mov edi, eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
mov edx, dword [ecx]
push ecx
call dword [edx + 0x14]
test eax, eax
jne 0x424928
mov eax, dword [esp + 0x18]
mov dword [edi], eax
mov eax, dword [esp + 0x10]
mov byte [edi + 5], al
mov byte [edi + 4], 1
mov eax, dword [esp + 0x18]
push dword [esi + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [esp + 0x18]
push dword [esi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
cmp dword [esp + 0x20], 0xffffffff
je 0x4248c8
push edi
push dword [esp + 0x24]
push ebx
call fcn.00424b37
jmp 0x4248d5
mov eax, dword [esp + 0x18]
push dword [esi + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [esp + 0x18]
push dword [esp + 0x10]
mov ecx, dword [eax]
push ebp
push ebp
push eax
call dword [ecx + 0x30]
jmp 0x424928
mov eax, dword [ecx]
push ecx
call dword [eax + 0x48]
mov eax, dword [esp + 0x18]
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
cmp dword [esp + 0x20], 0xffffffff
je 0x424909
push dword [esp + 0x20]
push ebx
call fcn.00424bd7
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
push ebx
push ebp
mov ecx, dword [eax]
push ebp
push eax
call dword [ecx + 0x30]
test eax, eax
jne 0x424928
xor edi, edi
mov byte [esi + 0x1c], 1
inc edi
mov byte [esi + 0x1e], bl
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x42504d
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x4250a2
push dword [esp + 0x10]
push 0x424fcc
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [0x8e052c]
test esi, esi
je 0x4250fb
xor edi, edi
mov ebx, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x42509a
cmp byte [esi + 0x10], 0
je 0x42509a
push 3
push edi
push edi
push edi
push edi
push 0xfffffffffffffffe
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, ebx
test ebx, ebx
jne 0x425076
jmp 0x4250fb
mov esi, dword [0x8e052c]
test esi, esi
je 0x4250fb
xor edi, edi
push ebp
mov ebx, dword [esi]
lea ebp, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp], eax
jne 0x4250f4
cmp byte [esi + 0x11], 0
je 0x4250d0
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [esi + 0x10], 0
je 0x4250e7
push 3
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebp
push 0x8e052c
call fcn.0043a2f6
pop ecx
pop ecx
mov esi, ebx
test ebx, ebx
jne 0x4250af
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x42570a
Capabilities:
Read file on windows

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 0x10], esi
jle 0x42575e
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x14]
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push 0
push eax
mov eax, dword [esp + 0x20]
sub eax, esi
push eax
lea eax, [esi + ebp]
push eax
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42574c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x425758
add esi, dword [esp + 0x10]
cmp esi, dword [esp + 0x18]
jl 0x42571d
jmp 0x42575c
add esi, dword [esp + 0x10]
pop ebp
pop ebx
mov eax, esi
pop esi
ret 0xc

Function at 0x42590f
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
push dword [0x8e157c]
call fcn.00439a56
mov ebp, eax
or ebx, 0xffffffff
xor eax, eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, dword [esp + 0x1c]
movzx edx, word [eax]
test dx, dx
je 0x425a0f
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], 0x20
mov dword [esp + 0x14], 0x22
cmp dx, word [esp + 0x10]
jne 0x425965
push 0x20
pop edx
add eax, 2
cmp word [eax], dx
je 0x42595d
movzx edx, word [eax]
mov dword [esp + 0x1c], 1
cmp dx, word [esp + 0x14]
jne 0x4259a5
add eax, 2
mov esi, eax
movzx ecx, word [eax]
test cx, cx
je 0x4259e7
push 0x22
pop edx
cmp cx, dx
je 0x425997
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x425987
xor ecx, ecx
cmp word [eax], cx
je 0x4259e7
mov ecx, eax
add eax, 2
jmp 0x4259e9
test dx, dx
je 0x4259ef
push 0x20
mov esi, eax
pop ecx
cmp dx, cx
je 0x425997
add eax, 2
push 0x22
pop edx
cmp word [eax], dx
jne 0x4259dd
add eax, 2
movzx ecx, word [eax]
test cx, cx
je 0x4259e7
cmp cx, dx
je 0x4259da
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x4259ca
push 0x20
pop ecx
movzx edx, word [eax]
test dx, dx
jne 0x4259af
jmp 0x425997
mov ecx, eax
mov edx, dword [esp + 0x1c]
jmp 0x4259f1
xor edx, edx
cmp dword [ebp], ebx
jne 0x4259fa
test edi, edi
jne 0x425a17
test edx, edx
je 0x4259ff
inc ebx
xor edx, edx
mov esi, edx
movzx edx, word [eax]
test dx, dx
jne 0x425953
test edi, edi
jne 0x425a28
mov eax, ebx
jmp 0x425a2c
test esi, esi
je 0x425a28
sub ecx, esi
mov eax, esi
sar ecx, 1
mov dword [edi], ecx
inc dword [ebp]
jmp 0x425a2c
xor ecx, ecx
mov dword [edi], ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x425e54
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push 0x425da3
push 0x10
push 0x2c
call fcn.00439c9a
push 0
push 0
push 8
mov dword [0x8e0540], eax
call fcn.00439ac1
cmp word [0x8e0538], 0
mov dword [0x8e158c], eax
jne 0x425f39
push edi
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
xor edi, edi
inc edi
test eax, eax
jne 0x425eac
mov word [0x8e0538], di
jmp 0x425eb4
xor eax, eax
mov word [0x8e0538], ax
push str.ws2_32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x8e0554], eax
test eax, eax
je 0x425f38
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.getaddrinfo
push eax
call esi
push str.freeaddrinfo
push dword [0x8e0554]
mov dword [0x8e0544], eax
call esi
push str.getnameinfo
push dword [0x8e0554]
mov dword [0x8e0548], eax
call esi
push str.WSAStringToAddressA
push dword [0x8e0554]
mov dword [0x8e054c], eax
call esi
cmp dword [0x8e0544], 0
mov dword [0x8e0550], eax
pop esi
je 0x425f38
cmp dword [0x8e0548], 0
je 0x425f38
cmp dword [0x8e054c], 0
je 0x425f38
test eax, eax
je 0x425f38
mov dword [0x8e053c], edi
pop edi
add esp, 0x190
ret

Function at 0x427601
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push dword [0x8e159c]
call fcn.00439a56
xor ebx, ebx
mov ebp, eax
cmp dword [0x8e0788], ebx
jne 0x427695
mov esi, 0xa4
push esi
push ebx
push 0x8e0790
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x8e0794], esi
mov esi, dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [0x8e0790], 0xa
mov dword [0x8e0798], 0x427196
push 0x7f89
push ebx
mov dword [0x8e0808], 0x42982e
mov dword [0x8e080c], 0x429808
mov dword [0x8e079c], 0x4271b5
mov dword [0x8e0820], 0x4271d5
call esi
mov dword [0x8e0788], eax
test eax, eax
jne 0x427695
push 0x7f00
push ebx
call esi
mov dword [0x8e0788], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0042e1b1
push ebx
push dword [0x8dfe48]
push 0xffffffffffffffff
push dword [ebp]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push 0x40000000
push dword [esp + 0x48]
push str.STATIC
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x427761
push edi
push dword [esp + 0x14]
push dword [0x8e11f4]
call fcn.00439c06
mov edi, eax
push 8
or dword [edi + 0x10], 0xffffffff
call dword [sym.imp.USER32.dll_GetSysColor]
push 0x14
push 0
mov dword [edi + 0x14], eax
push dword [0x8dfe44]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov esi, eax
push 0x8e0790
push ebx
push edi
push dword [esp + 0x20]
mov dword [esi], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0xc], ecx
mov byte [esi + 0x10], 0
mov dword [edi + 0x1c], esi
call fcn.00429777
push 0x4272bb
push 0xfffffffffffffffc
push dword [edi]
mov ebx, eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 1
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 0x20
Function at 0x429092
Capabilities:
Get graphical window text

Disassembly:
push ebx
push dword [esp + 8]
push dword [0x8e11f4]
call fcn.00439bc7
mov ebx, eax
test ebx, ebx
je 0x4290f6
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x4290bb
push dword [esp + 0xc]
push ebx
call eax
jmp 0x4290f6
push esi
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push dword [esp + 0x14]
mov edi, eax
push edi
call fcn.0043ae50
mov esi, eax
lea ecx, [edi + 1]
push ecx
xor eax, eax
push esi
mov word [esi], ax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
call sub.MSVCRT.dll_wcslen
pop ecx
sub edi, eax
push edi
call fcn.0043af30
pop edi
pop esi
pop ebx
ret 8

Function at 0x42a05b
Capabilities:
Check os version

Disassembly:
sub esp, 0x350
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x114
xor ebx, ebx
mov esi, 0xc8
and dword [esp + 0x10], ebx
xor edi, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42a1d1
mov eax, dword [esp + 0x24]
dec eax
je 0x42a1b4
dec eax
jne 0x42a1d1
lea eax, [esp + 0x128]
xor ebp, ebp
push eax
call fcn.0042a014
pop ecx
test eax, eax
je 0x42a112
mov ebx, dword [esp + 0x12c]
mov edi, dword [esp + 0x130]
mov eax, dword [esp + 0x134]
cmp byte [esp + 0x242], 1
jne 0x42a0d5
xor ebp, ebp
inc ebp
sub ebx, 3
je 0x42a1b0
dec ebx
je 0x42a1ac
dec ebx
je 0x42a18b
dec ebx
je 0x42a145
sub ebx, 4
jne 0x42a1d1
test edi, edi
jne 0x42a1d1
cmp eax, 0x55f0
sbb esi, esi
and esi, 0xfffffff6
add esi, 0x78
jmp 0x42a1d1
lea eax, [esp + 0x244]
mov dword [esp + 0x244], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, dword [esp + 0x10]
je 0x42a0d5
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
cmp byte [esp + 0x35e], 1
jmp 0x42a0d0
sub edi, 0
je 0x42a17d
dec edi
je 0x42a16f
dec edi
je 0x42a161
dec edi
jne 0x42a1d1
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x69
jmp 0x42a1d1
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x5f
jmp 0x42a1d1
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x55
jmp 0x42a1d1
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x4b
jmp 0x42a1d1
sub edi, 0
je 0x42a1a8
dec edi
je 0x42a1a4
dec edi
jne 0x42a1d1
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x41
jmp 0x42a1d1
push 0x3c
jmp 0x42a1d0
push 0x32
jmp 0x42a1d0
push 0x14
jmp 0x42a1d0
push 5
jmp 0x42a1d0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x42a1ce
cmp eax, 0xa
je 0x42a1ca
cmp eax, 0x5a
jne 0x42a1d1
push 0x28
jmp 0x42a1d0
push 0x1e
jmp 0x42a1d0
push 0xa
pop esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x350
ret
Function at 0x42a9f4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push dword [0x8e11f8]
call fcn.00439bc7
mov esi, eax
test esi, esi
je 0x42aace
cmp dword [ebp + 0xc], 0
je 0x42aa40
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x42aa31
cmp dword [esi + 0x1c], 0
jne 0x42aa31
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42aace
test byte [ebp + 0x10], 3
je 0x42aa5b
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
push eax
push dword [ebp + 0x10]
push dword [esi]
call fcn.0042b2d0
cmp dword [esi + 0x3c], 0xffffffff
push ebx
je 0x42aa80
xor ebx, ebx
cmp dword [esi + 0x3c], 0x1000000
sete bl
xor ecx, ecx
cmp dword [esi + 0x3c], 0x20000000
sete cl
or dword [esi + 0x3c], 0xffffffff
jmp 0x42aa94
push dword [esi]
call dword [sym.imp.USER32.dll_IsZoomed]
push dword [esi]
mov ebx, eax
call dword [sym.imp.USER32.dll_IsIconic]
mov ecx, eax
test dword [ebp + 0x10], 0x2000000
je 0x42aab1
test ebx, ebx
je 0x42aaa5
push 8
jmp 0x42aab7
neg ecx
sbb ecx, ecx
and ecx, 3
add ecx, 4
jmp 0x42aac4
test ebx, ebx
je 0x42aaba
push 3
pop ecx
jmp 0x42aac4
xor eax, eax
test ecx, ecx
setne al
lea ecx, [eax + 1]
push ecx
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x42b598
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
xor edi, edi
call dword [sym.imp.USER32.dll_GetFocus]
mov ebp, dword [esp + 0x3c]
mov ebx, eax
and dword [esp + 0x10], edi
push str.PB_WindowID
push ebp
call dword [sym.imp.USER32.dll_GetPropW]
mov esi, eax
push 9
pop eax
test esi, esi
je 0x42b630
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x42b62d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x14], eax
jne 0x42b62d
lea eax, [esi - 1]
push eax
push dword [0x8e11f8]
call fcn.00439bc7
mov edi, eax
mov dword [esp + 0x10], 1
xor eax, eax
push 9
cmp dword [edi + 0x10], eax
jle 0x42b62f
mov edx, dword [edi + 4]
xor ecx, ecx
pop esi
cmp word [ecx + edx + 2], si
jne 0x42b624
mov esi, 0xfa01
push 9
cmp word [ecx + edx + 4], si
je 0x42b717
pop esi
inc eax
add ecx, 6
cmp eax, dword [edi + 0x10]
jl 0x42b60a
push 9
pop eax
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
test ebx, ebx
je 0x42b6d6
push eax
call esi
test al, al
jns 0x42b6d6
push 0x11
call esi
test al, al
js 0x42b6d6
push 0x10
call esi
test al, al
js 0x42b6d6
push 0x12
call esi
test al, al
js 0x42b6d6
push 0x10
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
cmp dword [esp + 0x10], 0
jne 0x42b6d6
push 5
lea eax, [esp + 0x1c]
push str.RichE
push eax
call sub.MSVCRT.dll_wcsncmp
add esp, 0xc
test eax, eax
je 0x42b6aa
push 4
lea eax, [esp + 0x1c]
push str.RICHE
push eax
call sub.MSVCRT.dll_wcsncmp
add esp, 0xc
test eax, eax
jne 0x42b6c1
push 0
push 0
push 0x44e
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, 0x800
je 0x42b721
lea eax, [esp + 0x18]
push str.Scintilla
push eax
call sub.MSVCRT.dll_wcscmp
pop ecx
pop ecx
test eax, eax
je 0x42b721
test ebp, ebp
je 0x42b6fa
push 0x11
call esi
test al, al
js 0x42b6f2
push 0x10
call esi
test al, al
js 0x42b6f2
push 0x12
call esi
test al, al
jns 0x42b6fa
push 1
push ebp
call fcn.0042b72d
test ebx, ebx
je 0x42b70e
push str.PB_Hotkey
push ebx
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
jne 0x42b721
test edi, edi
je 0x42b721
mov eax, dword [edi + 8]
jmp 0x42b723
and dword [esp + 0x14], 0
jmp 0x42b62f
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4

Function at 0x42b89e
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
cmp dword [ebp + 8], 0
je 0x42b916
push 0x104
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
call sub.MSVCRT.dll_wcsncpy
xor eax, eax
mov word [ebp - 4], ax
lea eax, [ebp - 0x20c]
push eax
call sub.MSVCRT.dll_wcslen
lea ecx, [ebp - 0x20c]
add esp, 0x10
lea eax, [ecx + eax*2]
jmp 0x42b8f7
movzx ecx, word [eax - 2]
cmp ecx, 0x20
je 0x42b8f4
cmp ecx, 0x5c
je 0x42b8f4
cmp ecx, 0x2f
jne 0x42b901
add eax, 0xfffffffe
lea ecx, [ebp - 0x20c]
cmp eax, ecx
ja 0x42b8e1
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x42b918
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x42bc05
Capabilities:
Set file attributes

Disassembly:
xor eax, eax
cmp dword [esp + 4], eax
je 0x42bc13
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
ret 8

Function at 0x42bc16
Capabilities:
Delete file
Set file attributes

Disassembly:
cmp dword [esp + 4], 0
je 0x42bc3f
test byte [esp + 8], 2
je 0x42bc33
push pe_nt_image_headers32
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x42bc41
xor eax, eax
ret 8

Function at 0x42bc44
Capabilities:
Get disk information
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x45c
push esi
or esi, 0xffffffff
push edi
mov edi, esi
test eax, eax
je 0x42bd8c
xor ecx, ecx
cmp word [eax], cx
je 0x42bd8c
push 0x104
push eax
lea eax, [esp + 0x10]
push eax
call sub.MSVCRT.dll_wcsncpy
xor eax, eax
mov word [esp + 0x21c], ax
lea eax, [esp + 0x14]
push eax
call sub.MSVCRT.dll_wcslen
add esp, 0x10
lea ecx, [esp + eax*2 + 6]
cmp eax, 2
je 0x42bc9d
cmp eax, 3
jne 0x42bcd7
cmp word [esp + 0xa], 0x3a
jne 0x42bcd7
cmp eax, 2
jne 0x42bcbb
lea eax, [esp + 8]
push 0x4635b8
push eax
call sub.MSVCRT.dll_wcscat
pop ecx
pop ecx
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x42bd8c
push 0xfffffffffffffffe
pop edi
jmp 0x42bd8c
push ebx
push ebp
push 0x5c
pop ebp
push 0x2f
pop ebx
movzx eax, word [ecx]
cmp ax, bp
je 0x42bcec
cmp ax, bx
jne 0x42bcf6
xor eax, eax
mov word [ecx], ax
sub ecx, 2
jmp 0x42bcdf
lea eax, [esp + 0x21c]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, esi
je 0x42bd35
test byte [esp + 0x21c], 0x10
je 0x42bd1c
push 0xfffffffffffffffe
pop edi
jmp 0x42bd2c
mov esi, dword [esp + 0x238]
xor edi, edi
or edi, dword [esp + 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x42bd8a
cmp word [esp + 0x10], bp
jne 0x42bd43
cmp word [esp + 0x12], bp
je 0x42bd62
cmp word [esp + 0x10], bx
jne 0x42bd51
cmp word [esp + 0x12], bx
je 0x42bd62
push 0x2e
pop eax
cmp word [esp + 0x10], ax
jne 0x42bd8a
cmp word [esp + 0x12], ax
jne 0x42bd8a
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, esi
je 0x42bd77
test al, 0x10
je 0x42bd8a
jmp 0x42bd87
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x42bd8a
push 0xfffffffffffffffe
pop edi
pop ebp
pop ebx
mov eax, edi
mov edx, esi
pop edi
pop esi
add esp, 0x45c
ret 4
Function at 0x42bee9
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x42bfbe
push ebx
push edi
push pe_nt_image_headers32
push 3
push edi
push 3
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42bfbd
push esi
mov esi, dword [ebp + 0x10]
push esi
call fcn.0042e245
push esi
mov word [ebp - 0x20], ax
call fcn.0042e26b
push esi
mov word [ebp - 0x1e], ax
call fcn.0042e28d
push esi
mov word [ebp - 0x1c], ax
call fcn.0042e2ae
push esi
mov word [ebp - 0x1a], ax
call fcn.0042e2cf
push esi
mov word [ebp - 0x18], ax
call fcn.0042e2f0
push esi
mov word [ebp - 0x16], ax
call fcn.0042e311
mov word [ebp - 0x14], ax
xor eax, eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
cmp dword [ebp + 0xc], 1
mov eax, edi
mov ecx, edi
pop esi
jne 0x42bf9c
lea eax, [ebp - 8]
jmp 0x42bfaa
cmp dword [ebp + 0xc], 2
jne 0x42bfa7
lea ecx, [ebp - 8]
jmp 0x42bfaa
lea edi, [ebp - 8]
push ecx
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x42bfc7
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [esp + 4], 0
je 0x42bfdd
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42bfe0
or eax, 0xffffffff
ret 4

Function at 0x42c4a0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
mov dword [esp + 4], 0
test esi, esi
je 0x42c505
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x42c4fd
push dword [esp + 0x10]
push dword [0x8e15d4]
call fcn.00439bc7
test eax, eax
je 0x42c4f3
cmp dword [eax + 4], 0
je 0x42c4e2
push edi
push esi
push eax
call fcn.0042c920
pop edi
pop esi
pop ecx
ret 0xc
push 0
lea ecx, [esp + 0xc]
push ecx
push edi
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
pop edi
xor eax, eax
pop esi
pop ecx
ret 0xc
xor eax, eax
pop esi
pop ecx
ret 0xc

Function at 0x42c580
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov dword [esp + 4], 0
cmp dword [esi + 0x14], 0
jne 0x42c5bc
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esi + 8]
sub eax, dword [esi + 0xc]
push eax
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 4
xor eax, eax
pop esi
pop ecx
ret 4