joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100087a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x100087b9
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100087f6
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x100087f2
nop word [eax + eax]
cmp esi, edx
jae 0x100087f6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x100087e0
cmp esi, edx
jb 0x100087fd
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000b040
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x1007700c]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x10077018], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x414], esi
mov dword [ebp - 0x410], ebx
je 0x1000b163
push 0x104
push 0
push 0x10078510
mov dword [0x10077018], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x104
push 0
push 0x10078100
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x104
push 0
push 0x10078308
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x104
push 0x10078510
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0
push 0x104
push 0x10078308
push 0x104
push 0x10078100
push 0
push 0
push 0x10078510
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath_s]
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x24
push 0x10078100
push str._sLog
push 0x10078718
call ebx
add esp, 0xc
push 0
push 0x10078718
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x10078308
push 0x10078100
mov ecx, 0x82
mov esi, 0x10078718
mov edi, 0x10078100
push str._s_s.log
rep movsd dword es:[edi], dword [esi]
push 0x10078718
call ebx
add esp, 0x10
push 0x10078718
push 0
call fcn.1000bff0
mov ebx, dword [ebp - 0x410]
mov esi, dword [ebp - 0x414]
lea eax, [ebp + 0x14]
mov edx, 0x400
push eax
push ecx
push dword [ebp + 0x10]
lea ecx, [ebp - 0x40c]
call fcn.1000b010
add esp, 0xc
lea eax, [ebp - 0x40c]
push eax
test ebx, ebx
je 0x1000b1ab
push ebx
push esi
push str._S_0x_08X__:__S
push 0
call fcn.10001720
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10033482
mov esp, ebp
pop ebp
ret
push 0x1006e878
push 0
call fcn.10001720
mov ecx, dword [ebp - 8]
add esp, 0xc
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10033482
mov esp, ebp
pop ebp
ret
Function at 0x1000b290
Capabilities:
Check if file exists
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10035296
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x1007700c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
call fcn.10001260
mov ecx, eax
test ecx, ecx
jne 0x1000b2d6
push 0x80004005
call fcn.10008930
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x418], eax
lea eax, [ebp - 0x418]
mov dword [ebp - 4], 0
push eax
push edi
call fcn.1000b1e0
cmp al, 1
jne 0x1000b481
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call ebx
cmp eax, 1
jne 0x1000b475
mov esi, dword [ebp - 0x418]
push esi
call ebx
test eax, eax
jne 0x1000b330
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, 1
jne 0x1000b487
push 0x100
lea eax, [ebp - 0x214]
push eax
push 0x100
lea eax, [ebp - 0x414]
push eax
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath_s]
add esp, 0x24
test eax, eax
jne 0x1000b475
push eax
push 0x80
push 3
push eax
push 1
push 0x80000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000b475
lea eax, [ebp - 0x434]
xorps xmm0, xmm0
push eax
push 0
push 0
push ebx
movq qword [ebp - 0x434], xmm0
movq qword [ebp - 0x43c], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x1000b46e
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x1000b46e
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x1000b46e
lea ecx, [esi - 0x10]
call fcn.1000ccb0
add eax, 0x10
mov dword [ebp - 0x41c], eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x214]
push eax
movzx eax, word [ebp - 0x420]
push eax
movzx eax, word [ebp - 0x422]
push eax
movzx eax, word [ebp - 0x424]
push eax
movzx eax, word [ebp - 0x426]
push eax
movzx eax, word [ebp - 0x42a]
push eax
movzx eax, word [ebp - 0x42c]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x41c]
push str._s__04d_02d_02d__02d_02d_02d_s
push eax
call fcn.10006cd0
add esp, 0x28
push 0
push dword [ebp - 0x41c]
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x41c]
mov byte [ebp - 4], 0
call fcn.100056e0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x418]
push eax
call fcn.1000b4d0
mov esi, dword [ebp - 0x418]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000b4a6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10033482
mov esp, ebp
pop ebp
ret 4
Function at 0x1000c360
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10035437
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x1007700c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea edi, [ebx + 8]
push edi
mov dword [ebp - 0x20], edi
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
mov esi, dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
add esp, 4
test eax, eax
je 0x1000c3ad
push eax
call esi
add esp, 4
mov dword [ebp - 4], 0
cmp dword [ebx + 4], 0xffffffff
je 0x1000c455
call fcn.10001260
mov ecx, eax
test ecx, ecx
jne 0x1000c3d3
push 0x80004005
call fcn.10008930
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
push str._r_n__Ending_Log:__s__r_n
call fcn.1000ba80
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
mov eax, dword [esi - 0xc]
add eax, eax
cmp dword [esi - 4], 1
mov dword [ebp - 0x1c], eax
jle 0x1000c419
push dword [esi - 0xc]
lea ecx, [ebp - 0x14]
call fcn.10006c50
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
push 0
lea ecx, [ebp - 0x18]
push ecx
push eax
push esi
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000c44f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
mov byte [ebx + 0x41], 0
mov dword [ebx + 4], 0
push edi
mov dword [ebp - 4], 2
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
test eax, eax
je 0x1000c47b
push eax
call esi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10033482
mov esp, ebp
pop ebp
ret
Function at 0x1000fa80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10035888
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x1007700c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
mov ebx, dword [ebp + 0x10]
push eax
push 0x101
push 0
push dword [esi + 8]
mov dword [ebp - 0x18], 0
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000fb48
call fcn.10001260
mov ecx, eax
test ecx, ecx
jne 0x1000faea
push 0x80004005
call fcn.10008930
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.LogLevel
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.1000fd70
mov esi, dword [ebp - 0x14]
push ebx
push edi
push 0
push 0
push esi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x18]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1000fb54
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1000fb54
push ebx
push edi
push ecx
mov ecx, esi
call fcn.1000fb80
mov edi, eax
neg edi
sbb edi, edi
and edi, 0x80004005
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10033482
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000fb80
Capabilities:
Get session information
Get session user name
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100358bb
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x1007700c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1b8], esi
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1bc], eax
call fcn.10001260
mov ecx, eax
test ecx, ecx
jne 0x1000fbdf
push 0x80004005
call fcn.10008930
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1a4], eax
push str.LogLevel
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 4], 0
call fcn.1000fd70
cmp dword [esi + 4], 0x80000001
mov esi, dword [ebp - 0x1a4]
jne 0x1000fd28
mov dword [ebp - 0x1ac], 0
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov edi, eax
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x1a0]
push eax
push 5
push edi
push 0
call dword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
lea eax, [ebp - 0x1a4]
mov dword [ebp - 0x1a4], 0
push eax
push edi
mov dword [ebp - 0x1b0], 0
call dword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
je 0x1000fd28
lea eax, [ebp - 0x1b0]
push eax
push 1
push 2
push 0
push 0xf01ff
push dword [ebp - 0x1a4]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 1
jne 0x1000fd20
push dword [ebp - 0x1b0]
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x1000fd18
lea eax, [ebp - 0x1b4]
push eax
push 0x20019
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
mov ebx, eax
test ebx, ebx
jne 0x1000fd12
lea eax, [ebp - 0x1ac]
push eax
mov eax, dword [ebp - 0x1b8]
push 0xf013f
push ebx
push dword [eax + 8]
push dword [ebp - 0x1b4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x1000fd12
push dword [ebp - 0x1bc]
push dword [ebp - 0x1c0]
push eax
push eax
push esi
push dword [ebp - 0x1ac]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x1ac]
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push dword [ebp - 0x1b0]
call edi
push dword [ebp - 0x1a4]
call edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000fd47
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10033482
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10012be0
Capabilities:
Get common file path
Get program files directory
Query environment variable

Disassembly:
push ecx
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10077d88]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10077ea4]
cmp eax, dword [ecx + 4]
jle 0x10012c66
push 0x10077ea4
call fcn.10033a36
add esp, 4
cmp dword [0x10077ea4], 0xffffffff
jne 0x10012c66
push 0x10037550
mov dword [0x10077e8c], 0
mov dword [0x10077e90], 0
mov dword [0x10077e94], 0
mov dword [0x10077e98], 0
mov byte [0x10077e9c], 0
mov dword [0x10077ea0], 0
call fcn.100338bd
add esp, 4
push 0x10077ea4
call fcn.100339f7
add esp, 4
call fcn.10011ea0
push 0xffffffffffffffff
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x10077ea0], 0
jne 0x10012cfa
push 1
push 1
push 1
push 0x104
mov ecx, 0x10077e8c
call fcn.10015970
mov eax, dword [0x10077ea0]
push 0
push 0x26
mov byte [eax], 0
push dword [0x10077ea0]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x10012cfa
push str.PROGRAMFILES
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x10012cdb
push 0x103
push eax
push dword [0x10077ea0]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
add esp, 0xc
jmp 0x10012cfa
mov eax, dword [0x10077ea0]
movq xmm0, qword [str.C:PROGRA1]
movq qword [eax], xmm0
mov eax, dword [0x10077ea0]
mov ecx, dword [0x1006f65c]
mov dword [eax + 8], ecx
call fcn.10011ea0
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [0x10077ea0]
pop ecx
ret
Function at 0x10015200
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10035a82
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x1007700c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov edx, dword [ebx]
lea edi, [ebp - 0xa4]
mov eax, dword [ebp + 8]
mov ecx, 0x21
movss xmm0, dword [ebp + 0x14]
mov dword [ebp - 0xac], ebx
lea esi, [edx + 0x30]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x18]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp + 0x10]
movss dword [ebx + 0x30], xmm0
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], ecx
mov eax, dword [edx + 0xc]
mov dword [ebx + 4], eax
mov eax, dword [edx + 0x10]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x38]
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x20], 0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10070b70]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [edx + 0xc8]
divss xmm0, dword [0x10070b30]
call fcn.10034770
test byte [ebp - 0x44], 0x19
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x2c], 0
je 0x100152fc
xor esi, esi
cmp byte [ebp + esi*4 - 0x78], 0
jne 0x100152da
cmp byte [ebp + esi*4 - 0x77], 0
jne 0x100152da
cmp byte [ebp + esi*4 - 0x76], 0
je 0x100152ec
lea eax, [ebp - 0xa8]
push eax
call fcn.10032960
mov eax, dword [eax]
mov dword [ebp + esi*4 - 0x78], eax
cmp dword [ebp + esi*4 - 0xa0], 0x64
je 0x100152fc
inc esi
cmp esi, 0xa
jl 0x100152c5
mov edx, dword [ebx + 4]
mov esi, dword [ebx + 8]
mov ecx, esi
mov eax, dword [ebx + 0x14]
cmp edx, esi
cmova ecx, edx
add eax, ecx
cmp edx, esi
mov dword [ebx + 0x3c], eax
cmovb esi, edx
inc eax
shr esi, 1
xor ecx, ecx
add eax, esi
mov edx, 4
mov dword [ebx + 0x38], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100346ba
mov ecx, eax
add esp, 4
mov dword [ebx + 0x34], ecx
test ecx, ecx
je 0x100153ea
mov eax, dword [ebx + 0x38]
shl eax, 2
push eax
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x78]
push dword [ebx + 0x34]
push dword [ebx + 0x3c]
push eax
lea eax, [ebp - 0xa0]
push eax
push ecx
call fcn.100326f0
mov edx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x38]
lea edi, [eax + edx*4]
sub ecx, edx
je 0x10015382
mov eax, dword [edi - 4]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x3c]
add eax, eax
mov dword [ebp - 4], 0
push 0x18
mov dword [ebx + 0x44], eax
call fcn.10033b3a
add esp, 4
mov dword [ebp - 0xb0], eax
lea edx, [ebp - 0xa8]
mov byte [ebp - 4], 1
mov ecx, dword [ebx + 0x44]
push edx
sub esp, 8
mov dword [ebp - 0xa8], 0
push ecx
push ecx
mov ecx, eax
call fcn.10015820
mov dword [ebx + 0x40], eax
test eax, eax
je 0x100153ea
mov dword [ebx + 0x28], 1
xor eax, eax
jmp 0x100153ef
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.10033482
mov esp, ebp
pop ebp
ret 0x14
Function at 0x10019610
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10035c9f
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1007700c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 8]
lea edi, [ecx + 0x30]
mov esi, dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov ecx, 0x21
mov eax, dword [ebp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x18]
push 0x18
mov dword [ebp - 0x1c], edx
mov byte [ebp - 0x12], 0xff
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x2c], eax
mov dword [esi + 8], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], ebx
mov byte [ebp - 0x11], 0
call fcn.10033b3a
mov ecx, eax
add esp, 4
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x13]
mov dword [ebp - 4], 0
push eax
push 1
push 1
push dword [ebp - 0x1c]
lea eax, [ebx + ebx]
mov byte [ebp - 0x13], 0
push eax
call fcn.100198d0
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0xb4], edi
cmp byte [edi + 0x10], 0
jne 0x100196e0
push dword [edi + 0x14]
call fcn.100338e0
add esp, 4
push 0xd
push ecx
mov dword [esp], 0x3f800000
lea eax, [ebp - 0x11]
push eax
lea eax, [ebp - 0x12]
mov dword [edi + 0xc], 0
push eax
push str._R_A_Z_E_R
push 0
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov dword [edi], 0
mov byte [edi + 0x10], 0
mov dword [edi + 0x14], 0
push 0
push dword [esi + 0xb4]
call fcn.10023670
mov eax, dword [ebp + 0x14]
add esp, 0x20
movss xmm1, dword [0x10070af0]
mov dword [esi + 0xbc], 0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10070b70]
xor eax, eax
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [esi + 0xb8], xmm1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10033482
mov esp, ebp
pop ebp
ret 0x14

Function at 0x100225e5
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x10022620
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x10022607
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x10022618
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x10022622
inc edi
add eax, 0x28
cmp edi, esi
jb 0x100225fd
xor eax, eax
pop edi
pop esi
ret
Function at 0x10029730
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10036b1f
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1007700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
lea edi, [ebx + 0x30]
mov esi, dword [ebp + 0x18]
mov ecx, 0x21
mov edx, dword [ebp + 0xc]
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 0x90]
push 0x1000
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x24], edx
mov dword [ebx + 0x28], ecx
mov dword [ebx + 8], eax
call fcn.100346ba
push 0x1000
push esi
push eax
mov dword [ebx + 0xb4], eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
lea eax, [ebx + 0x5c]
push dword [ebx + 0xb4]
push 0x400
push eax
lea eax, [ebx + 0x34]
push eax
push ecx
call fcn.100326f0
push 0x18
mov dword [ebx + 0xb8], 0x42c80000
mov dword [ebx + 0xbc], esi
mov dword [ebx + 0xc0], esi
mov dword [ebx + 0xc4], esi
mov dword [ebx + 0xc8], esi
mov dword [ebx + 0xcc], esi
mov dword [ebx + 0xd0], esi
mov dword [ebx + 0xd4], esi
call fcn.10033b3a
add esp, 4
mov dword [ebp + 0x18], eax
lea ecx, [ebp + 8]
mov dword [ebp - 4], esi
push ecx
push 1
push 1
push 0x200
push 0x200
mov ecx, eax
mov dword [ebp + 8], esi
call fcn.1001a400
test eax, eax
mov dword [ebx + 0xd8], eax
mov ecx, 0x80004005
cmove esi, ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14