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

Disassembly:
push esi
lea eax, [esp + 8]
push eax
xor esi, esi
push esi
push dword [esp + 0x14]
push dword [esp + 0x14]
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + 0xc], eax
test eax, eax
je 0x41e305
push ebx
push ebp
mov ebp, 0x43dbd4
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x43b218]
mov ebx, 0x43b218
test esi, esi
je 0x41e2dd
push edi
push 0
lea edi, [esi + 8]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x41e2d6
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esi]
push edi
push ebx
call fcn.00430d74
pop ecx
pop ecx
jmp 0x41e2d8
mov esi, dword [esi]
test esi, esi
jne 0x41e2b0
pop edi
mov esi, dword [0x438f38]
inc dword [0x438f38]
push 0x10
push ebx
call fcn.00430db4
pop ecx
pop ecx
mov ecx, dword [esp + 0x14]
push ebp
mov dword [eax], ecx
mov dword [eax + 4], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebp
pop ebx
mov eax, esi
pop esi
ret 8

Function at 0x41fa08
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [esp + 0x10], ebx
je 0x41fa57
push dword [esp + 0x10]
push 0x41f986
call dword [sym.imp.USER32.DLL_EnumWindows]
mov esi, dword [0x43b21c]
cmp esi, ebx
je 0x41faab
mov edi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x41fa4f
cmp byte [esi + 0x10], bl
je 0x41fa4f
push 3
push ebx
push ebx
push ebx
push ebx
push 0xfffffffffffffffe
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_SetWindowPos]
mov esi, edi
cmp edi, ebx
jne 0x41fa2c
jmp 0x41faab
mov esi, dword [0x43b21c]
cmp esi, ebx
je 0x41faab
push ebp
mov ebp, dword [esi]
lea edi, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi], eax
jne 0x41faa4
cmp byte [esi + 0x11], bl
je 0x41fa81
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_EnableWindow]
cmp byte [esi + 0x10], bl
je 0x41fa97
push 3
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_SetWindowPos]
push edi
push 0x43b21c
call fcn.00430d74
pop ecx
pop ecx
mov esi, ebp
cmp ebp, ebx
jne 0x41fa62
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x4226bf
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push esi
push edi
push dword [0x43dc30]
call fcn.00430655
xor edi, edi
mov ebx, eax
mov dword [ebp - 4], 0x50010000
cmp dword [0x43b644], edi
jne 0x422833
mov esi, 0xa4
push esi
push edi
push 0x43b5a0
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x43b5a0], 0x1b
mov dword [0x43b5a4], esi
mov dword [0x43b5a8], 0x421715
mov dword [0x43b5ac], 0x421cbe
mov dword [0x43b5c4], 0x421a03
mov dword [0x43b5d4], 0x421d02
mov dword [0x43b5cc], 0x421d0c
mov dword [0x43b5c8], 0x421d60
mov dword [0x43b5b4], 0x421ee6
mov dword [0x43b5b0], 0x421f17
mov dword [0x43b5b8], 0x421f5f
mov dword [0x43b5bc], 0x421fe5
mov dword [0x43b5e0], 0x42202c
mov dword [0x43b5e4], 0x4220b3
mov dword [0x43b5d8], 0x4220f8
mov dword [0x43b5dc], 0x422187
mov dword [0x43b618], 0x4222b4
mov dword [0x43b61c], 0x422307
mov dword [0x43b620], 0x422362
mov dword [0x43b624], 0x4223d5
mov dword [0x43b628], 0x42240d
mov dword [0x43b62c], 0x42242f
mov dword [0x43b610], 0x422451
mov dword [0x43b640], 0x421c04
call fcn.004292a4
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 0x11c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x422829
cmp dword [ebp - 0x10c], 2
jne 0x422829
cmp dword [ebp - 0x118], 6
jb 0x422829
mov eax, dword [0x43b228]
mov dword [0x43b648], eax
mov dword [0x43b644], 1
test byte [ebp + 0x1c], 2
jne 0x422840
mov dword [ebp - 4], 0x50010002
test byte [ebp + 0x1c], 1
jne 0x42284a
or dword [ebp - 4], 5
test byte [ebp + 0x1c], 0x20
je 0x422854
or dword [ebp - 4], 0x20
push 0x1f4
push edi
push dword [0x43b08c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 8], eax
cmp eax, edi
je 0x42294c
push edi
push dword [0x43b090]
push 0xffffffffffffffff
push dword [ebx]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 4]
push edi
push str.SysTreeView32
push 0x200
call dword [sym.imp.USER32.DLL_CreateWindowExW]
mov ebx, eax
mov dword [ebp + 0x18], ebx
cmp ebx, edi
je 0x42294c
push dword [ebp + 8]
push dword [0x43dc2c]
call fcn.0043049a
mov edi, dword [sym.imp.USER32.DLL_SetWindowLongW]
push 0x422518
push 0xfffffffffffffffc
push ebx
mov esi, eax
call edi
push 4
push 4
push 0x112c
push ebx
mov ebx, dword [sym.imp.USER32.DLL_SendMessageW]
mov dword [0x43b598], eax
call ebx
mov eax, dword [ebp - 8]
push 0x43b5a0
push dword [ebp + 0x18]
mov dword [esi + 0x14], eax
push esi
push dword [ebp + 8]
mov dword [esi + 0x18], 0x19
call fcn.00428adb
mov dword [ebp + 0x18], eax
mov eax, 0x100
test dword [ebp + 0x1c], eax
je 0x42294c
mov ecx, dword [ebp - 4]
or ecx, eax
push ecx
push 0xfffffffffffffff0
push dword [esi]
call edi
test dword [ebp + 0x1c], 0x10000
je 0x42294c
call fcn.004219ba
push 0
push 2
push 0x1108
push dword [esi]
call ebx
test eax, eax
je 0x42293e
push eax
push dword [esi]
call fcn.00429375
push esi
push str.PB_3State
push dword [esi]
call dword [sym.imp.USER32.DLL_SetPropW]
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
leave
ret 0x18
Function at 0x42538c
Capabilities:
Get graphical window text

