joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432d30
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call sub.WINDCS32.dll_Ordinal_52
push eax
push 0
push 0xffffffffffffffff
call sub.WINDCS32.dll_Ordinal_69
push eax
push 0x44938c
push 0x44a640
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x44a640
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 4], eax
push 0x44a2e0
call sub.WINDCS32.dll_Ordinal_72
cmp dword [0x44a508], 0
je 0x432d9e
push 0x40
push 0x44a540
mov eax, dword [0x44a2e0]
mov ecx, dword [eax + 0x2b4]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x432f27
mov dword [0x44a508], 1
mov ax, word [ebp + 0x1c]
mov word [0x449388], ax
mov ecx, dword [ebp + 0x10]
push ecx
call sub.WINDCS32.dll_Ordinal_52
push eax
mov edx, dword [ebp + 0xc]
push edx
push 0
push 5
call sub.WINDCS32.dll_Ordinal_69
push eax
push str._sPCU._sNOTETXT._d_s
push 0x44a4c0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push 0x44a4c0
call sub.MSVCRT.dll__mkdir
add esp, 4
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call sub.WINDCS32.dll_Ordinal_52
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
push 5
call sub.WINDCS32.dll_Ordinal_69
push eax
push str._sPCU._sNOTETXT._d_s_s._s
push 0x44a4c0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x20
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call sub.WINDCS32.dll_Ordinal_52
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
push 5
call sub.WINDCS32.dll_Ordinal_69
push eax
push str._sPCU._sNOTETXT._d_s_s.txt
push 0x44a5e0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push str._s._s
push 0x44a510
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x44a510
mov eax, dword [0x44a2e0]
mov ecx, dword [eax + 0x28]
push ecx
push str._s_____s_
push 0x44a540
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov edx, dword [ebp + 0x18]
push edx
push 0x449410
push 0x44a520
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.004331a7
test eax, eax
jne 0x432edf
push 0x40
push 0x44a540
mov ecx, dword [0x44a2e0]
mov edx, dword [ecx + 0x2c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x44a508], 0
xor eax, eax
jmp 0x432f27
push 0xfffffffffffffffa
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0x433aec
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0xc8
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x44a508], 0
mov eax, 1
mov esp, ebp
pop ebp
ret 0x18
Function at 0x433f9e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push str.system.ini
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0x449e00
push str.shell
push str.boot
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x84]
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
lea edx, [ebp + eax - 0x84]
mov dword [ebp - 4], edx
jmp 0x433ff1
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x84]
cmp ecx, edx
jbe 0x434016
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
cmp ecx, 0x5c
jne 0x434014
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x434016
jmp 0x433fe8
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x43402f
mov eax, 1
jmp 0x434031
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4341e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], 0xffffffff
mov dword [0x449e08], 1
call sub.WINDCS32.dll_Ordinal_52
push eax
push 0
push 0xffffffffffffffff
call sub.WINDCS32.dll_Ordinal_69
push eax
push str._sTEXTE._1.1iMENUAPPL.INI
push 0x449e0c
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov dword [ebp - 0x14], 0
jmp 0x43422c
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x16
jge 0x434271
mov ecx, dword [ebp - 0x14]
add ecx, 1
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x449550
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x449e0c
push 0xffffffffffffffff
push 0x44955c
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x14]
mov dword [edx*4 + 0x449e5c], eax
jmp 0x434223
mov eax, dword [ebp - 0x14]
mov dword [0x449eb4], eax
mov esp, ebp
pop ebp
ret
Function at 0x43427d
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push 0x449560
mov eax, dword [ebp + 0x10]
push eax
call sub.MSVCRT.dll__strcmpi
add esp, 8
test eax, eax
jne 0x4342b0
cmp dword [0x449e08], 0
jne 0x4342ae
push 0x449564
call fcn.004341e0
add esp, 4
jmp 0x4342c6
cmp dword [0x449e08], 0
jne 0x4342c6
push 0x449568
call fcn.004341e0
add esp, 4
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetMenu]
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x60], 0
jmp 0x4342f5
mov edx, dword [ebp - 0x58]
add edx, 1
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
cmp eax, dword [0x449eb4]
jge 0x434406
mov ecx, dword [ebp - 0x58]
cmp dword [ecx*4 + 0x449e5c], 0xffffffff
jne 0x434313
jmp 0x4342ec
mov edx, dword [ebp - 0x58]
add edx, 1
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0x44956c
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x449e0c
push 0x1e
lea edx, [ebp - 0x30]
push edx
push 0x449eb8
push 0x449578
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x449e0c
push 0x1e
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0x449580
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x449e0c
push 0xffffffffffffffff
push 0x449588
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x5c]
push edx
call sub.WINDCS32.dll_Ordinal_53
push eax
call sub.PROD32.DLL_Ordinal_1
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call sub.MSVCRT.dll__strcmpi
add esp, 8
test eax, eax
je 0x4343b2
cmp dword [ebp - 0x54], 0
jne 0x4343d6
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax*4 + 0x449e5c]
push ecx
push 0x401
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_InsertMenuA]
jmp 0x4343f8
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x58]
mov eax, dword [edx*4 + 0x449e5c]
push eax
push 0x400
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_InsertMenuA]
mov eax, dword [ebp - 0x60]
add eax, 1
mov dword [ebp - 0x60], eax
jmp 0x4342ec
mov esp, ebp
pop ebp
ret
Function at 0x43440a
Capabilities:
Create process on windows
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push edi
mov al, byte [0x449ebc]
mov byte [ebp - 0x90], al
mov ecx, 0x20
xor eax, eax
lea edi, [ebp - 0x8f]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x98], 1
mov dword [ebp - 0x94], 0
jmp 0x434453
mov ecx, dword [ebp - 0x94]
add ecx, 1
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x94]
cmp edx, dword [0x449eb4]
jge 0x4344ec
mov eax, dword [ebp + 0xc]
and eax, 0xffff
mov ecx, dword [ebp - 0x94]
xor edx, edx
mov dx, word [ecx*4 + 0x449e5c]
cmp eax, edx
jne 0x4344e7
mov eax, dword [ebp - 0x94]
add eax, 1
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0x449590
lea edx, [ebp - 0xc]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x449e0c
push 0x81
lea eax, [ebp - 0x90]
push eax
push 0x449ec0
push 0x44959c
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 1
lea edx, [ebp - 0x90]
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0
push 0
push 0x10
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4344ec
jmp 0x434444
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x434e5d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
mov eax, dword [0x449ec8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [0x449ed0], 0
mov eax, 1
pop ebp
ret
Function at 0x4350ab
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push 0x449f34
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4350cb
xor eax, eax
jmp 0x435259
push 0x449630
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x24], eax
push str.FUNCKEYS
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x24], 0
jne 0x43511a
xor eax, eax
jmp 0x435259
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 0x20], edx
mov eax, 1
test eax, eax
je 0x43523b
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0xc]
jge 0x435155
mov edx, dword [ebp - 8]
xor eax, eax
mov al, byte [edx]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43515a
jmp 0x43523b
mov ecx, dword [ebp - 8]
add ecx, 2
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
push edx
push 0x449648
push 0x449f34
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x449f34
call sub.MSVCRT.dll_strlen
add esp, 4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0xc]
jge 0x4351c3
mov ecx, dword [ebp - 8]
xor edx, edx
mov dl, byte [ecx]
cmp edx, 0x20
jl 0x4351c3
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
mov dl, byte [ecx]
mov byte [eax + 0x449f34], dl
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x43518a
mov edx, dword [ebp - 0x28]
mov byte [edx + 0x449f34], 0
cmp dword [ebp - 4], 1
jl 0x435236
cmp dword [ebp - 4], 0xa
jg 0x435236
push 0x449f34
mov eax, dword [ebp - 4]
mov ecx, dword [eax*4 + 0x449f08]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax*4 + 0x449f08]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
sub ecx, 1
mov dword [ebp - 0x10], ecx
push 1
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax*4 + 0x449f08]
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x43512d
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 0xc]
push eax
push 0x449f34
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4354d0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043576f
test eax, eax
jne 0x4354f1
xor eax, eax
jmp 0x435604
mov edx, dword [ebp + 0x10]
push edx
push 0x44964c
push 0x44a3a0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
push 0x449650
push 0x44a640
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x124], 0x44a640
push 0x449654
push 0x44a640
call sub.MSVCRT.dll_strtok
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x435561
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x124], ecx
push 0x449658
push 0
call sub.MSVCRT.dll_strtok
add esp, 8
mov dword [ebp - 4], eax
jmp 0x43553e
mov edx, dword [ebp - 0x124]
push edx
push 0x44a3a0
call sub.MSVCRT.dll_strcat
add esp, 8
push 0
lea eax, [ebp - 0x98]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call sub.LZ32.dll_LZOpenFileA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x435594
xor eax, eax
jmp 0x435604
push 0x1000
lea edx, [ebp - 0x120]
push edx
push 0x44a3a0
call sub.LZ32.dll_LZOpenFileA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4355c0
mov eax, dword [ebp - 0x10]
push eax
call sub.LZ32.dll_LZClose
xor eax, eax
jmp 0x435604
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.LZ32.dll_LZCopy
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
push eax
call sub.LZ32.dll_LZClose
mov ecx, dword [ebp - 0xc]
push ecx
call sub.LZ32.dll_LZClose
cmp dword [ebp - 8], 0
jg 0x4355f5
push 0x44a3a0
call sub.MSVCRT.dll__unlink
add esp, 4
cmp dword [ebp - 8], 0
jge 0x4355ff
xor eax, eax
jmp 0x435604
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43576f
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push eax
push 0x44965c
push 0x44a640
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov byte [0x44a3a0], 0
push 0x449660
push 0x44a640
call sub.MSVCRT.dll_strtok
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4357b6
mov eax, 1
jmp 0x435946
mov ecx, dword [ebp - 4]
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
cmp eax, 1
ja 0x435828
mov edx, dword [ebp + 0xc]
push edx
push 0x449664
push 0x44a640
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x449668
push 0x44a640
call sub.MSVCRT.dll_strtok
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x435800
xor eax, eax
jmp 0x435946
mov eax, dword [ebp - 4]
push eax
push 0x44a3a0
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0x44966c
push 0
call sub.MSVCRT.dll_strtok
add esp, 8
mov dword [ebp - 4], eax
jmp 0x4358f7
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
cmp edx, 0x5c
jne 0x4358e2
mov eax, dword [ebp - 4]
movsx ecx, byte [eax + 1]
cmp ecx, 0x5c
jne 0x4358e2
push 0x449670
push 0x44a3a0
call sub.MSVCRT.dll_strcat
add esp, 8
push str._
push 0x44a640
call sub.MSVCRT.dll_strtok
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43587b
xor eax, eax
jmp 0x435946
mov edx, dword [ebp - 4]
push edx
push 0x44a3a0
call sub.MSVCRT.dll_strcat
add esp, 8
push 0x449678
push 0x44a3a0
call sub.MSVCRT.dll_strcat
add esp, 8
push 0x44967c
push 0
call sub.MSVCRT.dll_strtok
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4358bd
xor eax, eax
jmp 0x435946
mov eax, dword [ebp - 4]
push eax
push 0x44a3a0
call sub.MSVCRT.dll_strcat
add esp, 8
push 0x449680
push 0
call sub.MSVCRT.dll_strtok
add esp, 8
mov dword [ebp - 4], eax
jmp 0x4358f7
push 0x449684
push 0x44a640
call sub.MSVCRT.dll_strtok
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x435941
push 0x449688
push 0x44a3a0
call sub.MSVCRT.dll_strcat
add esp, 8
mov ecx, dword [ebp - 4]
push ecx
push 0x44a3a0
call sub.MSVCRT.dll_strcat
add esp, 8
push 0x44a3a0
call sub.MSVCRT.dll__mkdir
add esp, 4
push 0x44968c
push 0
call sub.MSVCRT.dll_strtok
add esp, 8
mov dword [ebp - 4], eax
jmp 0x4358f7
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x43594c
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov dword [ebp - 0x118], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.KERNEL32.dll__lopen]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0xffffffff
je 0x4359c3
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 0x10c]
push edx
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll__lclose]
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [ebp - 0x118], 1
jne 0x435a30
push 2
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll__lopen]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0xffffffff
je 0x435a30
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x10c]
push ecx
mov edx, dword [ebp - 0x124]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll__lclose]
mov eax, dword [ebp - 0x118]
mov esp, ebp
pop ebp
ret
Function at 0x435b42
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov dword [ebp - 4], 1
push 0x4496a0
call sub.MSVCRT.dll_strlen
add esp, 4
mov ecx, 0x104
sub ecx, eax
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x4496a4
lea ecx, [ebp - 0x24c]
push ecx
call sub.MSVCRT.dll_strcat
add esp, 8
lea edx, [ebp - 0x148]
push edx
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x435bb3
mov eax, 1
jmp 0x435cbd
push 0x4496a8
lea ecx, [ebp - 0x11c]
push ecx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x435be3
push 0x4496ac
lea edx, [ebp - 0x11c]
push edx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x435be8
jmp 0x435c82
lea eax, [ebp - 0x11c]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
mov ecx, 0x104
sub ecx, eax
sub ecx, 1
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x4496b0
lea ecx, [ebp - 0x24c]
push ecx
call sub.MSVCRT.dll_strcat
add esp, 8
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x24c]
push eax
call sub.MSVCRT.dll_strcat
add esp, 8
mov ecx, dword [ebp - 0x148]
and ecx, 0x10
test ecx, ecx
je 0x435c6a
lea edx, [ebp - 0x24c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00435b42
add esp, 8
test eax, eax
jne 0x435c68
mov dword [ebp - 4], 0
jmp 0x435c82
lea ecx, [ebp - 0x24c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x435c82
mov dword [ebp - 4], 0
lea edx, [ebp - 0x148]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x435bb3
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x435cba
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0xc71190
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0xa
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0xc711d0
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0xc711c7
push 0
lea edx, [ebp - 4]
push edx
push ebx
push esi
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0xc71220
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0xc80008]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x105
push 0
push esi
call fcn.00c776b0
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00c776b0
add esp, 0x18
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 0x214], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0xc82c8c], eax
test eax, eax
je 0xc71294
lea ecx, [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0xc82c8c]
cmp byte [ebp - 0x214], 0
push edi
push 0x105
je 0xc712b7
lea edx, [ebp - 0x210]
push edx
mov edi, 0xca
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
jmp 0xc712c9
lea eax, [ebp - 0x210]
push eax
mov edi, 0xc9
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.DumpIt.sys
lea ecx, [ebp - 0x210]
push ecx
push str._sDrivers_s
push 0x105
push esi
call fcn.00c71dc5
movzx edi, di
push esi
mov eax, edi
call fcn.00c71190
add esp, 0x18
test al, al
jne 0xc713b0
push 0x20a
lea edx, [ebp - 0x210]
push 0
push edx
call fcn.00c776b0
push str.DumpIt.sys
push str._TEMP__s
lea eax, [ebp - 0x210]
push 0x20a
push eax
call fcn.00c71dc5
add esp, 0x1c
push 0x105
push esi
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push esi
mov eax, edi
call fcn.00c71190
add esp, 4
test al, al
jne 0xc713b0
push 0x20a
lea edx, [ebp - 0x210]
push 0
push edx
call fcn.00c776b0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push str.DumpIt.sys
lea ecx, [ebp - 0x210]
push ecx
push str._s_s
push 0x105
push esi
call fcn.00c71dc5
push esi
mov eax, edi
call fcn.00c71190
add esp, 0x18
test al, al
jne 0xc713b0
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00c71db6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop edi
call fcn.00c71db6
mov esp, ebp
pop ebp
ret