joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10098aab
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14c
mov eax, 0x100e5a6a
call fcn.10001af6
lea edi, [ecx + 0x6c]
mov eax, dword [edi]
cmp dword [eax - 4], 0
je 0x10098acc
mov al, 1
jmp 0x10098c5c
push 0x124
xor ebx, ebx
lea eax, [ebp - 0x13c]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x13c]
mov edx, str.1042Normal
mov ecx, str.CB4C9D1A_87CD_4CB9_A669_00AE2FE75DA5
push eax
call sym.fpsrvutl.dll_Ordinal_116
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x140]
call sym.fpsrvutl.dll_Ordinal_116
push 0x100ea6e8
lea eax, [ebp - 0x13c]
mov dword [ebp - 4], ebx
push eax
call sym.fpsrvutl.dll_Ordinal_116
test eax, eax
je 0x10098b9d
push str.mssp3ko.lex
lea ecx, [ebp - 0x144]
call sym.fpsrvutl.dll_Ordinal_116
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x140]
mov esi, dword [ebp - 0x144]
mov eax, dword [ebp - 0x140]
push dword [esi - 4]
push esi
push ebx
push dword [eax - 4]
call sym.fpsrvutl.dll_Ordinal_116
lea ecx, [esi - 0xc]
mov byte [ebp - 4], bl
call sym.fpsrvutl.dll_Ordinal_5727
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x158]
call sym.fpsrvutl.dll_Ordinal_4804
mov ecx, eax
mov byte [ebp - 4], 2
call sym.fpsrvutl.dll_Ordinal_542
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 0
mov bl, al
call sym.fpsrvutl.dll_Ordinal_974
test bl, bl
je 0x10098b9b
xor ebx, ebx
inc ebx
jmp 0x10098c3e
xor ebx, ebx
lea eax, [ebp - 0x148]
mov dword [ebp - 0x144], 0x124
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftShared_ToolsProofing_Tools_stemmer1042Normal
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10098beb
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x13c]
push eax
push ebx
push ebx
push str.Dictionary
push dword [ebp - 0x148]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
lea eax, [ebp - 0x13c]
sete bh
push eax
lea ecx, [ebp - 0x158]
call sym.fpsrvutl.dll_Ordinal_1980
mov ecx, eax
mov byte [ebp - 4], 3
call sym.fpsrvutl.dll_Ordinal_542
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 0
mov bl, al
call sym.fpsrvutl.dll_Ordinal_974
xor eax, eax
movzx ecx, bh
test bl, bl
cmove ecx, eax
lea eax, [ebp - 0x13c]
mov bl, cl
lea ecx, [ebp - 0x140]
push eax
call sym.fpsrvutl.dll_Ordinal_116
test bl, bl
je 0x10098c4c
lea eax, [ebp - 0x140]
mov ecx, edi
push eax
call sym.fpsrvutl.dll_Ordinal_116
mov ecx, dword [ebp - 0x140]
add ecx, 0xfffffff4
call sym.fpsrvutl.dll_Ordinal_5727
mov al, bl
call fcn.10001b2d
ret
Function at 0x100a8405
Capabilities:
Get common file path

Disassembly:
push ecx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ecx, 0x10178fec
call sym.fpsrvutl.dll_Ordinal_2694
mov ecx, dword [esi + 0x200]
push ecx
push edi
cmp eax, 2
jne 0x100a842b
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
jmp 0x100a8431
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
pop edi
pop esi
pop ecx
ret

Function at 0x100a8435
Capabilities:
Set current directory

Disassembly:
push esi
mov esi, ecx
mov ecx, 0x10178fec
call sym.fpsrvutl.dll_Ordinal_2694
mov ecx, dword [esi + 0x200]
push ecx
cmp eax, 2
jne 0x100a8456
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryW]
pop esi
ret
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
pop esi
ret

Function at 0x100a8d84
Capabilities:
Enumerate files on windows

Disassembly:
push 0x67c
mov eax, 0x100e76f4
call fcn.10001af6
mov edi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x688], eax
call fcn.10005575
mov ebx, 0x10178fec
mov esi, 0x104
mov ecx, ebx
call sym.fpsrvutl.dll_Ordinal_2694
cmp eax, 2
mov ecx, 0x208
cmove esi, ecx
cmp esi, dword [ebp - 0x1c]
jle 0x100a8dd8
push 1
push esi
lea ecx, [ebp - 0x220]
call sym.fpsrvutl.dll_Ordinal_116
and dword [ebp - 4], 0
mov ecx, ebx
call sym.fpsrvutl.dll_Ordinal_2694
mov ecx, dword [ebp - 0x1c]
cmp eax, 2
jne 0x100a8ded
shr ecx, 1
lea edx, [ebp - 0x220]
call fcn.100a8405
test eax, eax
je 0x100a8f3e
lea ecx, [ebp - 0x680]
call fcn.10005575
push edi
call sym.fpsrvutl.dll_Ordinal_116
lea ecx, [ebp - 0x680]
mov byte [ebp - 4], 1
call fcn.100a8435
test eax, eax
je 0x100a8f24
mov dword [ebp - 0x684], 0x1017c79c
lock inc dword [0x1017c790]
mov ecx, ebx
mov byte [ebp - 4], 2
call sym.fpsrvutl.dll_Ordinal_2694
cmp eax, 2
lea eax, [ebp - 0x470]
push eax
jne 0x100a8e5d
push 0x100ef5a0
call dword [sym.imp.kernel32.dll_FindFirstFileW]
jmp 0x100a8e68
push 0x100efcd4
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x100a8f16
mov bl, byte [ebp + 0xc]
mov edi, dword [ebp - 0x688]
test byte [ebp - 0x470], 0x10
jne 0x100a8ee2
mov ecx, 0x10178fec
call sym.fpsrvutl.dll_Ordinal_2694
cmp eax, 2
lea eax, [ebp - 0x444]
jne 0x100a8ea8
push eax
lea ecx, [ebp - 0x684]
call sym.fpsrvutl.dll_Ordinal_3753
jmp 0x100a8ec3
push 0
push eax
call sym.fpsrvutl.dll_Ordinal_116
push eax
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x684]
call sym.fpsrvutl.dll_Ordinal_1496
mov ecx, dword [ebp - 0x684]
mov dl, bl
call fcn.100a8f53
test al, al
je 0x100a8ee2
lea eax, [ebp - 0x684]
mov ecx, edi
push eax
call sym.fpsrvutl.dll_Ordinal_116
mov ecx, 0x10178fec
call sym.fpsrvutl.dll_Ordinal_2694
cmp eax, 2
lea eax, [ebp - 0x470]
push eax
push esi
jne 0x100a8f01
call dword [sym.imp.kernel32.dll_FindNextFileW]
jmp 0x100a8f07
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x100a8e7c
push esi
call dword [sym.imp.kernel32.dll_FindClose]
mov ecx, dword [ebp - 0x684]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
lea ecx, [ebp - 0x680]
mov byte [ebp - 4], 0
call fcn.100057a4
lea ecx, [ebp - 0x220]
call fcn.100a8435
lea ecx, [ebp - 0x220]
call fcn.100057a4
call fcn.10001b2d
ret 8
Function at 0x100aa45b
Capabilities:
Set thread local storage value

Disassembly:
push 0x10
mov eax, 0x100e7a12
call fcn.1000131b
mov ebx, ecx
mov ecx, dword [ebx + 0x5c]
xor edi, edi
test ecx, ecx
je 0x100aa4d8
mov eax, dword [vtable.VprocessGlobals.0]
mov edi, dword [eax + 0x24]
call fcn.100ab8dd
mov ecx, dword [ebx + 0x5c]
mov esi, eax
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ecx]
call dword [edx + 0xc]
and dword [ebp - 4], 0
push esi
push dword [eax]
mov esi, 0x10178fec
push str.The_error___s__with_hr:_d_in_the_thread_context_was_not_processed_before_thread_detach._The_full_error_log_entry_follows.
push 1
push 0
push esi
call edi
or dword [ebp - 4], 0xffffffff
add esp, 0x18
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
push dword [ebx + 0x5c]
mov eax, dword [vtable.VprocessGlobals.0]
mov ecx, esi
push 1
call dword [eax + 0xc]
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x100aa4d3
mov eax, dword [ecx]
push 1
call dword [eax]
xor edi, edi
mov dword [ebx + 0x5c], edi
mov esi, dword [ebx + 0x30]
test esi, esi
je 0x100aa515
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 1
push eax
push 0x100209e6
mov ecx, esi
mov dword [ebp - 0x1c], 0x100706e5
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call sym.fpsrvutl.dll_Ordinal_116
mov ecx, esi
call sym.fpsrvutl.dll_Ordinal_4537
or dword [ebp - 4], 0xffffffff
push esi
call sym.fpsrvutl.dll_Ordinal_116
pop ecx
mov dword [ebx + 0x30], edi
cmp dword [ebx + 0x74], edi
jle 0x100aa52b
mov ecx, ebx
mov dword [ebx + 0x74], 1
call sym.fpsrvutl.dll_Ordinal_2309
push edi
push dword [0x10150ddc]
call dword [sym.imp.kernel32.dll_TlsSetValue]
call fcn.100013b7
ret