Disassembly:
push edi
push dword [esp + 8]
push dword [0x43dc2c]
call fcn.00430537
mov edi, eax
test edi, edi
je 0x4253f0
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x4253b5
push dword [esp + 0xc]
push edi
call eax
jmp 0x4253f0
push ebx
push esi
push dword [edi]
call dword [sym.imp.USER32.DLL_GetWindowTextLengthW]
push dword [esp + 0x14]
mov esi, eax
push esi
call fcn.00431380
mov ebx, eax
xor eax, eax
mov word [ebx], ax
lea eax, [esi + 1]
push eax
push ebx
push dword [edi]
call dword [sym.imp.USER32.DLL_GetWindowTextW]
push ebx
call sub.MSVCRT.dll_wcslen
pop ecx
sub esi, eax
push esi
call fcn.004314a0
pop esi
pop ebx
pop edi
ret 8
Function at 0x4299bb
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4bc
push 0x104
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov eax, dword [ebp + 8]
or eax, 0x4000
push eax
push 0x2b4
lea eax, [ebp - 0x4bc]
push eax
push 0
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHELL32.DLL_SHGetFileInfoW]
leave
ret 4
Function at 0x429c9f
Capabilities:
Terminate thread

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x429d44
cmp dword [esp + 0xc], 0
je 0x429d44
cmp dword [0x43d624], 1
je 0x429d44
push esi
push 0x1f
push 0
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
mov esi, eax
cmp esi, 0xffffffff
je 0x429d43
push edi
mov edi, 0x43d608
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [0x43d600]
mov dword [0x43d5fc], ebx
mov dword [0x43d5f8], esi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push dword [0x43d604]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1388
push dword [0x43d600]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x429d3b
push 0
push dword [0x43d620]
mov dword [0x43d624], 1
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
ret 8

Function at 0x429d48
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x429dc4
cmp dword [0x43d624], 1
je 0x429dc4
push edi
mov edi, 0x43d608
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [0x43d600]
and dword [0x43d5f8], 0
mov dword [0x43d5fc], esi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push dword [0x43d604]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1388
push dword [0x43d600]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x429dbc
push 0
push dword [0x43d620]
mov dword [0x43d624], 1
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
ret 4

