joyce8/EMBER2024-capa huggingface dataset:
Function at 0x78ae87e8
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x24
mov eax, 0x78b4fc38
call fcn.78b24a94
mov eax, dword [ebx + 0x30]
lea ecx, [eax + 1]
mov dword [ebx + 0x30], ecx
test eax, eax
jne 0x78ae8936
cmp dword [ebx + 0x1c], eax
setne byte [ebp - 0x29]
cmp dword [ebx + 0x18], eax
jne 0x78ae890b
mov esi, dword [ebx + 0x28]
mov edi, dword [ebx + 0x24]
mov edx, dword [ebx + 0x14]
imul edi, edi, 0x2c
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x30], esi
imul esi, esi, 0x2c
add esi, dword [eax + edi + 0x28]
mov ecx, dword [esi + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
test ecx, ecx
jne 0x78ae885b
mov ecx, dword [edx + 0x10]
add ecx, edi
inc dword [ecx + 0x1c]
inc dword [edx + 0xac]
cmp byte [esi + 0x29], 0
je 0x78ae885b
mov eax, dword [ebp - 0x30]
mov byte [esi + 0x2a], 1
call fcn.78af2d19
cmp byte [ebp - 0x29], 0
jne 0x78ae891b
inc dword [edx + 0xb4]
inc dword [esi + 0x24]
call dword [sym.imp.kernel32.dll_GetCurrentThread]
push eax
lea esi, [ebp - 0x28]
mov dword [ebp - 0x30], eax
call fcn.78ac704a
mov cx, word [eax + 4]
mov word [ebx + 0xc], cx
mov eax, dword [eax]
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x14]
imul eax, eax, 0x2c
mov ecx, dword [ecx + 0x10]
mov esi, dword [eax + ecx]
movzx edi, word [eax + ecx + 0x10]
push 0xc
lea eax, [ebp - 0x1c]
push 0
push eax
call sym.MSVCR100.dll_memset
add esp, 0xc
push dword [ebp - 0x30]
mov dword [ebp - 0x1c], esi
lea esi, [ebp - 0x1c]
mov word [ebp - 0x18], di
call fcn.78ac704a
mov edi, dword [ebx + 0x14]
mov esi, ebx
call fcn.78af304f
mov esi, dword [ebx + 0x14]
lea edi, [esi + 0x20]
push edi
mov dword [ebp - 0x30], edi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
imul eax, eax, 0x2c
mov ecx, dword [ebx + 0x28]
mov edx, dword [esi + 0x10]
imul ecx, ecx, 0x2c
mov eax, dword [eax + edx + 0x28]
lea ecx, [eax + ecx + 8]
mov eax, ebx
call fcn.78af3295
push edi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
jmp 0x78ae891b
mov ecx, dword [ebx + 0x14]
lea ecx, [ecx + 0xc4]
mov eax, ebx
call fcn.78af3295
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x70]
push esi
call dword [sym.imp.kernel32.dll_TlsGetValue]
push ebx
push esi
mov dword [ebx + 0x20], eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
call fcn.78b24b03
ret
Function at 0x78aeb96a
Capabilities:
Allocate thread local storage

