joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4129d8
Capabilities:
Get storage device properties

Disassembly:
push ebx
mov edx, 7
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x4129de
call fcn.0042bdd0
mov edx, dword [esp + 0x24]
lea ecx, [esp]
call fcn.00416060
mov byte [esp + 0x18], 0
push 0
push 3
push 0
push dword [esp + 0xc]
call fcn.00403dfd
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x14]
cmp ebx, 0xffffffff
je 0x412a5e
push 0
lea eax, [esp + 0x14]
push eax
push 0x428
push dword [esp + 0x34]
push 0xc
lea eax, [esp + 0x18]
push eax
push 0x2d1400
push dword [esp + 0x30]
call sub.KERNEL32.dll_DeviceIoControl
mov byte [esp + 0x18], al
push dword [esp + 0x14]
call sub.KERNEL32.dll_CloseHandle
movsx eax, byte [esp + 0x18]
movsx eax, al
jmp 0x412a6a
push dword [esp]
call fcn.0042be60
add esp, 0x1c
pop ebx
ret 8
Function at 0x4169a7
Capabilities:
Create thread

Disassembly:
push ecx
push ebp
push esi
lea eax, [esp + 8]
xor esi, esi
push eax
push esi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, eax
test ebp, ebp
je 0x416a3f
push edi
push 0x436fbc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x435a0c]
test edi, edi
je 0x416a13
push ebx
push esi
lea ebx, [edi + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x416a0c
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi]
push ebx
push 0x435a0c
call fcn.0042bafc
pop ecx
pop ecx
jmp 0x416a0e
mov edi, dword [edi]
test edi, edi
jne 0x4169e3
pop ebx
mov eax, dword [0x4333b8]
mov esi, eax
inc eax
push 0x10
push 0x435a0c
mov dword [0x4333b8], eax
call fcn.0042bb3c
pop ecx
pop ecx
push 0x436fbc
mov dword [eax], ebp
mov dword [eax + 4], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebp
pop ecx
ret 8
Function at 0x417a06
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x417a5b
push dword [esp + 0x10]
push 0x417985
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [0x435c28]
test esi, esi
je 0x417ab4
xor edi, edi
mov ebx, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x417a53
cmp byte [esi + 0x10], 0
je 0x417a53
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 0x417a2f
jmp 0x417ab4
mov esi, dword [0x435c28]
test esi, esi
je 0x417ab4
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 0x417aad
cmp byte [esi + 0x11], 0
je 0x417a89
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [esi + 0x10], 0
je 0x417aa0
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 0x435c28
call fcn.0042bafc
pop ecx
pop ecx
mov esi, ebx
test ebx, ebx
jne 0x417a68
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x418274
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
push dword [0x436fe8]
call fcn.0042b1b8
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 0x418374
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], 0x20
mov dword [esp + 0x14], 0x22
cmp dx, word [esp + 0x10]
jne 0x4182ca
push 0x20
pop edx
add eax, 2
cmp word [eax], dx
je 0x4182c2
movzx edx, word [eax]
mov dword [esp + 0x1c], 1
cmp dx, word [esp + 0x14]
jne 0x41830a
add eax, 2
mov esi, eax
movzx ecx, word [eax]
test cx, cx
je 0x41834c
push 0x22
pop edx
cmp cx, dx
je 0x4182fc
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x4182ec
xor ecx, ecx
cmp word [eax], cx
je 0x41834c
mov ecx, eax
add eax, 2
jmp 0x41834e
test dx, dx
je 0x418354
push 0x20
mov esi, eax
pop ecx
cmp dx, cx
je 0x4182fc
add eax, 2
push 0x22
pop edx
cmp word [eax], dx
jne 0x418342
add eax, 2
movzx ecx, word [eax]
test cx, cx
je 0x41834c
cmp cx, dx
je 0x41833f
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x41832f
push 0x20
pop ecx
movzx edx, word [eax]
test dx, dx
jne 0x418314
jmp 0x4182fc
mov ecx, eax
mov edx, dword [esp + 0x1c]
jmp 0x418356
xor edx, edx
cmp dword [ebp], ebx
jne 0x41835f
test edi, edi
jne 0x41837c
test edx, edx
je 0x418364
inc ebx
xor edx, edx
mov esi, edx
movzx edx, word [eax]
test dx, dx
jne 0x4182b8
test edi, edi
jne 0x41838d
mov eax, ebx
jmp 0x418391
test esi, esi
je 0x41838d
sub ecx, esi
mov eax, esi
sar ecx, 1
mov dword [edi], ecx
inc dword [ebp]
jmp 0x418391
xor ecx, ecx
mov dword [edi], ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x418d30
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [0x437008]
call fcn.0042b1b8
mov edi, dword [eax + 0x24]
test edi, edi
je 0x418dee
cmp dword [edi + 8], 1
je 0x418dee
mov edi, dword [edi + 0xc]
test edi, edi
je 0x418dee
mov al, byte [edi]
cmp al, 0x20
je 0x418d69
cmp al, 9
jne 0x418d6c
inc edi
jmp 0x418d5f
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor eax, eax
push eax
push eax
push 0xffffffffffffffff
push edi
push eax
push 0xfde9
call esi
push dword [esp + 0x14]
mov ebx, eax
lea ecx, [ebx - 1]
push ecx
call fcn.0042c040
push ebx
mov ebp, eax
push ebp
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call esi
test ebx, ebx
jle 0x418dbd
push 9
pop edx
lea eax, [ebp - 2]
lea eax, [eax + ebx*2]
movzx ecx, word [eax]
push 0x20
pop esi
cmp cx, si
je 0x418dd9
cmp cx, dx
je 0x418dd9
pop edi
pop esi
pop ebp
pop ebx
ret 4
movzx ecx, word [eax]
cmp cx, si
je 0x418dd1
cmp cx, dx
jne 0x418ddd
xor ecx, ecx
mov word [eax], cx
sub eax, 2
cmp eax, ebp
jae 0x418dc4
push ebp
call sub.MSVCRT.dll_wcslen
pop ecx
sub ebx, eax
push ebx
call fcn.0042c120
jmp 0x418dbd
pop edi
pop esi
pop ebp
pop ebx
jmp fcn.0042c320
Function at 0x419b26
Capabilities:
Get graphical window text

