joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7b12b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x8830cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x24]
xor ebx, ebx
lea esi, [edi + 0x10]
mov dword [edi], 0x8b7248
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov byte [edi + 0xc], bl
mov byte [edi + 0xd], bl
mov dword [esi], 0x8b7244
mov dword [esi + 4], ebx
mov dword [esi + 8], 0x3f800000
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 5
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov ebp, dword [0x9b9ec4]
cmp ebp, ebx
mov dword [esp + 0x1c], ebx
je 0x7b1368
mov ecx, dword [0x91cf90]
mov ecx, dword [ecx + 0x10]
xor edx, edx
mov dl, byte [ebp + 0x11]
add ecx, 0x414
push edx
call fcn.0056f120
cmp eax, ebx
je 0x7b1368
mov ecx, eax
call fcn.0056f7b0
fstp dword [esp + 0x24]
jmp 0x7b1370
mov dword [esp + 0x24], 0xbf800000
mov ebx, dword [edi + 4]
mov ecx, 0x9b9ec0
call fcn.007afc90
mov eax, dword [esp + 0x24]
push ecx
fstp dword [esp]
push eax
push 0x40a00000
push 0x3f800000
push str.HEAT_METER
push ebx
mov ecx, esi
call fcn.007aff10
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x7b1740
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x8830f4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
push 0x54
mov edi, ecx
call fcn.00652ad0
mov esi, eax
add esp, 4
mov dword [esp + 8], esi
test esi, esi
mov dword [esp + 0x14], 0
je 0x7b17a2
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00586fa0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov dword [esi], 0x8b7570
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], ecx
jmp 0x7b17a4
xor esi, esi
push esi
mov ecx, edi
mov dword [esp + 0x18], 0xffffffff
call fcn.00573960
mov dl, byte [esp + 0x30]
mov ecx, dword [esp + 0xc]
mov byte [esi + 0x22], dl
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18
Function at 0x7b7dd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x883428
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x2c]
lea ebp, [edi + 0x2c]
mov ecx, ebp
call dword [eax + 0xc]
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x3c]
lea eax, [esp + 0x20]
mov ecx, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x30], ebx
call fcn.007a6e50
push eax
lea edx, [esp + 0x24]
push edx
push 0x42
mov ecx, 0x9b9ec0
call fcn.007af4f0
mov eax, dword [esp + 0x38]
or esi, 0xffffffff
cmp eax, esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], ebx
jne 0x7b7e59
push 0x42
mov ecx, 0x9b9ec0
call fcn.007aed20
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x7b7f18
lea esp, [esp]
mov ecx, dword [eax]
mov esi, eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
push ebx
mov dword [ecx + 4], eax
mov ecx, dword [esi + 8]
add esi, 0xfffffffc
push 0xeb0101e2
call fcn.00747ac0
movsx edx, al
cmp edx, dword [edi + 0x1bc]
jne 0x7b7efd
mov eax, dword [esi + 0x14]
mov ecx, dword [edi + 0x148]
push eax
push ecx
mov ecx, 0x9b9ec0
call fcn.007b5ef0
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xc]
mov bl, byte [eax + 5]
push 0
push esi
mov ecx, 0x9b9ec0
shr bl, 5
call fcn.007a4e50
movsx ecx, bl
push eax
mov eax, dword [esp + 0x20]
push eax
push 0
push ecx
push 0x294d2a3
push esi
mov ecx, edi
call fcn.007b1740
mov eax, dword [esp + 0x14]
test eax, eax
je 0x7b7ef5
cmp dword [esi + 0xc], eax
jne 0x7b7ef5
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], edx
inc dword [esp + 0x10]
xor ebx, ebx
jmp 0x7b7f05
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x20]
cmp eax, ecx
jne 0x7b7e70
or esi, 0xffffffff
cmp dword [esp + 0x38], esi
jne 0x7b7f36
cmp dword [esp + 0x14], ebx
je 0x7b7f2e
mov edx, dword [esp + 0x18]
mov dword [esp + 0x38], edx
jmp 0x7b7f36
mov dword [esp + 0x38], 1
mov eax, dword [0x9b9e84]
cmp eax, ebx
je 0x7b7f75
mov cl, byte [edi + 0x129]
test cl, cl
je 0x7b7f64
mov byte [ebp + 0xf0], 0
mov byte [ebp + 0xed], 1
mov byte [ebp + 0xee], 0
mov dword [ebp + 0xe4], ebx
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x40]
mov dword [0x9b9e84], ebx
jmp 0x7b7fa7
mov al, byte [edi + 0x129]
test al, al
je 0x7b7f9a
mov byte [ebp + 0xf0], 0
mov byte [ebp + 0xed], 1
mov byte [ebp + 0xee], 0
mov dword [ebp + 0xe4], ebx
mov ecx, dword [esp + 0x38]
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x40]
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], esi
call fcn.007b3f00
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x7bb3e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x883636
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
mov edi, ecx
push ebp
mov dword [esp + 0x14], edi
call fcn.0059bc40
xor ebx, ebx
lea esi, [edi + 0x158]
mov dword [edi], 0x8b7e48
mov byte [edi + 0x148], bl
mov dword [edi + 0x14c], ebx
mov dword [esi], 0x8b7244
mov dword [esi + 4], ebx
mov dword [esi + 8], 0x3f800000
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 5
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x4c], ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov eax, dword [ebp + 8]
and eax, 0xffff
cmp eax, ebx
mov dword [edi + 0x150], eax
movsx ecx, word [ebp + 0xa]
mov byte [esp + 0x1c], 1
mov dword [edi + 0x154], ecx
jne 0x7bb496
call fcn.00575b00
test al, al
jne 0x7bb4af
push str.GarageMain.fng
call fcn.00591e90
mov edx, dword [edi + 0x150]
add esp, 4
mov dword [eax + 0x88], edx
mov ebp, dword [0x9b9ec4]
cmp ebp, ebx
je 0x7bb4e3
mov eax, dword [0x91cf90]
mov ecx, dword [eax + 0x10]
xor edx, edx
mov dl, byte [ebp + 0x11]
add ecx, 0x414
push edx
call fcn.0056f120
cmp eax, ebx
je 0x7bb4e3
mov ecx, eax
call fcn.0056f7b0
fstp dword [esp + 0x24]
jmp 0x7bb4eb
mov dword [esp + 0x24], 0xbf800000
mov ebx, dword [edi + 0x10]
mov ecx, 0x9b9ec0
call fcn.007afc90
mov eax, dword [esp + 0x24]
push ecx
fstp dword [esp]
push eax
push 0x40a00000
push 0x3f800000
push str.HEAT_METER
push ebx
mov ecx, esi
call fcn.007aff10
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x7c42a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x7c42c6
xor eax, eax
jmp 0x7c434d
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
add eax, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0x4550
je 0x7c42e1
xor eax, eax
jmp 0x7c434d
mov edx, dword [ebp - 8]
add edx, 0x18
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0x10b
je 0x7c4307
cmp dword [ebp - 0x14], 0x20b
je 0x7c4327
jmp 0x7c434b
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x5c], 0xe
ja 0x7c4314
xor eax, eax
jmp 0x7c434d
mov eax, dword [ebp - 0xc]
xor ecx, ecx
cmp dword [eax + 0xd0], 0
setne cl
mov eax, ecx
jmp 0x7c434d
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x6c], 0xe
ja 0x7c433a
xor eax, eax
jmp 0x7c434d
mov ecx, dword [ebp - 0x10]
xor eax, eax
cmp dword [ecx + 0xe0], 0
setne al
jmp 0x7c434d
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x7ca3a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8b8c30
push 0x7cd5e4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
call fcn.007ca520
mov dword [ebp - 4], 0
cmp dword [0x9baa60], 1
jne 0x7ca3e9
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x9baa5c], 1
mov cl, byte [ebp + 0x10]
mov byte [0x9baa58], cl
cmp dword [ebp + 0xc], 0
jne 0x7ca44e
cmp dword [0x9c544c], 0
je 0x7ca43c
mov edx, dword [0x9c5448]
sub edx, 4
mov dword [0x9c5448], edx
mov eax, dword [0x9c5448]
cmp eax, dword [0x9c544c]
jb 0x7ca43c
mov ecx, dword [0x9c5448]
cmp dword [ecx], 0
je 0x7ca43a
mov edx, dword [0x9c5448]
call dword [edx]
jmp 0x7ca40b
push 0x8eb18c
push 0x8eb184
call fcn.007ca540
add esp, 8
push 0x8eb198
push 0x8eb190
call fcn.007ca540
add esp, 8
cmp dword [0x9baa64], 0
jne 0x7ca487
push 0xffffffffffffffff
call fcn.007c7d80
add esp, 4
and eax, 0x20
je 0x7ca487
mov dword [0x9baa64], 1
call fcn.007c8820
mov dword [ebp - 4], 0xffffffff
call fcn.007ca495
jmp 0x7ca4a1
cmp dword [ebp + 0x10], 0
je 0x7ca4a9
jmp 0x7ca4bf
mov dword [0x9baa60], 1
mov eax, dword [ebp + 8]
push eax
call fcn.007ca4d0
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x7cd740
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x906980]
mov dword [ebp - 0x14], eax
push esi
mov dword [ebp - 4], 0
jmp 0x7cd764
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x13
jae 0x7cd77d
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
cmp edx, dword [ecx*8 + 0x906838]
jne 0x7cd77b
jmp 0x7cd77d
jmp 0x7cd75b
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax*8 + 0x906838]
jne 0x7cd93b
cmp dword [ebp + 8], 0xfc
je 0x7cd7c3
cmp dword [ebp + 8], 0xff
je 0x7cd7c3
mov edx, dword [ebp - 4]
mov eax, dword [edx*8 + 0x90683c]
push eax
push 0
push 0
push 0
push 1
call fcn.007d2670
add esp, 0x14
cmp eax, 1
jne 0x7cd7c3
int3
cmp dword [0x9ba9ec], 1
je 0x7cd7de
cmp dword [0x9ba9ec], 0
jne 0x7cd817
cmp dword [0x906230], 1
jne 0x7cd817
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx*8 + 0x90683c]
push eax
call fcn.007d0cd0
add esp, 4
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*8 + 0x90683c]
push edx
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x7cd93b
cmp dword [ebp + 8], 0xfc
je 0x7cd93b
mov byte [ebp - 0x1c], 0
push 0x104
lea eax, [ebp - 0x120]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x7cd854
push str._program_name_unknown_
lea ecx, [ebp - 0x120]
push ecx
call fcn.007d0bd0
add esp, 8
lea edx, [ebp - 0x120]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.007d0cd0
add esp, 4
add eax, 1
cmp eax, 0x3c
jbe 0x7cd89d
lea ecx, [ebp - 0x120]
push ecx
call fcn.007d0cd0
add esp, 4
mov edx, dword [ebp - 0x10]
lea eax, [edx + eax - 0x3b]
mov dword [ebp - 0x10], eax
push 3
push 0x8a40d8
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.007c64e0
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
call fcn.007d0cd0
add esp, 4
mov esi, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax*8 + 0x90683c]
push ecx
call fcn.007d0cd0
add esp, 4
lea eax, [esi + eax + 0x1c]
add eax, 3
and eax, 0xfffffffc
call fcn.007c94b0
mov dword [ebp - 0x124], esp
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0xc], edx
push str.Runtime_Error__n_nProgram:
mov eax, dword [ebp - 0xc]
push eax
call fcn.007d0bd0
add esp, 8
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.007d0be0
add esp, 8
push 0x8b9150
mov eax, dword [ebp - 0xc]
push eax
call fcn.007d0be0
add esp, 8
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*8 + 0x90683c]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.007d0be0
add esp, 8
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.007de140
add esp, 0xc
lea esp, [ebp - 0x128]
mov ecx, dword [ebp - 0x14]
call fcn.007d6cb0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x7d6cb0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x906980]
jne 0x7d6cb9
ret
jmp fcn.007d6cc0
Function at 0x7de140
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
cmp dword [0x9baedc], 0
jne 0x7de1fb
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x7de192
push 0x8bd8d4
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x9baedc], eax
cmp dword [0x9baedc], 0
jne 0x7de199
xor eax, eax
jmp 0x7de2aa
push str.GetActiveWindow
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x9baee0], eax
push str.GetLastActivePopup
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x9baee4], eax
cmp dword [0x9baa20], 2
jne 0x7de1fb
push str.GetUserObjectInformationA
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x9baeec], eax
cmp dword [0x9baeec], 0
je 0x7de1fb
push str.GetProcessWindowStation
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x9baee8], eax
cmp dword [0x9baee8], 0
je 0x7de23c
call dword [0x9baee8]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x7de235
lea edx, [ebp - 0x18]
push edx
push 0xc
lea eax, [ebp - 0xc]
push eax
push 1
mov ecx, dword [ebp - 0x10]
push ecx
call dword [0x9baeec]
test eax, eax
je 0x7de235
mov edx, dword [ebp - 4]
and edx, 1
jne 0x7de23c
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
je 0x7de266
cmp dword [0x9baa2c], 4
jb 0x7de258
mov eax, dword [ebp + 0x10]
or eax, 0x200000
mov dword [ebp + 0x10], eax
jmp 0x7de264
mov ecx, dword [ebp + 0x10]
or ecx, 0x40000
mov dword [ebp + 0x10], ecx
jmp 0x7de294
cmp dword [0x9baee0], 0
je 0x7de278
call dword [0x9baee0]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x7de294
cmp dword [0x9baee4], 0
je 0x7de294
mov edx, dword [ebp - 0x14]
push edx
call dword [0x9baee4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [0x9baedc]
mov esp, ebp
pop ebp
ret
Function at 0x7e3630
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, 4
call fcn.007c94b0
mov dword [ebp - 0x64], esp
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x10], eax
push 0x1c
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x7e3664
xor eax, eax
jmp 0x7e3772
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
sub eax, 1
not eax
and eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x9baa20]
sub ecx, 1
neg ecx
sbb ecx, ecx
and ecx, 0xfffffff1
add ecx, 0x11
imul ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x60]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 8]
jae 0x7e36b7
xor eax, eax
jmp 0x7e3772
cmp dword [0x9baa20], 1
je 0x7e373d
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x5c], eax
push 0x1c
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x7e36e1
xor eax, eax
jmp 0x7e3772
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x48]
and ecx, 0x1000
je 0x7e36c6
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x44]
and eax, 0x100
je 0x7e370c
mov eax, 1
jmp 0x7e3772
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x5c]
jae 0x7e3718
xor eax, eax
jmp 0x7e3772
mov edx, dword [ebp - 0x5c]
cmp edx, dword [ebp - 8]
jae 0x7e3726
mov eax, dword [ebp - 8]
mov dword [ebp - 0x5c], eax
push 4
push 0x1000
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
jmp 0x7e3743
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x5c], eax
mov ecx, dword [0x9baa20]
sub ecx, 1
neg ecx
sbb ecx, ecx
and ecx, 0x103
add ecx, 1
mov dword [ebp - 4], ecx
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x64]
mov esp, ebp
pop ebp
ret