Function at 0x100ab1e5
Capabilities:
Get thread local storage value

Disassembly:
push 0xc
mov eax, 0x100e2f44
call fcn.1000131b
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0x1017c79c
lock inc dword [0x1017c790]
and dword [ebp - 4], 0
push dword [0x10150ddc]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x100ab238
lea eax, [edi + 0x60]
mov ecx, dword [eax]
cmp dword [ecx - 4], 0
je 0x100ab238
push eax
lea ecx, [ebp - 0x10]
call sym.fpsrvutl.dll_Ordinal_116
mov eax, dword [edi + 0x2c]
shr eax, 2
and al, 1
jmp 0x100ab261
lea eax, [ebp - 0x14]
push eax
call sym.fpsrvutl.dll_Ordinal_116
push eax
lea ecx, [ebp - 0x10]
call sym.fpsrvutl.dll_Ordinal_116
mov eax, dword [ebp - 0x14]
lea ecx, [eax - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
push 0
call fcn.100047aa
mov al, byte [0x1017ca42]
test al, al
jne 0x100ab27a
mov dword [esi], 0x1017c79c
lock inc dword [0x1017c790]
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0xc]
jmp 0x100ab285
mov eax, dword [ebp - 0x10]
mov dword [esi], eax
lea ecx, [eax - 0xc]
lock inc dword [ecx]
call sym.fpsrvutl.dll_Ordinal_5727
mov eax, esi
call fcn.100013b7
ret
Function at 0x100ab801
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
mov esi, ecx
mov word [esi], ax
test ebx, ebx
je 0x100ab84c
push edi
push dword [0x10150ddc]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x100ab84b
movzx ecx, word [edi + 0x68]
movzx eax, bx
mov word [esi], cx
cmp cx, ax
jne 0x100ab83d
xor eax, eax
mov word [esi], ax
jmp 0x100ab84b
push eax
call sym.fpsrvutl.dll_Ordinal_116
push eax
mov ecx, edi
call sym.fpsrvutl.dll_Ordinal_116
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x100ab99f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xc]
lock inc dword [edi]
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push ebx
push esi
push 0x100aba0a
push ebx
push ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, dword [ebp - 4]
add esp, 0x18
mov dword [esi + 8], ecx
test eax, eax
jne 0x100ab9eb
mov dword [esi + 4], ebx
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x100ab9e7
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
xor al, al
jmp 0x100ab9f0
mov dword [esi + 4], eax
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x100ab9f7
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ecx + 4]
call dword [sym.imp.kernel32.dll_TerminateThread]
pop ebp
ret 4
Function at 0x100aec97
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, ecx
xor ebx, ebx
movsx eax, byte [edi + 8]
push eax
push dword [edi + 0x50]
mov eax, dword [vtable.VprocessGlobals.0]
push str.VdirectUpdateLock::endUpdate__InFilePath___s__Locked___d_n
push 3
push ebx
push 0x10178fec
call dword [eax + 0x24]
add esp, 0x18
cmp dword [edi + 0xb0], ebx
jne 0x100aece6
mov eax, dword [edi]
push 8
pop ecx
mov edx, dword [eax + 0x14]
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, ecx
mov ecx, edi
push eax
call edx
test eax, eax
jne 0x100aed84
mov eax, dword [edi + 0x12c]
push esi
cmp eax, 0xffffffff
je 0x100aed66
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.kernel32.dll_SetFilePointer]
test eax, eax
jne 0x100aed8a
push ebx
lea eax, [ebp - 4]
push eax
push dword [edi + 0x134]
push dword [edi + 0x124]
push dword [edi + 0x12c]
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x100aed8a
mov eax, dword [ebp - 4]
cmp eax, dword [edi + 0x134]
jne 0x100aed8a
cmp byte [edi + 0x130], bl
jne 0x100aed48
push dword [edi + 0x12c]
call dword [sym.imp.kernel32.dll_SetEndOfFile]
test eax, eax
je 0x100aed8a
push dword [edi + 0x12c]
call dword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
jne 0x100aed5f
mov esi, 0x20006
jmp 0x100aed8f
or dword [edi + 0x12c], 0xffffffff
push dword [edi + 0x124]
call sym.fpsrvutl.dll_Ordinal_116
mov dword [edi + 0x124], ebx
xor eax, eax
mov byte [edi + 8], bl
mov dword [edi + 0xb0], ebx
pop ecx
pop esi
pop edi
pop ebx
leave
ret 4
mov esi, 0x2000c
mov ebx, dword [edi + 0x68]
call dword [sym.imp.kernel32.dll_GetLastError]
push ebx
mov edx, eax
mov ecx, esi
call fcn.1005ca7d
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
call dword [edx + 8]
push dword [edi + 0x124]
call sym.fpsrvutl.dll_Ordinal_116
and dword [edi + 0x124], 0
mov eax, esi
jmp 0x100aed82
Function at 0x100b78af
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x488
mov eax, dword [0x10148250]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push dword [0x10150ddc]
mov edi, dword [ebp + 8]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x100b7903
cmp dword [esi + 0xc], 0
jle 0x100b7903
mov ecx, dword [esi + 0x10]
cmp dword [ecx], 0
je 0x100b7903
push 0xffffffffffffffff
push dword [ecx]
lea eax, [ebp - 0x84]
push 0x80
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
jmp 0x100b791d
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
push str.thread_0x_x
lea eax, [ebp - 0x84]
push 0xffffffffffffffff
push eax
call sym.fpsrvutl.dll_Ordinal_116
mov eax, dword [vtable.VprocessGlobals.0]
add esp, 0x10
cmp byte [0x1017bdda], 0
push edi
je 0x100b7946
push ebx
push str._Assert_failure_in__s_xx____.400s_
push 0
push 0
push 0x10178fec
call dword [eax + 0x24]
add esp, 0x18
jmp 0x100b795e
push dword [ebp + 0x10]
push ebx
push str._Assert_failure_in__s__d___.400s_
push 0
push 8
push 0x10178fec
call dword [eax + 0x24]
add esp, 0x1c
cmp byte [0x1017bddd], 0
jne 0x100b7a28
mov ecx, str.SoftwareMicrosoftFrontPageServerExtensionsNoAssertMsgBox
call sym.fpsrvutl.dll_Ordinal_116
test al, al
jne 0x100b79e3
push edi
push dword [ebp + 0x10]
lea eax, [ebp - 0x84]
push ebx
push eax
push str.Assert_failed__Vframework___s___File__.200s__line__d_nExpression___.400s_n_click_Retry_to_debug_
lea eax, [ebp - 0x484]
push 0xffffffffffffffff
push eax
call sym.fpsrvutl.dll_Ordinal_116
add esp, 0x1c
mov ecx, str.SoftwareMicrosoftFrontPageServerExtensionsIgnoreAsserts
call sym.fpsrvutl.dll_Ordinal_116
push 3
pop ecx
push 5
test al, al
pop edx
cmovne ecx, edx
cmp byte [0x1014af8c], 0
je 0x100b79d1
push 0x12
push 0x1012551c
lea eax, [ebp - 0x484]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, eax
cmp ecx, 3
je 0x100b79e3
cmp ecx, 4
jne 0x100b7a28
call dword [sym.imp.kernel32.dll_DebugBreak]
jmp 0x100b7a28
test esi, esi
je 0x100b7a28
cmp dword [0x1017ca10], 0
je 0x100b79fc
mov ecx, 0x2d0
call sym.fpsrvutl.dll_Ordinal_116
jmp 0x100b7a08
push 0x2d0
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
mov esi, eax
test esi, esi
je 0x100b7a20
lea eax, [esi + 4]
mov dword [esi], vtable.VassertContextStatus.0
push eax
call dword [sym.imp.kernel32.dll_RtlCaptureContext]
jmp 0x100b7a22
xor esi, esi
push esi
call sym.fpsrvutl.dll_Ordinal_116
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100013a8
leave
ret 0xc
Function at 0x100b7a39
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x100b7ac1
mov eax, dword [vtable.VprocessGlobals.0]
push ebx
push edi
push dword [ebp + 0x10]
xor edi, edi
mov ebx, 0x10178fec
cmp byte [0x1017bddd], 0
push dword [ebp + 0xc]
je 0x100b7a6a
push str._nUnexpected_status_in_file:__s__line:_xx__n
push edi
push edi
jmp 0x100b7a72
push str._nUnexpected_status_in_file:__s__line:__d__n
push edi
push 8
push ebx
call dword [eax + 0x24]
mov eax, dword [vtable.VprocessGlobals.0]
add esp, 0x18
mov ecx, ebx
push esi
push edi
call dword [eax + 0xc]
mov eax, dword [vtable.VprocessGlobals.0]
push 0x100ef728
push edi
push edi
push ebx
call dword [eax + 0x24]
add esp, 0x10
push dword [0x10150ddc]
call dword [sym.imp.kernel32.dll_TlsGetValue]
pop edi
pop ebx
test eax, eax
je 0x100b7ab9
cmp byte [0x1017bddd], 0
jne 0x100b7ab9
push esi
call sym.fpsrvutl.dll_Ordinal_116
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
pop esi
pop ebp
ret 0xc
Function at 0x100cb0f5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ecx + 4]
push dword [ebp + 0xc]
push 8
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub eax, dword [ebp + 0xc]
add esp, 0x10
neg eax
sbb eax, eax
inc eax
pop ebp
ret 8