Function at 0x429fa4
Capabilities:
Create thread

Disassembly:
push ecx
push esi
xor esi, esi
cmp dword [0x43d8f4], esi
jne 0x42a073
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push ebp
push edi
xor edi, edi
inc edi
push 0x43dc38
mov dword [0x43d8f4], edi
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov eax, 0x640
push eax
push 8
push dword [0x43b08c]
mov dword [0x43d638], eax
mov dword [0x43d63c], 0x1f4
call ebp
mov dword [0x43d628], eax
mov eax, dword [0x43d63c]
add eax, eax
push eax
push 8
push dword [0x43b08c]
call ebp
push 0x43d608
mov dword [0x43d62c], eax
mov dword [0x43d634], esi
mov dword [0x43d630], edi
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push esi
push edi
push esi
call ebx
push esi
push esi
push edi
push esi
mov dword [0x43d604], eax
call ebx
mov dword [0x43d600], eax
cmp dword [0x43d604], esi
je 0x42a06a
cmp eax, esi
je 0x42a06a
lea eax, [esp + 0x10]
push eax
push esi
push esi
push 0x429dc8
push esi
push esi
mov dword [0x43d624], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x43d620], eax
jmp 0x42a070
mov dword [0x43d624], edi
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret
Function at 0x42a1cd
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push 0x40
lea eax, [ebp - 0x64]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
cmp dword [ebp + 8], 6
jne 0x42a1f8
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
jmp 0x42a256
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x64], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x42a254
mov eax, dword [ebp + 8]
sub eax, 0
je 0x42a24c
dec eax
je 0x42a244
dec eax
je 0x42a23c
dec eax
je 0x42a234
dec eax
je 0x42a22c
dec eax
jne 0x42a254
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
jmp 0x42a258
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
jmp 0x42a258
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
jmp 0x42a258
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
jmp 0x42a258
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
jmp 0x42a258
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x58]
jmp 0x42a258
xor eax, eax
xor edx, edx
leave
ret 4

Function at 0x42b470
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
call dword [sym.imp.USER32.DLL_GetFocus]
mov esi, dword [sym.imp.USER32.DLL_GetKeyState]
mov edi, eax
mov bl, pe_nt_image_headers32
test edi, edi
je 0x42b4ec
push 9
call esi
test bl, al
je 0x42b4ec
push 0x11
call esi
test bl, al
jne 0x42b4ec
push 0x10
call esi
test bl, al
jne 0x42b4ec
push 0x12
call esi
test bl, al
jne 0x42b4ec
push 5
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.USER32.DLL_GetClassNameW]
push 4
lea eax, [esp + 0x14]
push str.Rich
push eax
call sub.MSVCRT.dll_wcsncmp
add esp, 0xc
test eax, eax
jne 0x42b4ec
push eax
push eax
push 0x44e
push edi
call dword [sym.imp.USER32.DLL_SendMessageW]
test eax, 0x800
jne 0x42b4ec
xor eax, eax
jmp 0x42b56e
push ebp
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x42b515
push 0x11
call esi
test bl, al
jne 0x42b50d
push 0x10
call esi
test bl, al
jne 0x42b50d
push 0x12
call esi
test bl, al
je 0x42b515
push 1
push ebp
call fcn.0042b429
mov esi, dword [sym.imp.USER32.DLL_GetPropW]
test edi, edi
je 0x42b52b
push str.PB_Hotkey
push edi
call esi
test eax, eax
jne 0x42b56b
push str.PB_WindowID
push ebp
call esi
mov esi, eax
test esi, esi
je 0x42b56b
lea eax, [esp + 0x10]
push eax
push ebp
call dword [sym.imp.USER32.DLL_GetWindowThreadProcessId]
test eax, eax
je 0x42b56b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x10], eax
jne 0x42b56b
dec esi
push esi
push dword [0x43dc50]
call fcn.00430537
test eax, eax
je 0x42b56b
mov eax, dword [eax + 8]
jmp 0x42b56d
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x42bd5a
Capabilities:
Get disk information
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x45c
push esi
or esi, 0xffffffff
push edi
mov edi, esi
test eax, eax
je 0x42bde6
cmp word [eax], 0
je 0x42bde6
push 0x104
push eax
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
add esp, 0x10
lea ecx, [ebp + eax*2 - 0x20e]
cmp eax, 2
je 0x42bdaf
cmp eax, 3
jne 0x42bdf0
cmp word [ebp - 0x20a], 0x3a
jne 0x42bdf0
cmp eax, 2
jne 0x42bdd1
lea eax, [ebp - 0x20c]
push 0x43331c
push eax
call sub.MSVCRT.dll_wcscat
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x42bde6
push 0xfffffffffffffffe
pop edi
mov eax, edi
pop edi
mov edx, esi
pop esi
leave
ret 4
movzx eax, word [ecx]
cmp eax, 0x5c
je 0x42bdfd
cmp eax, 0x2f
jne 0x42be07
xor eax, eax
mov word [ecx], ax
sub ecx, 2
jmp 0x42bdf0
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, esi
je 0x42be48
test byte [ebp - 0x45c], 0x10
je 0x42be2d
push 0xfffffffffffffffe
pop edi
jmp 0x42be3f
mov esi, dword [ebp - 0x440]
xor edi, edi
or edi, dword [ebp - 0x43c]
xor edx, edx
or esi, edx
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x42bde6
cmp word [ebp - 0x20c], 0x5c
jne 0x42be5c
cmp word [ebp - 0x20a], 0x5c
je 0x42be74
cmp word [ebp - 0x20c], 0x2e
jne 0x42bde6
cmp word [ebp - 0x20a], 0x2e
jne 0x42bde6
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, esi
je 0x42bdd1
test al, 0x10
je 0x42bde6
jmp 0x42bde3

