joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005f60
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x5ace7a
call esi
mov bl, 0xeb
lea ecx, [ebp - 4]
push ecx
mov byte [0x5ace7a], bl
mov edx, dword [ebp - 4]
push edx
push 1
push 0x5ace7a
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x5ace7f
call esi
lea ecx, [ebp - 4]
push ecx
mov byte [0x5ace7f], bl
mov edx, dword [ebp - 4]
push edx
push 1
push 0x5ace7f
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x5aceef
call esi
lea ecx, [ebp - 4]
push ecx
mov byte [0x5aceef], bl
mov edx, dword [ebp - 4]
push edx
push 1
push 0x5aceef
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x5acef4
call esi
lea ecx, [ebp - 4]
push ecx
mov byte [0x5acef4], bl
mov edx, dword [ebp - 4]
push edx
push 1
push 0x5acef4
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x5acf61
call esi
lea ecx, [ebp - 4]
push ecx
mov byte [0x5acf61], bl
mov edx, dword [ebp - 4]
push edx
push 1
push 0x5acf61
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x5acf66
call esi
mov byte [0x5acf66], bl
mov edx, dword [ebp - 4]
lea ecx, [ebp - 4]
push ecx
push edx
push 1
push 0x5acf66
call esi
push 0x10006080
push 0x48ec8a
mov bl, 0xe8
call fcn.1000ed40
push 0x100060c0
push 0x5881a2
mov bl, 0xe9
call fcn.1000ed40
add esp, 0x10
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10006100
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x4b98c9
call esi
lea ecx, [ebp - 4]
push ecx
mov byte [0x4b98c9], 0xd0
mov edx, dword [ebp - 4]
push edx
push 1
push 0x4b98c9
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x4b98ca
call esi
lea ecx, [ebp - 4]
push ecx
mov byte [0x4b98ca], 7
mov edx, dword [ebp - 4]
push edx
push 1
push 0x4b98ca
call esi
push 0x100061c0
push 0x48fecc
mov bl, 0xe8
call fcn.1000ed40
push 0x100061c0
push 0x4904c5
call fcn.1000ed40
push 0x100061c0
push 0x490819
call fcn.1000ed40
push 0x100061c0
push 0x4d0d29
call fcn.1000ed40
push 0x100061c0
push 0x4fb6d0
call fcn.1000ed40
push 0x100061c0
push 0x548e63
call fcn.1000ed40
add esp, 0x30
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10008680
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, eax
fld dword [esi + 0x14]
call fcn.100104b0
fld dword [esi + 0x18]
push 1
push 0xa
add eax, 0x14
push 0xa
push eax
call fcn.100104b0
push eax
mov eax, 0x4354c0
call eax
add esp, 0x14
test eax, eax
je 0x100087a0
cmp byte [0x81b9408], 0
je 0x100087a0
push 0
mov byte [0x81b9408], 0
push 0
mov dword [0x7ca4160], 0
push 0x19
mov ecx, 0x414480
mov dword [0x6073cc], 6
call ecx
add esp, 0xc
xor dword [esi + 0x28], 1
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
je 0x1000874d
lea edx, [ebp - 4]
push edx
push 0x40
push 0xa
push 0x5c7a30
mov dword [ebp - 0x10], 0x90909090
mov dword [ebp - 0xc], 0x90909090
mov word [ebp - 8], 0x9090
call esi
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, 0x5c7a30
mov dword [eax], ecx
mov cx, word [ebp - 8]
mov dword [eax + 4], edx
lea edx, [ebp - 4]
push edx
mov word [eax + 8], cx
mov eax, dword [ebp - 4]
push eax
push 0xa
push 0x5c7a30
call esi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 4]
push ecx
push 0x40
push 0xa
push 0x5c7a30
mov dword [ebp - 0x10], 0x9e8006a
mov dword [ebp - 0xc], 0x83fffcbf
mov word [ebp - 8], 0x4c4
call esi
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov eax, 0x5c7a30
mov dword [eax], edx
mov dx, word [ebp - 8]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
mov ecx, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
push ecx
push 0xa
push 0x5c7a30
call esi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100089c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
fld dword [esi + 0x14]
call fcn.100104b0
fld dword [esi + 0x18]
push 1
push 0xa
add eax, 0x64
push 0xa
push eax
call fcn.100104b0
push eax
mov eax, 0x4354c0
call eax
add esp, 0x14
test eax, eax
je 0x10008ab7
xor eax, eax
cmp byte [0x81b9408], al
je 0x10008ab7
push eax
mov byte [0x81b9408], al
push eax
mov dword [0x7ca4160], eax
push 0x19
mov ecx, 0x414480
mov dword [0x6073cc], 6
call ecx
add esp, 0xc
xor dword [esi + 0x38], 1
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edx, [ebp - 4]
push edx
push 0x40
push 1
push 0x4f0150
je 0x10008a6f
call esi
lea eax, [ebp - 4]
push eax
mov byte [0x4f0150], 0xc3
mov ecx, dword [ebp - 4]
push ecx
push 1
push 0x4f0150
call esi
lea edx, [ebp - 4]
push edx
push 0x40
push 1
push 0x4f63d0
call esi
mov byte [0x4f63d0], 0xc3
jmp 0x10008a9f
call esi
lea eax, [ebp - 4]
push eax
mov byte [0x4f0150], 0x55
mov ecx, dword [ebp - 4]
push ecx
push 1
push 0x4f0150
call esi
lea edx, [ebp - 4]
push edx
push 0x40
push 1
push 0x4f63d0
call esi
mov byte [0x4f63d0], 0x55
mov ecx, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
push ecx
push 1
push 0x4f63d0
call esi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10008ac0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
fld dword [esi + 0x14]
call fcn.100104b0
fld dword [esi + 0x18]
push 1
push 0xa
add eax, 0x78
push 0xa
push eax
call fcn.100104b0
push eax
mov eax, 0x4354c0
call eax
add esp, 0x14
test eax, eax
je 0x10008c0d
cmp byte [0x81b9408], 0
je 0x10008c0d
push 0
mov byte [0x81b9408], 0
push 0
mov dword [0x7ca4160], 0
push 0x19
mov ecx, 0x414480
mov dword [0x6073cc], 6
call ecx
add esp, 0xc
xor dword [esi + 0x3c], 1
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edx, [ebp - 4]
push edx
push 0x40
push 1
push 0x5a95f0
je 0x10008b9e
call esi
lea eax, [ebp - 4]
push eax
mov byte [0x5a95f0], 0xc3
mov ecx, dword [ebp - 4]
push ecx
push 1
push 0x5a95f0
call esi
lea edx, [ebp - 4]
push edx
push 0x40
push 1
push 0x4e3440
call esi
lea eax, [ebp - 4]
push eax
mov byte [0x4e3440], 0xc3
mov ecx, dword [ebp - 4]
push ecx
push 1
push 0x4e3440
call esi
lea edx, [ebp - 4]
push edx
push 0x40
push 1
push 0x4d23fb
call esi
mov byte [0x4d23fb], 0
jmp 0x10008bf5
call esi
lea eax, [ebp - 4]
push eax
mov byte [0x5a95f0], 0x55
mov ecx, dword [ebp - 4]
push ecx
push 1
push 0x5a95f0
call esi
lea edx, [ebp - 4]
push edx
push 0x40
push 1
push 0x4e3440
call esi
lea eax, [ebp - 4]
push eax
mov byte [0x4e3440], 0x55
mov ecx, dword [ebp - 4]
push ecx
push 1
push 0x4e3440
call esi
lea edx, [ebp - 4]
push edx
push 0x40
push 1
push 0x4d23fb
call esi
mov byte [0x4d23fb], 1
mov ecx, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
push ecx
push 1
push 0x4d23fb
call esi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100095d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10013018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10009617
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000faed
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 0x18]
push eax
push 6
lea ecx, [ebp - 0x20]
push ecx
push edi
call ebx
mov edx, 0x1112
cmp word [ebp - 0x20], dx
jne 0x1000972c
cmp dword [ebp - 0x1e], 0x36
jne 0x1000972c
cmp byte [ebp + 0xc], 0
push esi
mov esi, 0x1007f80c
je 0x10009657
mov esi, 0x1007f83c
push 0
lea eax, [ebp - 0x18]
push eax
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push edi
call ebx
mov edx, dword [0x1007f86c]
xor edx, dword [ebp - 0x14]
push 0
mov dword [esi], edx
mov eax, dword [0x1007f870]
xor eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov ecx, dword [0x1007f874]
xor ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x18]
push eax
mov dword [esi + 8], ecx
mov edx, dword [0x1007f878]
xor edx, dword [ebp - 8]
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push edi
mov dword [esi + 0xc], edx
call ebx
mov edx, dword [0x1007f86c]
xor edx, dword [ebp - 0x14]
push 0
mov dword [esi + 0x10], edx
mov eax, dword [0x1007f870]
xor eax, dword [ebp - 0x10]
mov dword [esi + 0x14], eax
mov ecx, dword [0x1007f874]
xor ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x18]
push eax
mov dword [esi + 0x18], ecx
mov edx, dword [0x1007f878]
xor edx, dword [ebp - 8]
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push edi
mov dword [esi + 0x1c], edx
call ebx
mov edx, dword [0x1007f86c]
xor edx, dword [ebp - 0x14]
push edi
mov dword [esi + 0x20], edx
mov eax, dword [0x1007f870]
xor eax, dword [ebp - 0x10]
mov dword [esi + 0x24], eax
mov ecx, dword [0x1007f874]
xor ecx, dword [ebp - 0xc]
mov dword [esi + 0x28], ecx
mov edx, dword [0x1007f878]
xor edx, dword [ebp - 8]
mov dword [esi + 0x2c], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000faed
mov esp, ebp
pop ebp
ret 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop ebx
xor ecx, ebp
xor al, al
pop edi
call fcn.1000faed
mov esp, ebp
pop ebp
ret 8
Function at 0x1000aaa0
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x420
mov eax, dword [0x10013018]
xor eax, esp
mov dword [esp + 0x41c], eax
push esi
push edi
lea esi, [esp + 0x10]
call fcn.10001b50
lea eax, [esp + 0x10]
push eax
lea esi, [ebx + 0x6c8c4]
mov eax, str.ServerInfo.sse
call fcn.10001c90
test al, al
jne 0x1000ab01
push str._Error__ReadMainFile_1:_Failed_to_calculate_CRC_for_the_main_file.
call fcn.1000ee10
add esp, 4
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.1000faed
mov esp, ebp
pop ebp
ret
push 0
push 0x20
push 3
push 0
push 1
push 0x80000000
push str.ServerInfo.sse
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1000ab45
push str._Error__ReadMainFile_2:_Failed_to_open_the_main_file.
call fcn.1000ee10
add esp, 4
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.1000faed
mov esp, ebp
pop ebp
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x6c8c0
je 0x1000ab7f
push str._Error__ReadMainFile_3:_Unexpected_size_for_the_main_file.
call fcn.1000ee10
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.1000faed
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x6c8c0
lea esi, [ebx + 4]
push esi
push edi
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1000aba9
push str._Error__ReadMainFile_4:_Failed_to_read_the_main_file_data.
jmp 0x1000ab5a
mov dword [esp + 0x410], 0x1a927f45
mov dword [esp + 0x414], 0x295de8b4
mov dword [esp + 0x418], 0x6c2e8f70
mov dword [esp + 0x41c], 0x3a8ef79b
mov dword [esp + 0x420], 0x81a12f59
xor ecx, ecx
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
mov eax, ecx
sub eax, edx
mov edx, ecx
shr edx, 8
and dl, cl
or dl, byte [esp + eax + 0x410]
mov al, byte [esi + ecx]
not al
xor dl, al
mov byte [esi + ecx], dl
inc ecx
cmp ecx, 0x6c8c0
jb 0x1000abe2
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x424]
pop edi
pop esi
xor ecx, esp
mov al, 1
call fcn.1000faed
mov esp, ebp
pop ebp
ret
Function at 0x1000ac40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x518
mov eax, dword [0x10013018]
xor eax, esp
mov dword [esp + 0x514], eax
cmp dword [edi + 0xf4], 0
push ebx
push esi
je 0x1000ad3d
push 0x103
lea eax, [esp + 0x415]
push 0
push eax
mov byte [esp + 0x41c], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x104
lea ecx, [esp + 0x414]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1000acb6
push str._Error__CheckClientFile_1:_Failed_to_get_the_module_file_name.
call fcn.1000ee10
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ebx, [edi + 0xd3]
push ebx
lea esi, [esp + 0x414]
call fcn.1000edc0
push eax
call dword [sym.imp.MSVCR100.dll__stricmp]
add esp, 8
test eax, eax
je 0x1000acec
push str._Error__CheckClientFile_2:_Unexpected_client_file_name.
call fcn.1000ee10
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea esi, [esp + 0x10]
call fcn.10001b50
mov edx, esi
push edx
lea esi, [esp + 0x10]
mov eax, ebx
call fcn.10001c90
test al, al
jne 0x1000ad1c
push str._Error__CheckClientFile_3:_Failed_to_calculate_CRC_for_the_client_file.
call fcn.1000ee10
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [edi + 0xf4]
cmp eax, dword [esp + 0xc]
je 0x1000ad3d
push str._Error__CheckClientFile_4:_Client_file_CRC_does_not_match.
call fcn.1000ee10
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [esp + 0x51c]
pop esi
pop ebx
xor ecx, esp
call fcn.1000faed
mov esp, ebp
pop ebp
ret
Function at 0x1000ad60
Capabilities:
Encode data using xor
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x41c
mov eax, dword [0x10013018]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.MSVCR100.dll_fread]
lea ecx, [eax + 0xf8]
push esi
add eax, 0x198
push edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp dword [eax], 0
je 0x1000ae8a
lea esi, [esp + 0x20]
call fcn.10001b50
mov edx, dword [esp + 0x14]
push 0x1001126c
push edx
lea eax, [esp + 0x18]
push eax
or esi, 0xffffffff
mov dword [esp + 0x1c], 0
call dword [sym.imp.MSVCR100.dll_fopen_s]
add esp, 0xc
test eax, eax
jne 0x1000aecc
push 0x400
call dword [sym.imp.MSVCR100.dll_malloc]
mov ecx, dword [esp + 0x14]
add esp, 4
mov edi, eax
push ecx
test edi, edi
je 0x1000aec3
push 0x400
push 1
push edi
call ebx
add esp, 0x10
test eax, eax
je 0x1000ae46
mov ecx, edi
test eax, eax
je 0x1000ae30
movzx ebx, byte [ecx]
mov edx, esi
and edx, 0xff
xor edx, ebx
shr esi, 8
xor esi, dword [esp + edx*4 + 0x20]
inc ecx
dec eax
jne 0x1000ae12
mov ebx, dword [sym.imp.MSVCR100.dll_fread]
mov eax, dword [esp + 0x10]
push eax
push 0x400
push 1
push edi
call ebx
add esp, 0x10
test eax, eax
jne 0x1000ae0c
push edi
call dword [sym.imp.MSVCR100.dll_free]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.MSVCR100.dll_fclose]
mov edx, dword [esp + 0x20]
not esi
add esp, 8
cmp dword [edx], esi
jne 0x1000aee1
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x1000aef6
push 0x10011888
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000ae8a
call eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add dword [esp + 0x14], 0x20
inc ecx
add eax, 4
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
cmp ecx, 5
jl 0x1000ada1
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000faed
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
push str._Error__CheckPluginFile_1:_Failed_to_calculate_CRC_for_a_plugin_file.
call fcn.1000ee10
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str._Error__CheckPluginFile_2:_Plugin_file_CRC_does_not_match.
call fcn.1000ee10
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str._Error__CheckPluginFile_3:_Failed_to_load_a_plugin_file.
call fcn.1000ee10
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1000b680
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
mov esi, eax
mov dword [0x10197504], ebx
mov dword [0x10197508], ebx
call edi
mov dword [0x1019750c], eax
call edi
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
mov dword [0x10197510], eax
mov eax, dword [esi + 0x38]
mov dword [0x101974ac], ecx
mov ecx, dword [esi + 0x48]
mov dword [0x101974a8], eax
mov eax, dword [esi + 0x44]
mov dword [0x101974b0], edx
mov edx, dword [esi + 0x4c]
mov dword [0x101974b8], ecx
mov ecx, dword [esi + 0x54]
mov dword [0x101974b4], eax
mov eax, dword [esi + 0x50]
mov dword [0x101974bc], edx
mov edx, dword [esi + 0x58]
mov dword [0x101974c4], ecx
mov ecx, dword [esi + 0x60]
mov dword [0x101974c0], eax
mov eax, dword [esi + 0x5c]
mov dword [0x101974d4], edx
mov edx, dword [esi + 0x64]
mov dword [0x101974dc], ecx
mov ecx, dword [0x7924f08]
mov dword [0x101974d8], eax
mov eax, dword [esi + 0x68]
mov dword [0x101974e0], edx
xor edx, edx
mov word [ecx + 0x1e4], dx
mov dword [0x101974e4], eax
mov eax, dword [0x7924f08]
mov byte [eax], bl
mov ecx, dword [0x7b5ecd4]
push ecx
mov edx, 0x4a7520
mov ecx, 0x5687d00
mov dword [0x10197514], ebx
mov dword [0x10197518], ebx
mov dword [0x1019751c], ebx
call edx
mov eax, dword [0x7b5eccc]
movzx ecx, byte [eax + 0xb]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edx, [ebp - 4]
push edx
push 0x40
push 1
and ecx, 7
mov bl, byte [ecx + 0x10080260]
push 0x4b6f66
call esi
lea eax, [ebp - 4]
push eax
mov byte [0x4b6f66], bl
mov ecx, dword [ebp - 4]
push ecx
push 1
push 0x4b6f66
call esi
mov edx, dword [0x7b5ecd4]
push edx
mov eax, 0x40a790
mov ecx, 0x5687d00
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x10197508], 2
jne 0x1000c3db
mov edx, dword [0x100ef19c]
mov eax, dword [0x100ef198]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
mov ax, word [0x100ef1a0]
lea edx, [ebp - 0x10]
push esi
mov ecx, 0xe
push edx
mov dword [ebp - 0x10], 0x3f30ec1
mov word [ebp - 4], ax
call fcn.1000bb20
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 4
mov dword [0x10197504], 1
mov dword [0x10197508], 3
call esi
mov dword [0x1019750c], eax
call esi
mov dword [0x10197510], eax
mov eax, 0x7530
mov dword [0x10197514], eax
mov dword [0x10197518], eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000c890
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x5c0138
call esi
lea ecx, [ebp - 4]
push ecx
mov byte [0x5c0138], 0xeb
mov edx, dword [ebp - 4]
push edx
push 1
push 0x5c0138
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x5c01dd
call esi
lea ecx, [ebp - 4]
push ecx
mov byte [0x5c01dd], 0x50
mov edx, dword [ebp - 4]
push edx
push 1
push 0x5c01dd
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 0x26
push 0x5c01b2
call esi
mov eax, 0x90909090
mov ecx, 0x5c01b2
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], eax
mov word [ecx + 0x24], ax
mov edx, dword [ebp - 4]
lea ecx, [ebp - 4]
push ecx
push edx
push 0x26
push 0x5c01b2
call esi
push 0x1000c970
push 0x5c0259
mov bl, 0xe8
call fcn.1000ed40
push 0x1000c9a0
push 0x585db9
call fcn.1000ed40
push 0x1000c9d0
push 0x43d325
call fcn.1000ed40
add esp, 0x18
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000eb70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [0x101976ac]
push esi
test eax, eax
jne 0x1000eb9d
mov eax, dword [0x5688160]
push 0x1000ecb0
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov dword [0x101976ac], eax
test eax, eax
je 0x1000ebe8
mov ecx, dword [0x5688160]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x1000ebce
mov edx, dword [0x5688160]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov esi, 0x101976a8
call fcn.1000ebf0
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x5688160]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
mov esi, 0x101976a8
call fcn.1000ebf0
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000ed10
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push esi
call edi
fld dword [ebp + 8]
mov edx, dword [ebp - 4]
fstp dword [esi]
lea ecx, [ebp - 4]
push ecx
push edx
push 4
push esi
call edi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x1000ed40
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push esi
call edi
cmp bl, 0xff
je 0x1000ed61
mov byte [esi], bl
mov ecx, dword [ebp + 0xc]
sub ecx, esi
sub ecx, 5
lea edx, [ebp - 4]
push edx
mov dword [esi + 1], ecx
mov eax, dword [ebp - 4]
push eax
push 5
push esi
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000ed80
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push esi
push edi
call ebx
mov ecx, dword [ebp + 0xc]
push esi
push ecx
push edi
call sub.MSVCR100.dll_memcpy
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push eax
push esi
push edi
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000ee80
Capabilities:
Get common file path
Get disk information
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x10013018]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x1000eeb9
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000faed
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x10c]
push ecx
push 0
push 0
lea edx, [ebp - 0x108]
push edx
mov byte [ebp - 0x105], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x1000eea9
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx edx, word [ebp - 0x10e]
mov ecx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x10c]
and ecx, 0xf5fb
shl edx, 0x10
or ecx, edx
xor ecx, 0x15ca2020
push ecx
movzx ecx, word [ebp - 0x130]
shl ecx, 0xe
mov edx, eax
shr edx, 2
or ecx, edx
push ecx
mov ecx, dword [ebp - 0x11c]
shl ecx, 0x10
or ecx, eax
imul eax, eax
imul ecx, ecx, 0x14ce1989
push ecx
sub eax, 0x13b06451
push eax
push 0x12ba1074
push str._08X__08X__08X__08X__08X
push 0x101977c4
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
add esp, 0x1c
mov eax, 0x101977c4
call fcn.1000faed
mov esp, ebp
pop ebp
ret

Function at 0x1000faed
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10013018]
jne 0x1000faf7
repz ret
jmp fcn.1000ffac