Function at 0x7e3780
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x906980]
mov dword [ebp - 8], eax
mov byte [ebp - 0xa], 0
push 6
lea eax, [ebp - 0x10]
push eax
push 0x1004
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x7e37b4
mov dword [ebp - 4], 0xffffffff
jmp 0x7e37c3
lea edx, [ebp - 0x10]
push edx
call fcn.007c6270
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.007d6cb0
mov esp, ebp
pop ebp
ret
Function at 0x7e6890
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1028
call fcn.007c94b0
mov eax, dword [0x906980]
mov dword [ebp - 0x20], eax
push esi
lea eax, [ebp - 0x1020]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jge 0x7e68da
push str.size___0
push 0
push 0x79
push str.chsize.c
push 2
call fcn.007d2670
add esp, 0x14
cmp eax, 1
jne 0x7e68da
int3
push 1
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.007e3b90
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x7e690c
push 2
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.007e3b90
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x7e6914
or eax, 0xffffffff
jmp 0x7e6a5f
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
jle 0x7e69f5
push 0x1000
push 0
mov edx, dword [ebp - 0x18]
push edx
call fcn.007d4aa0
add esp, 0xc
push 0x8000
mov eax, dword [ebp + 8]
push eax
call fcn.007e75c0
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0x1000
jl 0x7e6963
mov dword [ebp - 0x1024], 0x1000
jmp 0x7e696c
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1024], ecx
mov edx, dword [ebp - 0x1024]
mov dword [ebp - 8], edx
cmp dword [ebp - 0xc], 0x1000
jl 0x7e698a
mov dword [ebp - 0x1028], 0x1000
jmp 0x7e6993
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1028], eax
mov ecx, dword [ebp - 0x1028]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.007dbcd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x7e69d0
call fcn.007cb280
cmp dword [eax], 5
jne 0x7e69c8
call fcn.007cb270
mov dword [eax], 0xd
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
jmp 0x7e69e3
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jg 0x7e694e
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.007e75c0
add esp, 8
jmp 0x7e6a4a
cmp dword [ebp - 0xc], 0
jge 0x7e6a4a
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.007e3b90
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call fcn.007e44b0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
neg eax
sbb eax, eax
neg eax
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x7e6a4a
call fcn.007cb270
mov dword [eax], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.007cb280
mov dword [eax], esi
push 0
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.007e3b90
add esp, 0xc
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x20]
call fcn.007d6cb0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x7ec268
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp eax, 0xffffffff
push esi
jne 0x7ec27e
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov esi, eax
jmp 0x7ec281
mov esi, dword [eax + 4]
test esi, esi
je 0x7ec28e
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
ret

Function at 0x7ec44f
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp dword [ebp + 8], edi
jne 0x7ec464
lea esi, [ebp - 0x18]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
lea eax, [esi + 8]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push 0x7ec1d3
push dword [ebp + 0x18]
mov dword [ebp - 0xc], edi
push edi
call fcn.0085d600
add esp, 0x18
cmp eax, edi
mov dword [esi + 4], eax
je 0x7ec4cc
push dword [ebp + 0x1c]
push esi
call fcn.007ec377
pop ecx
pop ecx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x7ec4b5
push 1
push 1
call dword [sym.imp.KERNEL32.dll_SleepEx]
cmp dword [ebp - 0xc], edi
je 0x7ec4ab
cmp dword [ebp + 8], edi
jne 0x7ec4c8
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x7ec4ce
xor al, al
pop edi
pop esi
leave
ret

Function at 0x7ec7a2
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
push esi
push 4
pop esi
lea eax, [ebp - 4]
push eax
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x7ec7f3
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.MHz
push dword [ebp - 4]
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
pop esi
leave
ret