Function at 0x42be96
Capabilities:
Copy file

Disassembly:
xor eax, eax
cmp dword [esp + 4], eax
je 0x42beb5
cmp dword [esp + 8], eax
je 0x42beb5
push eax
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x42beb7
xor eax, eax
ret 8

Function at 0x42beba
Capabilities:
Get file attributes

Disassembly:
or eax, 0xffffffff
cmp dword [esp + 4], 0
je 0x42beca
jmp dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
ret 4

Function at 0x42becd
Capabilities:
Set file attributes

Disassembly:
xor eax, eax
cmp dword [esp + 4], eax
je 0x42bedb
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
ret 8
Function at 0x42bf87
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [0x43db04], edi
jne 0x42bfb1
push fcn.0042bf54
push 0x10
push 0x258
call fcn.004305c7
mov dword [0x43db04], eax
cmp dword [ebp + 0xc], edi
jne 0x42bfbd
mov dword [ebp + 0xc], 0x43301c
mov ebx, dword [ebp + 0x10]
cmp ebx, edi
je 0x42bfc9
cmp word [ebx], di
jne 0x42bfce
mov ebx, 0x4335b8
push dword [ebp + 0xc]
call sub.MSVCRT.dll_wcslen
push ebx
mov esi, eax
call sub.MSVCRT.dll_wcslen
pop ecx
pop ecx
add eax, esi
lea eax, [eax + eax + 4]
push eax
push edi
push dword [0x43b08c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x42c091
push dword [ebp + 0xc]
push edi
call sub.MSVCRT.dll_wcscpy
pop ecx
pop ecx
test esi, esi
je 0x42c025
mov eax, dword [ebp + 0xc]
cmp word [eax + esi*2 - 2], 0x5c
je 0x42c025
push 0x43331c
push edi
call sub.MSVCRT.dll_wcscat
pop ecx
pop ecx
push ebx
push edi
call sub.MSVCRT.dll_wcscat
pop ecx
pop ecx
push dword [ebp + 8]
push dword [0x43db04]
call fcn.0043049a
mov esi, eax
lea eax, [esi + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x42c056
and dword [esi + 4], 0
jmp 0x42c068
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x42c06d
mov dword [esi + 4], 1
mov dword [ebp - 4], esi
jmp 0x42c082
cmp dword [ebp + 8], 0xffffffff
jne 0x42c07f
push esi
push dword [0x43db04]
call fcn.00430577
and dword [esi], 0
push edi
push 0
push dword [0x43b08c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x42c19f
Capabilities:
Delete file
Set file attributes

Disassembly:
cmp dword [esp + 4], 0
je 0x42c1c8
test byte [esp + 8], 2
je 0x42c1bc
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 0x42c1ca
xor eax, eax
ret 8
Function at 0x42c805
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
cmp dword [ebp + 8], 0
je 0x42c87b
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
add esp, 0x10
lea eax, [ebp + eax*2 - 0x20c]
jmp 0x42c85c
movzx edx, word [eax - 2]
cmp edx, 0x20
je 0x42c859
cmp edx, 0x5c
je 0x42c859
cmp edx, 0x2f
jne 0x42c866
add eax, 0xfffffffe
lea ecx, [ebp - 0x20c]
cmp eax, ecx
ja 0x42c846
xor ecx, ecx
mov word [eax], cx
push ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x42c87d
xor eax, eax
leave
ret 4

Function at 0x42c930
Capabilities:
Write file on windows

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

Function at 0x42ccf0
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [0x43dc68]
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push ebx
push eax
mov esi, 0x18
mov dword [esp + 0x14], 0
call fcn.00430537
mov ebp, eax
test ebp, ebp
je 0x42ce01
push edi
push ebx
call fcn.0042d430
cmp dword [ebp + 4], 0
mov esi, eax
mov edi, edx
je 0x42cd3f
push 4
lea ecx, [esp + 0x1c]
push ecx
push ebp
call fcn.0042d4b0
mov dword [esp + 0x10], eax
jmp 0x42cd5b
mov ecx, dword [ebp]
push 0
lea edx, [esp + 0x14]
push edx
push 4
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
cmp eax, 2
jl 0x42cd78
cmp cl, 0xff
jne 0x42cd78
cmp ch, 0xfe
jne 0x42cd78
mov ebp, 0x19
add esi, 2
jmp 0x42cdd5
cmp eax, 3
jl 0x42cd98
cmp cl, 0xef
jne 0x42cd98
cmp ch, 0xbb
jne 0x42cd98
cmp byte [esp + 0x1a], 0xbf
jne 0x42cd98
mov ebp, 2
add esi, 3
jmp 0x42cdd5
cmp eax, 2
jl 0x42cdb1
cmp cl, 0xfe
jne 0x42cdb1
cmp ch, 0xff
jne 0x42cdb1
mov ebp, 4
add esi, 2
jmp 0x42cdd5
cmp eax, 4
jl 0x42cdea
cmp ecx, 0xfeff
jne 0x42cdc5
mov ebp, 5
jmp 0x42cdd2
cmp ecx, 0xfffe0000
jne 0x42cdea
mov ebp, 6
add esi, 4
adc edi, 0
push edi
push esi
push ebx
call fcn.0042d0f0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
pop ecx
ret 4
push edi
push esi
push ebx
mov ebp, 0x18
call fcn.0042d0f0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
pop ecx
ret 4
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x42ce10
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
mov ecx, dword [0x43dc68]
push esi
push eax
push ecx
mov dword [esp + 0xc], 0
call fcn.00430537
mov esi, eax
test esi, esi
je 0x42ce93
cmp dword [esi + 4], 0
je 0x42ce62
push 1
lea edx, [esp + 8]
push edx
push esi
call fcn.0042d4b0
test eax, eax
je 0x42ce56
inc dword [esi + 0xc]
xor eax, eax
pop esi
add esp, 8
ret 4
mov eax, 1
pop esi
add esp, 8
ret 4
mov edx, dword [esi]
push 0
lea eax, [esp + 0xc]
push eax
push 1
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42ce9e
cmp dword [esp + 8], 0
je 0x42ce9e
mov eax, dword [esi]
push 1
push 0
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 4]
pop esi
add esp, 8
ret 4
or eax, 0xffffffff
pop esi
add esp, 8
ret 4

Function at 0x42cfd0
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
mov ecx, dword [0x43dc68]
push eax
push ecx
mov dword [esp + 8], 0
call fcn.00430537
test eax, eax
je 0x42d01a
cmp dword [eax + 4], 0
lea edx, [esp]
je 0x42d007
push 4
push edx
push eax
call fcn.0042d4b0
mov eax, dword [esp]
pop ecx
ret 4
mov eax, dword [eax]
push 0
lea ecx, [esp + 0xc]
push ecx
push 4
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp]
pop ecx
ret 4

Function at 0x42d090
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
mov ecx, dword [0x43dc68]
push eax
push ecx
mov dword [esp + 8], 0
call fcn.00430537
test eax, eax
je 0x42d0e2
cmp dword [eax + 4], 0
je 0x42d0c8
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push edx
push ecx
push eax
call fcn.0042d4b0
pop ecx
ret 0xc
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
push 0
lea edx, [esp + 4]
push edx
mov edx, dword [esp + 0x14]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp]
pop ecx
ret 0xc
Function at 0x42d190
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [0x43dc68]
push eax
push ecx
call fcn.00430537
test eax, eax
je case.0x42d1c0.3
mov ecx, dword [esp + 8]
add ecx, 0xfffffffe
cmp ecx, 0x17
ja case.0x42d1c0.3
movzx edx, byte [ecx + 0x42d2d0]
jmp dword [edx*4 + 0x42d2b8]
cmp dword [eax + 4], 0
je 0x42d1dd
push 2
push 0x433828
push eax
call fcn.0042d8e0
ret 8
mov edx, dword [eax]
push 0
lea ecx, [esp + 8]
push ecx
push 2
push 0x433828
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8
cmp dword [eax + 4], 0
je 0x42d20d
push 3
push 0x433824
push eax
call fcn.0042d8e0
ret 8
mov edx, dword [eax]
push 0
lea ecx, [esp + 8]
push ecx
push 3
push 0x433824
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8
cmp dword [eax + 4], 0
je 0x42d23d
push 2
push 0x433820
push eax
call fcn.0042d8e0
ret 8
mov edx, dword [eax]
push 0
lea ecx, [esp + 8]
push ecx
push 2
push 0x433820
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8
cmp dword [eax + 4], 0
je 0x42d26d
push 4
push 0x433818
push eax
call fcn.0042d8e0
ret 8
mov edx, dword [eax]
push 0
lea ecx, [esp + 8]
push ecx
push 4
push 0x433818
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8
cmp dword [eax + 4], 0
je 0x42d29d
push 4
push 0x433810
push eax
call fcn.0042d8e0
ret 8
mov edx, dword [eax]
push 0
lea ecx, [esp + 8]
push ecx
push 4
push 0x433810
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8