Disassembly:
push ebx
push dword [esp + 8]
push dword [0x437040]
call fcn.0042b329
mov ebx, eax
test ebx, ebx
je 0x419b8a
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x419b4f
push dword [esp + 0xc]
push ebx
call eax
jmp 0x419b8a
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.0042c040
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.0042c120
pop edi
pop esi
pop ebx
ret 8
Function at 0x420eca
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4bc
lea eax, [ebp - 0x208]
push 0x104
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]
mov esp, ebp
pop ebp
ret 4
Function at 0x4211cc
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [0x436990], 0
jne 0x42129d
push ebx
push ebp
push esi
xor ebp, ebp
inc ebp
push 0x43704c
mov dword [0x436990], ebp
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov eax, 0x640
push eax
push 8
push dword [0x4357a8]
mov dword [0x436e54], eax
mov dword [0x436994], 0x1f4
call esi
mov dword [0x436e64], eax
mov eax, dword [0x436994]
add eax, eax
push eax
push 8
push dword [0x4357a8]
call esi
xor ebx, ebx
mov dword [0x436e60], eax
push 0x436e70
mov dword [0x436e58], ebx
mov dword [0x436e5c], ebp
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push ebp
push ebx
call esi
push ebx
push ebx
push ebp
push ebx
mov dword [0x436e88], eax
call esi
mov dword [0x436e8c], eax
cmp dword [0x436e88], ebx
je 0x421294
test eax, eax
je 0x421294
lea eax, [esp + 0xc]
mov dword [0x436e68], ebx
push eax
push ebx
push ebx
push 0x420ccf
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x436e6c], eax
jmp 0x42129a
mov dword [0x436e68], ebp
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4214d1
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 0x421647
mov eax, dword [esp + 0x24]
dec eax
je 0x42162a
dec eax
jne 0x421647
lea eax, [esp + 0x128]
xor ebp, ebp
push eax
call fcn.0042148a
pop ecx
test eax, eax
je 0x421588
mov ebx, dword [esp + 0x12c]
mov edi, dword [esp + 0x130]
mov eax, dword [esp + 0x134]
cmp byte [esp + 0x242], 1
jne 0x42154b
xor ebp, ebp
inc ebp
sub ebx, 3
je 0x421626
dec ebx
je 0x421622
dec ebx
je 0x421601
dec ebx
je 0x4215bb
sub ebx, 4
jne 0x421647
test edi, edi
jne 0x421647
cmp eax, 0x55f0
sbb esi, esi
and esi, 0xfffffff6
add esi, 0x78
jmp 0x421647
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 0x42154b
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
cmp byte [esp + 0x35e], 1
jmp 0x421546
sub edi, 0
je 0x4215f3
dec edi
je 0x4215e5
dec edi
je 0x4215d7
dec edi
jne 0x421647
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x69
jmp 0x421647
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x5f
jmp 0x421647
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x55
jmp 0x421647
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x4b
jmp 0x421647
sub edi, 0
je 0x42161e
dec edi
je 0x42161a
dec edi
jne 0x421647
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x41
jmp 0x421647
push 0x3c
jmp 0x421646
push 0x32
jmp 0x421646
push 0x14
jmp 0x421646
push 5
jmp 0x421646
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x421644
cmp eax, 0xa
je 0x421640
cmp eax, 0x5a
jne 0x421647
push 0x28
jmp 0x421646
push 0x1e
jmp 0x421646
push 0xa
pop esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x350
ret
Function at 0x422066
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push dword [0x437068]
call fcn.0042b329
mov esi, eax
test esi, esi
je 0x422140
cmp dword [ebp + 0xc], 0
je 0x4220b2
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x4220a3
cmp dword [esi + 0x1c], 0
jne 0x4220a3
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x422140
test byte [ebp + 0x10], 3
je 0x4220cd
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
push eax
push dword [ebp + 0x10]
push dword [esi]
call fcn.004230c2
cmp dword [esi + 0x3c], 0xffffffff
push ebx
je 0x4220f2
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 0x422106
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 0x422123
test ebx, ebx
je 0x422117
push 8
jmp 0x422129
neg ecx
sbb ecx, ecx
and ecx, 3
add ecx, 4
jmp 0x422136
test ebx, ebx
je 0x42212c
push 3
pop ecx
jmp 0x422136
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 0x422dce
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 0x422e66
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x422e63
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x14], eax
jne 0x422e63
lea eax, [esi - 1]
push eax
push dword [0x437068]
call fcn.0042b329
mov edi, eax
mov dword [esp + 0x10], 1
xor eax, eax
push 9
cmp dword [edi + 0x10], eax
jle 0x422e65
mov edx, dword [edi + 4]
xor ecx, ecx
pop esi
cmp word [ecx + edx + 2], si
jne 0x422e5a
mov esi, 0xfa01
push 9
cmp word [ecx + edx + 4], si
je 0x422f4d
pop esi
inc eax
add ecx, 6
cmp eax, dword [edi + 0x10]
jl 0x422e40
push 9
pop eax
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
test ebx, ebx
je 0x422f0c
push eax
call esi
test al, al
jns 0x422f0c
push 0x11
call esi
test al, al
js 0x422f0c
push 0x10
call esi
test al, al
js 0x422f0c
push 0x12
call esi
test al, al
js 0x422f0c
push 0x10
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
cmp dword [esp + 0x10], 0
jne 0x422f0c
push 5
lea eax, [esp + 0x1c]
push str.RichE
push eax
call sub.MSVCRT.dll_wcsncmp
add esp, 0xc
test eax, eax
je 0x422ee0
push 4
lea eax, [esp + 0x1c]
push str.RICHE
push eax
call sub.MSVCRT.dll_wcsncmp
add esp, 0xc
test eax, eax
jne 0x422ef7
push 0
push 0
push 0x44e
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, 0x800
je 0x422f57
lea eax, [esp + 0x18]
push str.Scintilla
push eax
call sub.MSVCRT.dll_wcscmp
pop ecx
pop ecx
test eax, eax
je 0x422f57
test ebp, ebp
je 0x422f30
push 0x11
call esi
test al, al
js 0x422f28
push 0x10
call esi
test al, al
js 0x422f28
push 0x12
call esi
test al, al
jns 0x422f30
push 1
push ebp
call fcn.00422f63
test ebx, ebx
je 0x422f44
push str.PB_Hotkey
push ebx
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
jne 0x422f57
test edi, edi
je 0x422f57
mov eax, dword [edi + 8]
jmp 0x422f59
and dword [esp + 0x14], 0
jmp 0x422e65
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
Function at 0x423524
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 0x42366c
xor ecx, ecx
cmp word [eax], cx
je 0x42366c
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 0x42357d
cmp eax, 3
jne 0x4235b7
cmp word [esp + 0xa], 0x3a
jne 0x4235b7
cmp eax, 2
jne 0x42359b
lea eax, [esp + 8]
push 0x42e1fc
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 0x42366c
push 0xfffffffffffffffe
pop edi
jmp 0x42366c
push ebx
push ebp
push 0x5c
pop ebp
push 0x2f
pop ebx
movzx eax, word [ecx]
cmp ax, bp
je 0x4235cc
cmp ax, bx
jne 0x4235d6
xor eax, eax
mov word [ecx], ax
sub ecx, 2
jmp 0x4235bf
lea eax, [esp + 0x21c]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, esi
je 0x423615
test byte [esp + 0x21c], 0x10
je 0x4235fc
push 0xfffffffffffffffe
pop edi
jmp 0x42360c
mov esi, dword [esp + 0x238]
xor edi, edi
or edi, dword [esp + 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x42366a
cmp word [esp + 0x10], bp
jne 0x423623
cmp word [esp + 0x12], bp
je 0x423642
cmp word [esp + 0x10], bx
jne 0x423631
cmp word [esp + 0x12], bx
je 0x423642
push 0x2e
pop eax
cmp word [esp + 0x10], ax
jne 0x42366a
cmp word [esp + 0x12], ax
jne 0x42366a
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, esi
je 0x423657
test al, 0x10
je 0x42366a
jmp 0x423667
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x42366a
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 0x42367b
Capabilities:
Delete file
Set file attributes

Disassembly:
cmp dword [esp + 4], 0
je 0x4236a4
test byte [esp + 8], 2
je 0x423698
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 0x4236a6
xor eax, eax
ret 8
Function at 0x42376b
Capabilities:
Check if file exists

Disassembly:
xor eax, eax
push ebp
mov ebp, eax
mov eax, dword [0x436eb4]
push esi
test eax, eax
jne 0x42377c
push fcn.00423884
push 0x10
push 0x258
call fcn.0042b3fc
mov dword [0x436eb4], eax
push dword [esp + 0xc]
push eax
call fcn.0042b368
mov esi, eax
test esi, esi
je 0x42387d
push edi
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x42379e
mov edi, 0x42e054
push ebx
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x4237ae
xor eax, eax
cmp word [ebx], ax
jne 0x4237b3
mov ebx, 0x42e208
push edi
call sub.MSVCRT.dll_wcslen
push ebx
mov dword [esp + 0x24], eax
call sub.MSVCRT.dll_wcslen
add eax, dword [esp + 0x24]
pop ecx
pop ecx
lea eax, [eax*2 + 4]
push eax
xor eax, eax
push eax
push dword [0x4357a8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esp + 0x18], eax
test eax, eax
je 0x423864
push edi
push eax
call sub.MSVCRT.dll_wcscpy
mov eax, dword [esp + 0x24]
pop ecx
pop ecx
test eax, eax
je 0x423814
cmp word [edi + eax*2 - 2], 0x5c
mov edi, dword [esp + 0x18]
je 0x423818
push 0x42e1fc
push edi
call sub.MSVCRT.dll_wcscat
pop ecx
pop ecx
jmp 0x423818
mov edi, dword [esp + 0x18]
push ebx
push edi
call sub.MSVCRT.dll_wcscat
pop ecx
pop ecx
lea eax, [esi + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x42383c
xor eax, eax
mov ebp, esi
mov dword [esi + 4], eax
jmp 0x423852
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x423850
mov dword [esi + 4], 1
mov ebp, esi
xor eax, eax
push edi
push eax
push dword [0x4357a8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
test ebp, ebp
jne 0x42387b
cmp dword [esp + 0x14], 0xffffffff
je 0x42386f
mov esi, dword [esp + 0x14]
push esi
push dword [0x436eb4]
call fcn.0042b2da
pop ebx
pop edi
pop esi
mov eax, ebp
pop ebp
ret 0xc
Function at 0x423d6a
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
cmp dword [ebp + 8], 0
je 0x423de2
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 0x423dc3
movzx ecx, word [eax - 2]
cmp ecx, 0x20
je 0x423dc0
cmp ecx, 0x5c
je 0x423dc0
cmp ecx, 0x2f
jne 0x423dcd
add eax, 0xfffffffe
lea ecx, [ebp - 0x20c]
cmp eax, ecx
ja 0x423dad
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x423de4
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x423dea
Capabilities:
Copy file

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

Function at 0x423f40
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 0x423f7c
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
Function at 0x4242d0
Capabilities:
Write file on windows

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
mov dword [esp], 0
test edx, edx
je 0x4242c8
cmp word [edx], 0
je 0x4242c8
mov ecx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0xc]
test ecx, ecx
jne 0x4241ee
mov ecx, dword [esi + 0x18]
push edi
cmp ecx, 0x19
jne 0x42424d
cmp dword [esi + 4], 0
mov ecx, edx
lea edi, [ecx + 2]
je 0x424220
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424200
sub ecx, edi
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push esi
call fcn.00424300
pop edi
pop esi
pop ecx
ret 0xc
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424220
sub ecx, edi
lea eax, [esp + 8]
push 0
sar ecx, 1
push eax
lea eax, [ecx + ecx]
push eax
push edx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
xor eax, eax
cmp ecx, 2
lea ecx, [esp + 0x14]
setne al
push ecx
dec eax
and eax, 0xfde9
push edx
push eax
call fcn.00424410
mov edi, eax
test edi, edi
je 0x424243
cmp dword [esi + 4], 0
je 0x42429b
push dword [esp + 0x14]
push edi
push esi
call fcn.00424300
push edi
push 0
push dword [0x4357a8]
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
push 0
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x1c]
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
push 0
push dword [0x4357a8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
xor eax, eax
pop ecx
ret 0xc
push dword [esp + 4]
push dword [0x437080]
call fcn.0042b329
test eax, eax
je 0x4242ec
mov dword [esp + 4], eax
jmp 0x4241c0
xor eax, eax
ret 0xc
Function at 0x424300
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x14]
mov dword [esp + 4], 0
cmp dword [esi + 0x1c], 0
jne 0x424407
cmp dword [esi + 0x14], 1
jne 0x42434b
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0xc]
push 1
neg eax
cdq
push ecx
push eax
push dword [esi]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esi + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
push edi
mov edi, dword [esp + 0x20]
cmp eax, edi
jle 0x4243c8
mov ecx, dword [esi + 8]
add ecx, dword [esi + 4]
sub ecx, eax
mov eax, edi
dec eax
je 0x4243b3
dec eax
je 0x42439c
sub eax, 2
je 0x424387
push edi
push dword [esp + 0x20]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
add esp, 0xc
ret 0xc
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
add esp, 0xc
ret 0xc
mov eax, dword [esp + 0x1c]
mov ax, word [eax]
mov word [ecx], ax
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
add esp, 0xc
ret 0xc
mov eax, dword [esp + 0x1c]
mov al, byte [eax]
mov byte [ecx], al
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
add esp, 0xc
ret 0xc
push esi
call fcn.00423f40
mov eax, dword [esi + 8]
cmp edi, eax
jl 0x4243f5
push 0
lea eax, [esp + 0xc]
push eax
push edi
push dword [esp + 0x28]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0xc
ret 0xc
mov ecx, dword [esi + 4]
sub ecx, dword [esi + 0xc]
push edi
push dword [esp + 0x20]
add ecx, eax
jmp 0x424371
xor eax, eax
pop esi
add esp, 0xc
ret 0xc

Function at 0x42536d
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push edi
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4253e2
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x42538b
mov esi, 0x42e054
push esi
call sub.MSVCRT.dll_wcslen
pop ecx
lea ebp, [eax*2 + 2]
push ebp
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4253d9
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4253d9
push ebp
push esi
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
mov edi, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebp
pop ebx
mov eax, edi
pop edi
ret 4