Disassembly:
push 0x20
mov eax, 0x78b4f893
call fcn.78abb69a
mov edi, dword [ebp + 8]
push dword [0x78b5736c]
xor esi, esi
mov dword [edi], 0x78ae3cd0
lea eax, [edi + 0x24]
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov dword [edi + 0xc], 0x10
mov dword [edi + 0x10], esi
mov dword [edi + 0x1c], esi
push eax
mov dword [edi + 0x20], esi
call dword [sym.imp.kernel32.dll_InitializeCriticalSectionAndSpinCount]
mov dword [ebp - 4], esi
push dword [0x78b5736c]
lea ebx, [edi + 0x68]
mov dword [edi + 0x3c], esi
mov dword [edi + 0x40], esi
mov dword [edi + 0x44], esi
mov dword [edi + 0x48], esi
mov dword [edi + 0x4c], esi
mov dword [edi + 0x50], esi
mov dword [edi + 0x54], esi
mov dword [edi + 0x58], esi
mov dword [edi + 0x5c], esi
lea eax, [ebx + 0xc]
mov dword [edi + 0x60], esi
mov dword [edi + 0x64], esi
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebx], esi
mov dword [ebx + 4], esi
call dword [sym.imp.kernel32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_TlsAlloc]
mov dword [ebx + 8], eax
cmp eax, 0xffffffff
jne 0x78aeba23
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, esi
jle 0x78aeba0c
and eax, 0xffff
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x2c]
call fcn.78ac704a
push 0x78b50c48
lea eax, [ebp - 0x2c]
push eax
call fcn.78ac704a
push 0x78aebae8
push 0x78ae3cb0
mov byte [ebp - 4], 2
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
cmp eax, esi
je 0x78aeba58
mov ecx, dword [0x78b555e8]
xor ecx, eax
mov dword [edi + 0x8c], ecx
mov dword [edi + 0x90], esi
jmp 0x78aebaa7
push 4
push 0x3000
push 0x1000
push esi
mov dword [edi + 0x8c], esi
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov dword [edi + 0x90], eax
cmp eax, esi
jne 0x78aebaa4
push 1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], 0x78abb754
call fcn.78ac704a
mov dword [ebp - 0x1c], 0x78abc7ec
push 0x78abc888
lea eax, [ebp - 0x1c]
jmp 0x78aeba1d
mov byte [eax], 1
push 1
call fcn.78ac704a
pop ecx
call fcn.78ac704a
push esi
push esi
push esi
push esi
call dword [sym.imp.kernel32.dll_CreateEventW]
mov dword [edi + 0x48], eax
mov eax, dword [edi + 0xc]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.78ac704a
mov dword [edi + 0x4c], eax
pop ecx
mov eax, edi
call fcn.78abbf60
ret 4
Function at 0x78aeefb6
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xc
mov eax, 0x78b4ffc4
call fcn.78abb69a
mov ebx, ecx
mov esi, dword [sym.imp.kernel32.dll_GetTickCount]
push 0x64
pop edi
call esi
sub eax, 0x1f4
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x20]
cmp eax, 2
je 0x78aef093
lea eax, [ebx + 0x24]
mov dword [ebp - 0x14], eax
push edi
push dword [ebx + 0x48]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
mov eax, dword [ebx + 0x20]
sub eax, 0
je 0x78aef066
dec eax
jne 0x78aef07a
cmp dword [ebp - 0x18], 0x102
jne 0x78aef035
mov eax, ebx
call fcn.78ac704a
cmp dword [ebx + 0x10], 0
jbe 0x78aef02b
push 0
call fcn.78ac704a
call esi
push 0x64
mov dword [ebp - 0x10], eax
pop edi
jmp 0x78aef07a
call esi
sub eax, dword [ebp - 0x10]
push 0x64
pop edi
mov dword [ebp - 0x18], eax
cmp eax, edi
jbe 0x78aef054
cmp eax, 0x82
jbe 0x78aef01e
mov edi, ebx
call fcn.78ac704a
jmp 0x78aef02b
cmp dword [ebx + 0x10], 0
jbe 0x78aef061
push 0
call fcn.78ac704a
sub edi, dword [ebp - 0x18]
jmp 0x78aef07a
mov edi, ebx
call fcn.78ac704a
movzx edi, al
neg edi
sbb edi, edi
and edi, 0xffffff9b
add edi, 0x64
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x14]
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, dword [ebx + 0x20]
cmp eax, 2
jne 0x78aeefe9
call fcn.78abbf60
ret
Function at 0x78aefc47
Capabilities:
Allocate thread local storage

Disassembly:
push 0x14
mov eax, 0x78b4fbe6
call fcn.78abb69a
mov edi, dword [ebp + 8]
push dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [edi + 4]
mov dword [edi], 0x78ae3d2c
call fcn.78ac704a
mov byte [ebp - 4], 1
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
lea esi, [edi + 0x40]
call fcn.78af1d01
push dword [0x78b5736c]
mov esi, dword [sym.imp.kernel32.dll_InitializeCriticalSectionAndSpinCount]
lea eax, [edi + 0x90]
push eax
call esi
push dword [0x78b5736c]
lea eax, [edi + 0xa8]
mov dword [eax], ebx
mov dword [eax + 4], eax
mov dword [eax + 8], ebx
or dword [edi + 0xc8], 0xffffffff
mov dword [edi + 0xb4], 0xffffffff
mov dword [edi + 0xb8], 0xffffffff
mov dword [edi + 0xbc], ebx
mov dword [edi + 0xc0], ebx
mov dword [edi + 0xc4], ebx
mov dword [edi + 0xcc], ebx
mov dword [edi + 0xd4], ebx
mov dword [edi + 0xd8], ebx
mov dword [edi + 0xdc], 1
mov dword [edi + 0xe0], ebx
mov dword [edi + 0xe4], ebx
mov dword [edi + 0xe8], ebx
mov dword [edi + 0xec], ebx
mov dword [edi + 0xf0], ebx
mov dword [edi + 0xf8], ebx
lea eax, [edi + 0x114]
mov dword [edi + 0x100], ebx
push eax
mov dword [edi + 0x104], ebx
mov dword [edi + 0x108], ebx
mov dword [edi + 0x10c], ebx
call esi
mov byte [ebp - 4], 4
mov esi, dword [sym.imp.kernel32.dll_InitializeSListHead]
lea eax, [edi + 0x140]
mov dword [edi + 0x12c], ebx
push eax
mov dword [edi + 0x130], ebx
mov dword [edi + 0x134], ebx
call esi
lea eax, [edi + 0x148]
push eax
call esi
lea eax, [edi + 0x150]
push eax
call esi
mov ecx, dword [ebp + 0xc]
push ebx
call fcn.78ac704a
mov ecx, dword [ebp + 0xc]
push 4
mov dword [edi + 8], eax
call fcn.78ac704a
mov ecx, dword [ebp + 0xc]
push 7
mov word [edi + 0x10], ax
call fcn.78ac704a
mov dword [edi + 0xc], eax
call fcn.78aeb72f
mov ecx, dword [ebp + 0xc]
mov esi, eax
push 2
call fcn.78ac704a
mov ecx, esi
shl ecx, 2
cmp ecx, eax
jbe 0x78aefdbd
call fcn.78aeb72f
shl eax, 2
jmp 0x78aefdc7
mov ecx, dword [ebp + 0xc]
push 2
call fcn.78ac704a
mov dword [edi + 0x110], eax
call dword [sym.imp.kernel32.dll_TlsAlloc]
mov dword [edi + 0x18], eax
cmp eax, 0xffffffff
jne 0x78aefe06
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, ebx
jle 0x78aefdef
and eax, 0xffff
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x20]
call fcn.78ac704a
push 0x78b50c48
lea eax, [ebp - 0x20]
push eax
call fcn.78ac704a
mov eax, edi
call fcn.78abbf60
ret 8
Function at 0x78af2713
Capabilities:
Get thread local storage value

Disassembly:
push 0
mov eax, 0x78b4fd3c
call fcn.78abb69a
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xc]
push dword [eax + 0x70]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x78af27d9
mov ecx, eax
and ecx, 3
jne 0x78af2743
mov esi, eax
mov ebx, eax
jmp 0x78af2760
cmp ecx, 1
jne 0x78af2767
and eax, 0xfffffffe
mov esi, dword [eax + 0x10]
mov eax, dword [esi + 0x20]
add esi, 4
test eax, eax
je 0x78af275e
cmp byte [eax + 0x40], 0
jne 0x78af27d9
mov ebx, esi
call fcn.78ae87e8
jmp 0x78af279e
and eax, 0xfffffffd
mov esi, eax
lea edi, [esi + 4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
mov esi, dword [esi + 0x20]
mov eax, dword [esi + 0x28]
add esi, 0xc
test eax, eax
je 0x78af278d
cmp byte [eax + 0x40], 0
je 0x78af278d
xor esi, esi
jmp 0x78af2794
mov ebx, esi
call fcn.78ae87e8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
mov edi, dword [ebp + 8]
test esi, esi
je 0x78af27d9
cmp dword [esi + 0x14], edi
je 0x78af27d5
push 0x3c
call fcn.78ac704a
pop ecx
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
test eax, eax
je 0x78af27c6
push edi
mov ebx, esi
mov edi, eax
call fcn.78ac704a
jmp 0x78af27c8
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ebx, eax
mov esi, eax
call fcn.78ae87e8
mov eax, esi
jmp 0x78af27db
xor eax, eax
call fcn.78abbf60
ret 4

Function at 0x78af7297
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebx
push 0x78af7328
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x78af7324
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x78af7344
push ebx
call esi
mov ecx, dword [0x78b555e8]
push 0x78af7358
xor ecx, eax
push ebx
mov dword [edi], ecx
call esi
mov ecx, dword [0x78b555e8]
push 0x78af7370
xor ecx, eax
push ebx
mov dword [edi + 4], ecx
call esi
mov ecx, dword [0x78b555e8]
push 0x78af737c
xor ecx, eax
push ebx
mov dword [edi + 8], ecx
call esi
mov ecx, dword [0x78b555e8]
push 0x78af7394
xor ecx, eax
push ebx
mov dword [edi + 0xc], ecx
call esi
mov ecx, dword [0x78b555e8]
push 0x78af73a8
xor ecx, eax
push ebx
mov dword [edi + 0x10], ecx
call esi
mov ecx, dword [0x78b555e8]
xor ecx, eax
mov dword [edi + 0x14], ecx
pop esi
mov eax, edi
pop ebx
ret
Function at 0x78afa728
Capabilities:
Get thread local storage value
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x78b54610]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x80c], edi
call fcn.78af035a
push dword [0x78b58954]
mov esi, eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x78afa778
call dword [sym.imp.kernel32.dll_DebugBreak]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.78ab0807
leave
ret
test esi, esi
je 0x78afa7d5
cmp dword [esi + 0x1c], 0
je 0x78afa7d5
mov eax, dword [esi + 0x18]
test eax, eax
je 0x78afa78e
mov edi, dword [eax + 0x6c]
jmp 0x78afa791
or edi, 0xffffffff
push dword [ebp + 0x10]
push dword [ebp - 0x80c]
push ebx
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 8]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push eax
push 0x78afa840
lea eax, [ebp - 0x808]
push 0x400
push eax
call fcn.78ac704a
add esp, 0x2c
jmp 0x78afa7fa
push dword [ebp + 0x10]
push edi
push ebx
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
push 0x78afa8a8
lea eax, [ebp - 0x808]
push 0x400
push eax
call fcn.78ac704a
add esp, 0x1c
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0x808]
push eax
push dword [0x78b555ec]
call sym.MSVCR100.dll_fwprintf
push dword [0x78b555ec]
call sym.MSVCR100.dll_fflush
add esp, 0xc
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
call dword [sym.imp.kernel32.dll_DebugBreak]
push 0xfffffffffffffff8
call fcn.78ac704a
int3

Function at 0x78afa8fc
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x78b54610]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea ebx, [ebp - 0x808]
call fcn.78ac704a
xor eax, eax
pop ecx
mov word [ebp - 8], ax
pop ecx
mov eax, ebx
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov eax, ebx
push eax
call sym.MSVCR100.dll___iob_func
add eax, 0x40
push eax
call sym.MSVCR100.dll_fwprintf
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.78ab0807
leave
ret
Function at 0x78afa955
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x78b54610]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x78b589ec]
test dword [ebp + 8], eax
je 0x78afa9ea
push ebx
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea ebx, [ebp - 0x808]
call fcn.78ac704a
xor eax, eax
pop ecx
mov word [ebp - 8], ax
mov eax, dword [0x78b555ec]
pop ecx
pop ebx
test eax, eax
je 0x78afa9dd
lea ecx, [ebp - 0x808]
push ecx
push eax
call sym.MSVCR100.dll_fwprintf
pop ecx
pop ecx
push 0
push 0x32
push dword [0x78b589f4]
push dword [0x78b589f0]
call fcn.78ac8210
add dword [0x78b589f0], 1
adc dword [0x78b589f4], 0
or eax, edx
jne 0x78afa9ea
push dword [0x78b555ec]
call sym.MSVCR100.dll_fflush
pop ecx
jmp 0x78afa9ea
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.78ab0807
leave
ret

Function at 0x78afe8af
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x78afe8d6
call sym.MSVCR100.dll___doserrno
mov dword [eax], esi
call sym.MSVCR100.dll__errno
push 0x16
pop esi
mov dword [eax], esi
call sym.MSVCR100.dll__invalid_parameter_noinfo
mov eax, esi
jmp 0x78afe92b
test dword [ebp + 0xc], 0xfffffff9
jne 0x78afe8bc
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x78afe903
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.78ac704a
pop ecx
call sym.MSVCR100.dll__errno
mov eax, dword [eax]
jmp 0x78afe92b
test al, 0x10
jne 0x78afe929
test al, 1
je 0x78afe929
test byte [ebp + 0xc], 2
je 0x78afe929
call sym.MSVCR100.dll___doserrno
mov dword [eax], 5
call sym.MSVCR100.dll__errno
mov dword [eax], 0xd
jmp 0x78afe8fa
xor eax, eax
pop esi
pop ebp
ret

