joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464b14
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x464c7d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.0040486c
mov eax, dword [ebp - 0x10]
call fcn.0046487c
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x464b66
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404d24
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00464fa8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x464c3b
xor eax, eax
push ebp
push 0x464c34
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004649ec
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00464cac
test al, al
je 0x464c12
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.004048c4
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x464c12
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404c84
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x464c0c
mov eax, dword [ebp - 0x14]
call fcn.00404c84
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004049c4
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00464b14
dec ebx
cmp ebx, 0xffffffff
jne 0x464bc5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464c3b
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004649ec
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404c84
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.004649d8
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464c84
lea eax, [ebp - 0x3c]
call fcn.004047d4
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004047f8
ret

Function at 0x464cac
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00403188
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x49d1d4]
cmp byte [edx + 0xc], 0
je 0x464d10
mov edx, dword [0x49d1cc]
cmp dword [edx], 2
jne 0x464d10
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x464e98
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00464890
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404c84
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x464ef6
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x49cfd4]
mov dl, 1
mov eax, dword [0x464788]
call fcn.0040c82c
call fcn.00404214
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x464f00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404c84
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x464f58
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x49d1e0]
mov dl, 1
mov eax, dword [0x464788]
call fcn.0040c82c
call fcn.00404214
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004648c0
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x46ce7c
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
test dword [eax + 4], 6
je 0x40420c
mov ecx, dword [edx + 4]
mov dword [edx + 4], 0x40420c
push ebx
push esi
push edi
push ebp
mov ebp, dword [edx + 8]
add ecx, 5
call fcn.00403ec4
call ecx
pop ebp
pop edi
pop esi
pop ebx
mov eax, 1
ret
push ecx
and edi, 0x61
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x46ce7e
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.0046acba
neg dword [edx]
push es
cli
mov edi, eax
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.0046acba
xchg ebx, eax
mov esi, 0x8b490988
xor al, 0x8b
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x46cea7
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x46cea7
call fcn.0046acba
outsd dx, dword [esi]
inc ecx
cmp bh, byte [0x3245a8b]
fbld tbyte [esi - 0x75]
or al, 0x4b
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.0046acba
jnp 0x46ce65
push 0xff0875ff
jne 0x46cef0
push dword [ebp]
call fcn.0046b4ba
fdivr qword [eax - 7]
inc ebx
jmp 0x4041dc
invalid
Function at 0x498cc4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x498d42
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x300]
call fcn.004759e8
test eax, eax
je 0x498d2c
mov eax, dword [ebx + 0x300]
call fcn.004759e8
mov ebx, eax
push 5
lea ecx, [ebp - 4]
xor edx, edx
mov eax, dword [ebx + 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
call fcn.00404c84
push eax
push 0
mov eax, dword [ebx + 0x24]
call fcn.00404c84
push eax
push 0
mov eax, dword [0x49d048]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498d49
lea eax, [ebp - 4]
call fcn.004047d4
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x410610
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d60b0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x534008]
xor eax, ebp
mov dword [ebp - 0x14], 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 0x410759
cmp byte [eax + 0x54], 0
je 0x410759
add eax, 0x1c
lea ecx, [ebp - 0x1c]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x1c], xmm0
call fcn.0040f1b0
mov dword [ebp - 4], 0
mov eax, dword [esi + 4]
cmp dword [eax + 0x14], 8
jb 0x41067a
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 0x41072d
push 0
mov edx, edi
lea ecx, [ebp - 0x34]
call fcn.00478b80
add esp, 4
mov byte [ebp - 4], 1
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x38]
push 0
push ecx
push dword [ebp - 0x24]
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x41071b
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410711
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x410711
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004b619a
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x410752
cmp byte [ebp - 0x18], 0
je 0x410752
mov eax, dword [esi]
test eax, eax
je 0x41074e
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esi + 4], 0
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b5edc
mov esp, ebp
pop ebp
ret 4
Function at 0x418340
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7770
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x534008]
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
lea eax, [ebp - 0x34]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x18], xmm0
xor esi, esi
mov dword [ebp - 0x18], esi
xor bl, bl
push fcn.0046a950
mov byte [ebp - 0x14], bl
push 6
mov dword [ebp - 0x34], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x418429
cmp dword [ebp - 0x34], esi
je 0x418429
xor eax, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov dword [ebp - 4], eax
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x30]
push str.9CDB4DA2_ACEA_446E_AA3A_D25628140939__d__p
push eax
call fcn.00473a40
add esp, 0x10
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
cmovae eax, dword [ebp - 0x30]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
je 0x41841a
push 0xffffffffffffffff
push esi
call edi
test eax, eax
jne 0x418409
mov bl, 1
mov byte [ebp - 0x14], bl
jmp 0x41841a
xor bl, bl
push esi
mov byte [ebp - 0x14], bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0040a900
mov dword [ebp - 4], 1
cmp byte [0x539970], 0
jne 0x418462
mov ecx, dword [0x539950]
test ecx, ecx
je 0x41844e
push 0xffffffffffffffff
push ecx
call edi
mov ecx, dword [0x539950]
mov eax, dword [0x539948]
mov edi, dword [eax]
test ecx, ecx
je 0x418464
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x418464
xor edi, edi
mov dword [ebp - 4], 0xffffffff
test bl, bl
je 0x41847c
test esi, esi
je 0x41848f
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x418480
test esi, esi
je 0x41848f
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call eax
mov dword [ebp - 0x18], 0
mov eax, edi
mov byte [ebp - 0x14], 0
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.004b5edc
mov esp, ebp
pop ebp
ret
Function at 0x42ad40
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da4e7
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x534008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0x18
mov byte [edi], 0
call fcn.004b5eed
add esp, 4
mov dword [edi + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], 0
lea esi, [edi + 8]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042c790
mov dword [esi], eax
mov byte [ebp - 4], 3
lea esi, [edi + 0x10]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042c790
mov dword [esi], eax
mov byte [ebp - 4], 6
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], 7
lea ecx, [edi + 0x38]
call fcn.004108d0
mov byte [ebp - 4], 8
lea eax, [edi + 0xb8]
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 9
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov byte [eax + 0x30], cl
mov byte [ebp - 4], 0xa
xor eax, eax
mov dword [edi + 0x100], ecx
mov dword [edi + 0x104], 7
mov word [edi + 0xf0], ax
mov byte [ebp - 4], 0xb
mov dword [edi + 0x118], eax
mov dword [edi + 0x11c], 0xf
mov byte [edi + 0x108], al
mov byte [ebp - 4], 0xc
mov dword [edi + 0x130], eax
mov dword [edi + 0x134], 0xf
mov byte [edi + 0x120], al
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 0x42ce30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dabbe
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x534008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x50], edi
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x54], edi
mov dword [edi + 0x94], 0
mov dword [edi + 0x98], 7
mov dword [ebp - 0x4c], eax
mov word [edi + 0x84], cx
mov dword [ebp - 4], ecx
lea eax, [edi + 0x24]
push 0x60
push ecx
push eax
mov byte [edi + 0x9c], 1
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x48]
push esi
call fcn.004107f0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x38], 0
jne 0x42cee0
lea ecx, [ebp - 0x48]
call fcn.00491120
cmp dword [ebp - 0x38], 0
je 0x42cfba
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x10], 0
je 0x42cfba
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x28]
call fcn.00475ee0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x48]
cmp eax, esi
je 0x42cf34
mov ecx, eax
call fcn.0040a900
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x38], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040a900
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x43002e
mov dword [ebp - 0x2c], 0x650068
lea edx, [eax + 2]
mov dword [ebp - 0x28], 0x6b0063
mov dword [ebp - 0x24], 0x740053
mov dword [ebp - 0x20], 0x740061
mov dword [ebp - 0x1c], 0x64002e
mov dword [ebp - 0x18], 0x740061
mov dword [ebp - 0x14], 0x61
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42cf80
sub eax, edx
lea ecx, [ebp - 0x48]
sar eax, 1
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040d9e0
lea eax, [ebp - 0x48]
lea ecx, [edi + 0x84]
cmp ecx, eax
je 0x42cfba
cmp dword [ebp - 0x34], 8
push dword [ebp - 0x38]
cmovae eax, dword [ebp - 0x48]
push eax
call fcn.0040a960
mov ecx, edi
call fcn.0042d0c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0040a900
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b5edc
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42fde0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db1f8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x534008]
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 0x42feb8
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x1c], edx
call fcn.0042c330
mov dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0
je 0x42fea9
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 0x42fea9
test esi, esi
je 0x42fea9
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.0040a900
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b5edc
mov esp, ebp
pop ebp
ret 4
Function at 0x433330
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db933
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x534008]
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.0042c790
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.00437190
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.00437100
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.00437190
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.00437080
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.00436ff0
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.00436ff0
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.00436ff0
mov dword [esi], eax
mov byte [ebp - 4], 0x17
lea eax, [edi + 0x40]
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x18
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov byte [eax + 0x30], cl
mov byte [ebp - 4], 0x19
xor eax, eax
mov dword [edi + 0x88], ecx
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 0x4335d0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dbaa3
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x534008]
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.0040a900
mov byte [ebp - 4], 7
lea ecx, [ebx + 0x40]
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 7
call fcn.0040a900
mov byte [ebp - 4], 6
lea esi, [ebx + 0x38]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xb
mov ecx, esi
call fcn.00436710
mov byte [ebp - 4], 6
push 0x38
push dword [esi]
call fcn.004b619a
add esp, 8
mov byte [ebp - 4], 5
lea esi, [ebx + 0x30]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xd
mov ecx, esi
call fcn.00436710
mov byte [ebp - 4], 5
push 0x38
push dword [esi]
call fcn.004b619a
add esp, 8
mov byte [ebp - 4], 4
lea esi, [ebx + 0x28]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xf
mov ecx, esi
call fcn.00436810
mov byte [ebp - 4], 4
push 0x38
push dword [esi]
call fcn.004b619a
add esp, 8
mov byte [ebp - 4], 3
lea edi, [ebx + 0x20]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 0x12
mov ecx, edi
mov esi, dword [edi]
push dword [esi + 4]
call fcn.00436e50
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.004b619a
add esp, 8
mov byte [ebp - 4], 2
lea edi, [ebx + 0x18]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 0x16
mov ecx, edi
mov esi, dword [edi]
push dword [esi + 4]
call fcn.00436ef0
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.004b619a
add esp, 8
mov byte [ebp - 4], 1
lea esi, [ebx + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0x18
mov ecx, esi
call fcn.00436980
mov byte [ebp - 4], 1
push 0x28
push dword [esi]
call fcn.004b619a
add esp, 8
mov byte [ebp - 4], 0
lea edi, [ebx + 8]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 0x1b
mov ecx, edi
mov esi, dword [edi]
push dword [esi + 4]
call fcn.00436ef0
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.004b619a
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0x1d
mov ecx, ebx
call fcn.0042c510
mov dword [ebp - 4], 0xffffffff
push 0x54
push dword [ebx]
call fcn.004b619a
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