Function at 0x100cb118
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ecx + 4]
lea eax, [ebp + 8]
push 1
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
dec eax
neg eax
sbb eax, eax
inc eax
pop ebp
ret 4

Function at 0x100cb139
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ecx + 4]
lea eax, [ebp + 8]
push 1
push 2
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
dec eax
neg eax
sbb eax, eax
inc eax
pop ebp
ret 4

Function at 0x100cb15a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ecx + 4]
lea eax, [ebp + 8]
push 1
push 4
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
dec eax
neg eax
sbb eax, eax
inc eax
pop ebp
ret 4

Function at 0x100cb17b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ecx + 4]
lea eax, [ebp + 8]
push 1
push 8
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
dec eax
neg eax
sbb eax, eax
inc eax
pop ebp
ret 8

Function at 0x100cb205
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ecx + 4]
push dword [ebp + 0xc]
push 8
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub eax, dword [ebp + 0xc]
add esp, 0x10
neg eax
sbb eax, eax
inc eax
pop ebp
ret 8

Function at 0x100cc695
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x100cc6a4
pop dword [ebp - 0x1c]
mov eax, 0x100cc6a4
sub dword [ebp - 0x1c], eax
push 0x40
push 0x1000
push 0x7ba16
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x1c]
call dword [eax]
mov ecx, 0xbfa24abe
add ecx, 0x405df36f
mov edi, eax
mov esi, 0x52267bcd
sub esi, 0x420d97cd
add esi, dword [ebp - 0x1c]
mov ebx, 0x8a6d05a8
sub ebx, 0xc9c26d3
xor dword [ebp - 0x14], edi
mov edx, dword [esi]
add dword [ebp - 4], esi
add edx, ebx
xor dword [ebp - 0x10], 0x7a7fdddb
mov dword [edi], edx
xor dword [ebp - 0x18], 0x513380f8
add edi, 0x90133218
sub edi, 0x90133214
add esi, 0xfcfe0ca2
sub esi, 0xfcfe0c9e
loop 0x100cc6f9
add eax, 0xeb87
xor ebx, ebx
add ebx, eax
add eax, 0x85e7b8e6
add eax, 0x7a18471f
mov ecx, 0xef058109
add ecx, 0x20fa7ef7
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x100d41dd
Capabilities:
Allocate thread local storage

Disassembly:
push 4
mov eax, 0x100e9902
call fcn.1000131b
mov esi, ecx
mov dword [ebp - 0x10], esi
push 1
push 1
xor ebx, ebx
push ebx
push ebx
call sym.fpsrvutl.dll_Ordinal_116
mov eax, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 4], ebx
mov dword [esi + 0x50], eax
mov al, byte [ebp + 0xc]
push ebx
mov byte [esi + 0x54], al
mov al, byte [ebp + 0x14]
push ebx
push 8
mov dword [esi], vtable.SMP_HEAP.0
mov byte [esi + 0x55], 1
mov byte [esi + 0x56], al
mov word [esi + 0x34], bx
call fcn.100d1f77
push ebx
push ebx
push 0x14
mov ecx, esi
mov dword [esi + 0x38], eax
call fcn.100d1f77
push ebx
push ebx
push 8
mov ecx, esi
mov dword [esi + 0x3c], eax
call fcn.100d1f77
push ebx
push ebx
push 0xc
mov ecx, esi
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ebx
call fcn.100d1f77
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x48], eax
test ecx, ecx
je 0x100d42a9
cmp dword [esi + 0x3c], ebx
je 0x100d42a9
cmp dword [esi + 0x40], ebx
je 0x100d42a9
test eax, eax
je 0x100d42a9
mov dword [ecx + 4], ebx
mov dword [ecx], ebx
mov eax, dword [esi + 0x40]
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov edi, dword [esi + 0x48]
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [edi + 4], eax
setne cl
mov byte [edi], cl
je 0x100d42b3
cmp eax, 0x40000000
jge 0x100d42b3
lea eax, [eax*4 + 0xe10]
mov dword [edi + 8], eax
mov dword [esi + 0x4c], ebx
mov byte [esi + 0x34], 1
mov eax, esi
call fcn.100013b7
ret 0x14
mov ecx, str.No_TLS_available
call sym.fpsrvutl.dll_Ordinal_116
int3

Function at 0x100d4799
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [esi + 0x34], 0
je 0x100d47d3
mov eax, dword [esi + 0x48]
push dword [eax + 4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100d47c1
lea ecx, [eax + 8]
mov eax, dword [ecx]
pop esi
mov eax, dword [eax + 0xc]
pop ebp
jmp eax
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100d1e75
jmp 0x100d47d5
xor al, al
pop esi
pop ebp
ret 0xc
Function at 0x980b40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x32b000]
push edi
or ebp, 0xffffffff
jmp 0x980b62
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x980b69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x980b58
mov eax, 1
add ebx, ebx
jne 0x980b7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x980b8c
jne 0x980bab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x980bab
dec eax
add ebx, ebx
jne 0x980b98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x980b70
add ebx, ebx
jne 0x980ba7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x980bfd
xor ecx, ecx
sub eax, 3
jb 0x980bc3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x980c32
sar eax, 1
mov ebp, eax
jmp 0x980bce
add ebx, ebx
jne 0x980bce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x980b9c
inc ecx
add ebx, ebx
jne 0x980bdc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x980b9c
add ebx, ebx
jne 0x980be9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x980bde
jne 0x980bfa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x980bde
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x980c1c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x980c0e
jmp 0x980b5e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x980c1c
add edi, ecx
jmp 0x980b5e
pop esi
mov edi, esi
mov ecx, 0x850e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x980c3a
cmp byte [edi], 0x1e
jne 0x980c3a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x980c3f
lea edi, [esi + 0x57b000]
mov eax, dword [edi]
or eax, eax
je 0x980cb7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x59f95c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x59fad8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x980c6c
mov ecx, edi
jns 0x980c9b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x59fadc]
or eax, eax
je 0x980cb1
mov dword [ebx], eax
add ebx, 4
jmp 0x980c89
call dword [esi + 0x59faec]
mov ebp, dword [esi + 0x59fae0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x980ceb
sub esp, 0xffffff80
jmp 0x536671