Function at 0x78afe946
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x78afe96e
call sym.MSVCR100.dll___doserrno
and dword [eax], 0
call sym.MSVCR100.dll__errno
mov dword [eax], 0x16
call sym.MSVCR100.dll__invalid_parameter_noinfo
or eax, 0xffffffff
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x78afe98b
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.78ac704a
pop ecx
jmp 0x78afe969
test byte [ebp + 0xc], 0x80
je 0x78afe996
and eax, 0xfffffffe
jmp 0x78afe999
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
test eax, eax
je 0x78afe97c
xor eax, eax
pop ebp
ret
Function at 0x78b00307
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x78b0032f
call sym.MSVCR100.dll___doserrno
and dword [eax], 0
call sym.MSVCR100.dll__errno
mov dword [eax], 0x16
call sym.MSVCR100.dll__invalid_parameter_noinfo
or eax, 0xffffffff
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x78b0034c
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.78ac704a
pop ecx
jmp 0x78b0032a
test byte [ebp + 0xc], 0x80
je 0x78b00357
and eax, 0xfffffffe
jmp 0x78b0035a
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
test eax, eax
je 0x78b0033d
xor eax, eax
pop ebp
ret

Function at 0x78b2c16f
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x78b58650], eax
mov dword [0x78b5864c], ecx
mov dword [0x78b58648], edx
mov dword [0x78b58644], ebx
mov dword [0x78b58640], esi
mov dword [0x78b5863c], edi
mov word [0x78b58668], ss
mov word [0x78b5865c], cs
mov word [0x78b58638], ds
mov word [0x78b58634], es
mov word [0x78b58630], fs
mov word [0x78b5862c], gs
pushfd
pop dword [0x78b58660]
mov eax, dword [ebp]
mov dword [0x78b58654], eax
mov eax, dword [ebp + 4]
mov dword [0x78b58658], eax
lea eax, [ebp + 8]
mov dword [0x78b58664], eax
mov eax, dword [ebp - 0x320]
mov dword [0x78b585a0], 0x10001
mov eax, dword [0x78b58658]
mov dword [0x78b58554], eax
mov dword [0x78b58548], 0xc0000409
mov dword [0x78b5854c], 1
mov eax, dword [0x78b54610]
mov dword [ebp - 0x328], eax
mov eax, dword [0x78b553f8]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x78b58598], eax
push 1
call sym.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x78b2c270
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x78b58598], 0
jne 0x78b2c25b
push 1
call sym.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x100080d8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x1000e628
cmp edx, dword [eax]
je 0x100080fa
add eax, 8
inc ecx
cmp eax, 0x1000e6b8
jl 0x100080eb
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x1000e628]
jne 0x10008228
mov eax, dword [0x10016d20]
cmp eax, 1
je 0x10008202
test eax, eax
jne 0x1000812b
cmp dword [0x10016d24], 1
je 0x10008202
cmp edx, 0xfc
je 0x10008228
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10008162
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.10008830
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.10008e60
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x100081a5
lea eax, [ebp - 0x1a4]
push eax
call fcn.10008e60
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x1000d7e8
push edi
call fcn.1000aec0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.10008830
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.10008840
lea eax, [ebp - 0xa0]
push 0x1000d7c8
push eax
call fcn.10008840
push dword [esi + 0x1000e62c]
lea eax, [ebp - 0xa0]
push eax
call fcn.10008840
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.1000ae35
add esp, 0x2c
pop edi
jmp 0x10008228
lea eax, [ebp + 8]
lea esi, [esi + 0x1000e62c]
push 0
push eax
push dword [esi]
call fcn.10008e60
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x100096a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc esp
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.1000927c
push eax
push esi
push dword [ebp + 8]
call fcn.10009231
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1000926c
aam 0x5d
sbb cl, byte [eax - 0x8363]
dec dword [eax - 0x8263]
inc esi
test dword [esi - 1], edi
invalid
Function at 0x10009b2b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec dword [ecx - 0x6737b]
inc edi
test dword [esp + edi*8 - 1], edi
inc dword [eax + eax]
add byte [eax], al
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.1000927c
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10009231
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.1000927c
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10009231
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.1000926c
imul eax, dword [ecx - 0x5a7fca8d], 0xffffffcc
cli
invalid

Function at 0x1000b430
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [eax + 8]
push eax
call fcn.1000926c
or al, 0xfe
out 0x14, al
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.1000926c
sbb bl, ch
add bh, byte [eax - 0x74cb74b7]
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x1000b459
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x1000b459
call fcn.1000926c
in al, dx
aas
dec ecx
std
mov ebx, dword [edx + 0x24]
add ebx, edi
mov cx, word [ebx + ecx*2]
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.1000926c
popfd
scasd eax, dword es:[edi]
sti
invalid