Function at 0x42d320
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 4], eax
test esi, esi
je 0x42d423
cmp word [esi], ax
je 0x42d423
mov eax, dword [esp + 0xc]
mov ecx, dword [0x43dc68]
push edi
push eax
push ecx
call fcn.00430537
mov edi, eax
test edi, edi
je 0x42d41e
mov eax, dword [esp + 0x18]
cmp eax, 0x19
jne 0x42d3be
cmp dword [edi + 4], 0
mov eax, esi
lea edx, [eax + 2]
je 0x42d390
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42d370
sub eax, edx
sar eax, 1
lea edx, [eax + eax]
push edx
push esi
push edi
call fcn.0042d8e0
pop edi
pop esi
pop ecx
ret 0xc
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42d390
sub eax, edx
push 0
sar eax, 1
lea ecx, [esp + 0xc]
push ecx
lea edx, [eax + eax]
mov eax, dword [edi]
push edx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
xor ecx, ecx
cmp eax, 2
setne cl
lea edx, [esp + 0x14]
push edx
push esi
lea eax, [ecx - 1]
and eax, 0xfde9
push eax
call fcn.0042d9e0
mov esi, eax
test esi, esi
je 0x42d41e
cmp dword [edi + 4], 0
je 0x42d3f8
mov eax, dword [esp + 0x14]
push eax
push esi
push edi
call fcn.0042d8e0
mov dword [esp + 8], eax
jmp 0x42d40e
mov edx, dword [esp + 0x14]
mov eax, dword [edi]
push 0
lea ecx, [esp + 0xc]
push ecx
push edx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [0x43b08c]
push esi
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc