joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100087c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009a138
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100cd008]
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 [esi + 0x40]
mov edx, edi
mov eax, dword [edx + 4]
cmp byte [eax + 0xd], 0
jne 0x1000881d
mov ecx, dword [ebp + 8]
nop
cmp dword [eax + 0x10], ecx
jae 0x1000880a
mov eax, dword [eax + 8]
jmp 0x1000880e
mov edx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x10008800
cmp edx, edi
je 0x1000881d
cmp ecx, dword [edx + 0x10]
jae 0x1000881f
mov edx, edi
cmp edx, edi
je 0x1000891d
mov eax, dword [ebp + 0xc]
cmp eax, 2
je 0x10008837
mov dword [edx + 0x14], eax
jmp 0x1000891d
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [esi + 0x40]
call fcn.10009080
cmp dword [esi + 0x44], 0
jne 0x1000891d
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1000891d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000891d
mov esi, dword [esi + 0xc]
test esi, esi
je 0x1000891d
push 2
mov ecx, 0x100cd040
call fcn.1000bcb0
mov edi, eax
test edi, edi
je 0x10008910
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x28]
push 6
push 0x100b0334
call fcn.10002bf0
push 0x99
push str.RC::RCSoftMgrTaskProcessor::OnTaskStatusChanged
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgrmain_src_softmgrmain_srccommandhandler_rcsoftmgrtaskprocessor.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x100cd040
push eax
push 2
call fcn.1000bcf0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp edi, 1
jbe 0x10008901
lea eax, [ebp - 0x28]
mov ecx, 0x100cd040
push eax
call fcn.1000c010
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10002b90
push 0
push 0
push 0x12
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
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.10097213
mov esp, ebp
pop ebp
ret 8
Function at 0x1000a710
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009a138
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100cd008]
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 edi, ecx
mov eax, dword [edi + 8]
mov esi, dword [ebp + 8]
test eax, eax
je 0x1000a75b
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000a75b
push dword [edi + 8]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi + 8], 0
test esi, esi
je 0x1000a853
push dword [esi + 0x10]
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_UnregisterClassW]
test eax, eax
jne 0x1000a848
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x100cd044], 0
mov dword [ebp - 0x2c], eax
je 0x1000a848
push 0
mov ecx, 0x100cd040
call fcn.1000b1b0
mov ecx, dword [0x100cd044]
cmp byte [ecx + 0x54], 0
je 0x1000a848
cmp dword [ecx + 0x58], 2
jb 0x1000a848
mov bl, byte [ecx + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push dword [ebp - 0x2c]
push 0x100b0754
push eax
call fcn.100654a0
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x100cd040
push 0xcd
push str.RC::RCSoftMgrTaskWindow::TaskWindowExit
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgrmain_src_softmgrmain_srccommandhandler_rcsoftmgrtaskwindow.cpp
push eax
push 2
call fcn.1000bcf0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bl, bl
je 0x1000a839
lea eax, [ebp - 0x28]
mov ecx, 0x100cd040
push eax
call fcn.1000c010
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10002b90
push 0x28
push esi
call fcn.10097254
add esp, 8
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x1000a85f
mov eax, dword [ecx]
call dword [eax + 0xc]
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.10097213
mov esp, ebp
pop ebp
ret 4
Function at 0x1000c010
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009aac0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100cd008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
mov edi, dword [ebp + 8]
test eax, eax
je 0x1000c15c
cmp byte [eax + 0x54], 0
je 0x1000c15c
add eax, 0x1c
lea ecx, [ebp - 0x30]
push eax
call fcn.1000b090
mov dword [ebp - 4], 0
mov eax, dword [esi + 4]
cmp dword [eax + 0x14], 8
jb 0x1000c072
mov eax, dword [eax]
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000c129
push 0
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.1006bb70
add esp, 4
push 2
push 0
push 0
push esi
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x34]
push 0
push ecx
push dword [ebp - 0x18]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1000c113
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c109
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000c109
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10097254
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0
mov dword [ebp - 4], 7
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x1000c14e
cmp byte [ebp - 0x2c], 0
je 0x1000c14e
mov eax, dword [esi]
test eax, eax
je 0x1000c14a
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esi + 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10097213
mov esp, ebp
pop ebp
ret 4
Function at 0x1000d350
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009ae5e
mov eax, dword fs:[0]
push eax
mov eax, 0x1058
call fcn.10098870
mov eax, dword [0x100cd008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1048], esi
mov dword [ebp - 0x104c], esi
lea ecx, [ebp - 0x1028]
mov dword [ebp - 0x1044], 0
call fcn.1000cab0
lea ecx, [ebp - 0x1028]
mov dword [ebp - 4], 1
call fcn.10066ce0
test al, al
jne 0x1000d3d4
push 0x100b00f4
mov ecx, esi
call fcn.10002b40
mov dword [ebp - 0x1044], 1
jmp 0x1000d4ed
push str.config.ini
lea ecx, [ebp - 0x1064]
call fcn.10002b40
lea eax, [ebp - 0x1064]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x1028]
lea ecx, [ebp - 0x1040]
call fcn.10064890
add esp, 4
lea ecx, [ebp - 0x1064]
mov byte [ebp - 4], 4
call fcn.10002b00
push 0x1000
lea eax, [ebp - 0x1010]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1040]
cmp dword [ebp - 0x102c], 8
cmovae eax, dword [ebp - 0x1040]
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x100b00f4
push 0x100b0b70
push str.Install
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x1000d4c8
xor eax, eax
cmp word [ebp - 0x1010], ax
je 0x1000d4c8
nop dword [eax]
inc eax
cmp word [ebp + eax*2 - 0x1010], 0
jne 0x1000d470
test eax, eax
je 0x1000d4c8
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1064]
call fcn.10002b40
lea eax, [ebp - 0x1064]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x1028]
mov ecx, esi
call fcn.10064890
add esp, 4
mov dword [ebp - 0x1044], 1
lea ecx, [ebp - 0x1064]
mov byte [ebp - 4], 4
call fcn.10002b00
jmp 0x1000d4de
push 0x100b00f4
mov ecx, esi
call fcn.10002b40
mov dword [ebp - 0x1044], 1
lea ecx, [ebp - 0x1040]
mov byte [ebp - 4], 1
call fcn.10002b00
lea ecx, [ebp - 0x1028]
mov byte [ebp - 4], 0
call fcn.10002b00
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10097213
mov esp, ebp
pop ebp
ret
Function at 0x1000d650
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009af62
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
mov eax, dword [0x100cd008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0x100b0be4
lea ecx, [ebp - 0x2c]
call fcn.10002b40
mov dword [ebp - 4], 0
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.10004e70
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea ecx, [esi + 0x18]
call fcn.10004e90
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.10066b40
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.10002b00
lea ecx, [esi + 0x34]
call fcn.10004e70
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 6
call fcn.10004e70
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 7
call fcn.10004e70
lea edi, [esi + 0x7c]
mov byte [ebp - 4], 8
mov ecx, edi
call fcn.10004e70
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.1000c910
mov esi, eax
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
cmp ecx, esi
je 0x1000d73c
call fcn.10002b90
movups xmm0, xmmword [esi]
mov ecx, dword [ebp - 0x10]
xor eax, eax
movups xmmword [ecx + 0x4c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ecx + 0x5c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.10002b00
push str.softuninstall.ico
lea ecx, [ebp - 0x2c]
call fcn.10002b40
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x44]
call fcn.1000cf40
mov esi, eax
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
cmp ecx, esi
je 0x1000d7a4
call fcn.10002b90
movups xmm0, xmmword [esi]
mov ecx, dword [ebp - 0x10]
xor eax, eax
movups xmmword [ecx + 0x64], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ecx + 0x74], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
call fcn.10002b00
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.10002b00
push str.softupdateremind.ico
lea ecx, [ebp - 0x2c]
call fcn.10002b40
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x44]
call fcn.1000cf40
mov esi, eax
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 0x11
cmp edi, esi
je 0x1000d810
mov ecx, edi
call fcn.10002b90
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xf
call fcn.10002b00
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.10002b00
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10012f00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100cd008]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
push edi
cmp dword [edx + 0x14], 8
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
jb 0x10012f31
mov edx, dword [edx]
push ebx
lea eax, [ebp - 8]
mov ebx, 4
push eax
lea eax, [ebp - 0xc]
push eax
push 0
xor eax, eax
cmp byte [ecx], al
push 0x20006
cmovne eax, ebx
push eax
push 0
push 0
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
pop ebx
test eax, eax
jne 0x10012f95
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x10012f6e
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x10012f76
mov edi, dword [edi]
add eax, eax
push eax
push esi
push 2
push 0
push edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0xc]
test eax, eax
je 0x10012fa9
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10097213
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.10097213
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10015620
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009c2a9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100cd008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x138
call fcn.10097224
mov edi, eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
push 0x18
mov dword [ebp - 0x14], edi
mov byte [edi], 0
call fcn.10097224
add esp, 8
mov dword [edi + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 1
lea esi, [edi + 8]
push 0
mov dword [ebp - 0x18], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1001c2c0
mov dword [esi], eax
mov byte [ebp - 4], 4
lea esi, [edi + 0x10]
push 0
mov dword [ebp - 0x18], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1001c2c0
mov dword [esi], eax
mov byte [ebp - 4], 7
xor eax, eax
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 7
mov word [edi + 0x20], ax
mov byte [ebp - 4], 8
lea ecx, [edi + 0x38]
call fcn.1000e7f0
mov byte [ebp - 4], 9
lea ecx, [edi + 0xb8]
call fcn.1000e840
mov byte [ebp - 4], 0xa
xor eax, eax
mov dword [edi + 0x100], 0
mov dword [edi + 0x104], 7
mov word [edi + 0xf0], ax
mov byte [ebp - 4], 0xb
lea ecx, [edi + 0x108]
call fcn.10010370
mov byte [ebp - 4], 0xc
lea ecx, [edi + 0x120]
call fcn.10010370
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov dword [ebx], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001fb40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
push esi
mov dword [esp + 4], 0x10d040e
xor esi, esi
mov dword [esp + 8], 0x80b0f02
mov dword [esp + 0xc], 0xc060a03
mov dword [esp + 0x10], 0x7000905
mov dword [esp + 0x14], 0xe08010f
mov dword [esp + 0x18], 0x4030b06
mov dword [esp + 0x1c], 0xd020709
mov dword [esp + 0x20], 0xa05000c
mov dword [esp + 0x24], 0xe09000a
mov dword [esp + 0x28], 0x50f0306
mov dword [esp + 0x2c], 0x70c0d01
mov dword [esp + 0x30], 0x802040b
mov dword [esp + 0x34], 0x30e0d07
mov dword [esp + 0x38], 0xa090600
mov dword [esp + 0x3c], 0x5080201
mov dword [esp + 0x40], 0xf040c0b
mov dword [esp + 0x44], 0x1040c02
mov dword [esp + 0x48], 0x60b0a07
mov dword [esp + 0x4c], 0xf030508
mov dword [esp + 0x50], 0x90e000d
mov dword [esp + 0x54], 0xf0a010c
mov dword [esp + 0x58], 0x8060209
mov dword [esp + 0x5c], 0x4030d00
mov dword [esp + 0x60], 0xb05070e
mov dword [esp + 0x64], 0xe020b04
mov dword [esp + 0x68], 0xd08000f
mov dword [esp + 0x6c], 0x7090c03
mov dword [esp + 0x70], 0x1060a05
mov dword [esp + 0x74], 0x408020d
mov dword [esp + 0x78], 0x10b0f06
mov dword [esp + 0x7c], 0xe03090a
mov dword [esp + 0x80], 0x70c0005
nop dword [eax]
mov ecx, esi
mov edx, esi
sar ecx, 4
and edx, 0xf
movzx eax, byte [esp + ecx + 4]
shl al, 4
or al, byte [esp + edx + 0x14]
mov byte [esi + 0x100ce520], al
movzx eax, byte [esp + ecx + 0x24]
shl al, 4
or al, byte [esp + edx + 0x34]
mov byte [esi + 0x100ce220], al
movzx eax, byte [esp + ecx + 0x44]
shl al, 4
or al, byte [esp + edx + 0x54]
mov byte [esi + 0x100ce420], al
movzx eax, byte [esp + ecx + 0x64]
shl al, 4
or al, byte [esp + edx + 0x74]
mov byte [esi + 0x100ce320], al
inc esi
cmp esi, 0x100
jl 0x1001fc50
pop esi
add esp, 0x80
ret
Function at 0x10022e80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009e338
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100cd008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
mov dword [esi + 0x10], eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, dword [esi]
add esp, 4
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
test ecx, ecx
je 0x10022f58
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x1c], edx
call fcn.1001beb0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0
je 0x10022f49
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
push 0
cmovae eax, dword [ebp - 0x38]
push 0x80
push 4
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10022f49
test esi, esi
je 0x10022f49
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 8
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.10002b90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10097213
mov esp, ebp
pop ebp
ret 4
Function at 0x100277c0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009ec9b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100cd008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0
push 0
mov dword [ebp - 0x14], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.1001c2c0
mov dword [edi], eax
mov dword [ebp - 4], 2
lea esi, [edi + 8]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1002b3e0
mov dword [esi], eax
mov byte [ebp - 4], 5
lea esi, [edi + 0x10]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1002b350
mov dword [esi], eax
mov byte [ebp - 4], 8
lea esi, [edi + 0x18]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1002b3e0
mov dword [esi], eax
mov byte [ebp - 4], 0xb
lea esi, [edi + 0x20]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10005190
mov dword [esi], eax
mov byte [ebp - 4], 0xe
lea esi, [edi + 0x28]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1002b2c0
mov dword [esi], eax
mov byte [ebp - 4], 0x11
lea esi, [edi + 0x30]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1002b2c0
mov dword [esi], eax
mov byte [ebp - 4], 0x14
lea esi, [edi + 0x38]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
push 0
push 0
call fcn.1002b2c0
mov dword [esi], eax
mov byte [ebp - 4], 0x17
lea ecx, [edi + 0x40]
call fcn.1000e840
mov byte [ebp - 4], 0x18
xor eax, eax
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 7
mov word [edi + 0x78], ax
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100279b0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009eddb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100cd008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 8
lea ecx, [ebx + 0x78]
call fcn.10002b90
mov byte [ebp - 4], 7
lea ecx, [ebx + 0x40]
call fcn.1000eab0
mov byte [ebp - 4], 6
lea esi, [ebx + 0x38]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xa
mov ecx, esi
call fcn.1002a9f0
mov byte [ebp - 4], 6
push 0x38
push dword [esi]
call fcn.10097254
add esp, 8
mov byte [ebp - 4], 5
lea esi, [ebx + 0x30]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xc
mov ecx, esi
call fcn.1002a9f0
mov byte [ebp - 4], 5
push 0x38
push dword [esi]
call fcn.10097254
add esp, 8
mov byte [ebp - 4], 4
lea esi, [ebx + 0x28]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xe
mov ecx, esi
call fcn.1002aaf0
mov byte [ebp - 4], 4
push 0x38
push dword [esi]
call fcn.10097254
add esp, 8
mov byte [ebp - 4], 3
lea edi, [ebx + 0x20]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 0x11
mov ecx, edi
mov esi, dword [edi]
push dword [esi + 4]
call fcn.10005720
mov eax, dword [edi]
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
mov byte [ebp - 4], 3
push 0x40
push dword [edi]
call fcn.10097254
add esp, 8
mov byte [ebp - 4], 2
lea edi, [ebx + 0x18]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 0x15
mov ecx, edi
mov esi, dword [edi]
push dword [esi + 4]
call fcn.1002b080
mov eax, dword [edi]
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
mov byte [ebp - 4], 2
push 0x30
push dword [edi]
call fcn.10097254
add esp, 8
mov byte [ebp - 4], 1
lea esi, [ebx + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0x17
mov ecx, esi
call fcn.1002abe0
mov byte [ebp - 4], 1
push 0x28
push dword [esi]
call fcn.10097254
add esp, 8
mov byte [ebp - 4], 0
lea edi, [ebx + 8]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 0x1a
mov ecx, edi
mov esi, dword [edi]
push dword [esi + 4]
call fcn.1002b080
mov eax, dword [edi]
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
mov byte [ebp - 4], 0
push 0x30
push dword [edi]
call fcn.10097254
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0x1c
mov ecx, ebx
call fcn.1001c090
mov dword [ebp - 4], 0xffffffff
push 0x54
push dword [ebx]
call fcn.10097254
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret