joyce8/EMBER2024-capa huggingface dataset:
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 fcn.1000b2b4
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 fcn.1000b2b4
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 fcn.1000b2b4
add esp, 0x1c
mov ecx, str.SoftwareMicrosoftFrontPageServerExtensionsIgnoreAsserts
call fcn.1000b2b4
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 fcn.1000b2b4
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 fcn.1000b2b4
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 fcn.1000b2b4
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
pop esi
pop ebp
ret 0xc
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 fcn.1000b2b4
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 fcn.1000b2b4
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 0x4130bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x4130cb
pop dword [ebp - 0x50]
mov eax, 0x68d95034
sub eax, 0x68981f69
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x3df1d
push 0
mov eax, 0x814ee5aa
add eax, 0x7ef2ec6a
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0xa5fabb50
sub ecx, 0xa5fa7143
xor ebx, ebx
add ebx, eax
mov esi, 0x32207d2d
add esi, 0xce22e2d3
add esi, dword [ebp - 0x50]
mov edx, 0x1d49b0d5
sub edx, 0xfbe65971
sub dword [ebp - 4], 0x8b36fb83
mov edi, dword [esi]
xor dword [ebp - 0x28], ecx
sub edi, edx
mov dword [ebx], edi
mov dword [ebp - 0x1c], 0xa92957a0
add ebx, 0xadc3b1da
sub ebx, 0xadc3b1d6
add esi, 4
loop 0x41312c
add eax, 0x11b07
mov ebx, eax
add eax, 0xf65a863e
add eax, 0x9a579c7
mov ecx, 0x400000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x401a70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov dword [ebp - 0x114], str._ffffffffffffffff
mov eax, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x11c], eax
push 0x104
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, dword [ebp - 0x114]
push edx
lea eax, [ebp - 0x110]
push eax
call dword [ebp - 0x11c]
push 0
push 0x80
push 3
push 0
push 3
push 1
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
je 0x401aea
cmp dword [ebp - 0x118], 0
je 0x401aea
jmp 0x401b4c
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x401b4c
mov dword [ebp - 0x120], 0x3c41
mov eax, dword [ebp + 8]
sub eax, 0xfffffff8
mov dword [0x4370b4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [0x4370d0], edx
mov dword [ebp - 0x120], 0x3c41
mov dword [ebp - 0x120], 0x3c41
call fcn.004011c0
mov eax, dword [ebp + 8]
mov dword [0x4370cc], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
call fcn.00401980
add esp, 0xc
mov dword [ebp + 8], eax
jmp 0x401aea
mov esp, ebp
pop ebp
ret

Function at 0xf10e74
Capabilities:
Encode data using xor

Disassembly:
jmp 0xf10e7e
pushal
call 0xf10e84
pop ebp
sub ebp, 0x10
sub ebp, 0xb10e74
jmp 0xf10e9a
mov eax, 0xb10e74
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c7
mov edx, 0x10690728
xor byte [eax], dl
inc eax
dec ecx
jne 0xf10eb1
jmp 0xf10ec4
mov dword [0x14a1a3e5], eax
sub byte [eax], ch
sub byte [ecx + 0x2828d0e9], ch
sub byte [ebx], ch
in eax, 0x90
sub byte cs:[eax], ch
sub byte [edx + 0x28282800], dl
invalid
Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x408ce0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x408cef
pop dword [ebp - 4]
mov eax, 0xa9d25984
sub eax, 0xa991cc95
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0xfb1050f
sub dword [ebp - 0x14], 0xc15ebfc4
mov dword [ebp - 0x10], 0x3b147c3d
add dword [ebp - 0x10], 0xf71ed008
mov dword [ebp - 0xc], 0xc7d25fd8
sub dword [ebp - 0xc], 0x7b861baa
mov dword [ebp - 8], 0xfbcb9621
sub dword [ebp - 8], 0xfbcb9621
lea eax, [ebp - 0x14]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0x3812f5c7
add dword [ebp - 0x14], 0x3c5f738f
mov dword [ebp - 0x10], 0xc73c79ff
add dword [ebp - 0x10], 0x7a2fe776
mov dword [ebp - 0xc], 0x45239735
sub dword [ebp - 0xc], 0xe1b42ac9
mov dword [ebp - 8], 0xc1043df4
sub dword [ebp - 8], 0xc1043df4
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x3a52e
push 0
call eax
mov ecx, 0xb9f53774
add ecx, 0x460b13f6
mov esi, eax
mov edx, 0x218d33b6
sub edx, 0x214b83b6
add edx, dword [ebp - 4]
mov ebx, 0x5834e7f2
mov edi, dword [edx]
xor edi, ebx
mov dword [esi], edi
add esi, 0x3b9df672
add esi, 0xc4620992
add edx, 0x44f52047
add edx, 0xbb0adfbd
loop 0x408e01
add eax, 0x1207b
xor ebx, ebx
add ebx, eax
add eax, 0x2c58f50b
sub eax, 0x2c58f506
mov ecx, 0xc45a021e
sub ecx, 0xc41a021e
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401d18
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x401dba
push 9
push str.ERROR_
push dword [0x40c266]
call sym._Top002B
mov edi, dword [0x40c266]
sub eax, eax
mov ecx, pe_overlay
repne scasb al, byte es:[edi]
sub edi, 1
push edi
push 0
push 0xa
push dword [ebp + 8]
call fcn.004028ab
cmp dword [0x40bcde], 0
je 0x401d93
push 0xa
push str._IN_LINE
push dword [0x40c266]
call fcn.0040264d
mov edi, dword [0x40c266]
sub eax, eax
mov ecx, pe_overlay
repne scasb al, byte es:[edi]
sub edi, 1
push edi
push 0
push 0xa
push dword [0x40bcde]
call fcn.004028ab
push 3
push 0x40b090
push dword [0x40c266]
call fcn.0040264d
push pe_overlay
push dword [ebp + 0xc]
push dword [0x40c266]
call fcn.0040264d
jmp 0x401dcd
push pe_overlay
push dword [ebp + 0xc]
push dword [0x40c266]
call sym._Top002B
push 0x15
push str.ERROR
push dword [0x40c266]
push 0
call sub.USER32.dll_MessageBoxA
cmp eax, 2
jne 0x401df0
mov esi, 0x40bcf0
jmp 0x40938b
mov eax, dword [ebp + 8]
leave
ret 8

Function at 0x401df7
Capabilities:
Write file on windows

Disassembly:
push eax
push ebx
push edi
pushfd
mov ebx, dword [0x40e276]
cmp ebx, 0x200
jae 0x401e47
mov edi, dword [0x40c266]
mov dword [ebx*4 + 0x40c276], edi
add ebx, 1
mov dword [0x40e276], ebx
sub eax, eax
mov ecx, pe_overlay
repne scasb al, byte es:[edi]
mov eax, pe_overlay
sub eax, ecx
test eax, 1
je 0x401e39
add eax, 1
add eax, dword [0x40c266]
cmp eax, dword [0x40e27a]
jl 0x401e9a
popfd
push 0x37
push str.PASPLUS_RUNTIME_ERROR:_STRING_MEMORY_OVERFLOW_IN_LINE
push dword [0x40c266]
call sym._Top002B
mov edi, dword [0x40c266]
sub eax, eax
mov ecx, pe_overlay
repne scasb al, byte es:[edi]
sub edi, 1
push edi
push 0
push 0xa
push dword [0x40bcde]
call fcn.004028ab
push 0x10
push str.ERROR
push dword [0x40c266]
push 0
call sub.USER32.dll_MessageBoxA
mov esi, 0x40bcf0
jmp 0x40938b
mov dword [0x40c266], eax
popfd
pop edi
pop ebx
pop eax
ret

Function at 0x401fa9
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
push edx
push esi
mov ebx, dword [ebp + 8]
sub edx, edx
call sub.KERNEL32.dll_GetCommandLineA
mov esi, eax
cmp dword [0x40bcea], 0
jne 0x401fca
call fcn.00401f35
cmp ebx, dword [0x40bcea]
jbe 0x401fdd
mov edi, dword [ebp + 0xc]
mov byte [edi], 0
jmp 0x402094
lodsb al, byte [esi]

Function at 0x402566
Capabilities:
Write file on windows

Disassembly:
push esi
push 0
push 0x40bc68
push 2
push 0x40b001

Function at 0x402a3b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov ebx, dword [ebp + 0xc]
test ebx, ebx
mov dword [ebp - 4], ebx
jne 0x402a54
lea ebx, [0x40bff8]
mov dword [ebp - 4], ebx
mov eax, 0
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x402a68
mov ebx, dword [ebx]
mov dword [ebp - 8], ebx
mov dword [esi], 0
add esi, 4
mov dword [esi], 0
add byte [ebx + 0x458b04c6], al
invalid
mov dword [esi], eax
Function at 0x404640
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
call fcn.00401df7
mov dword [esi], 0
add esi, 4
push pe_overlay
push dword [ebp + 0xc]
push dword [0x40c266]
call sym._Top002B
mov cl, 0xdf
invalid
invalid
call fcn.00401df7
mov eax, 0xd
mov dword [esi], eax
mov ebx, dword [0x40c266]
movzx eax, byte [esi]
mov dword [ebx], eax
call fcn.00401ea4
push pe_overlay
push dword [0x40c26a]
push dword [0x40c266]
call fcn.0040264d
call fcn.00401df7
mov eax, 0xa
mov dword [esi], eax
mov ebx, dword [0x40c266]
movzx eax, byte [esi]
mov dword [ebx], eax
call fcn.00401ea4
push pe_overlay
push dword [0x40c26a]
push dword [0x40c266]
call fcn.0040264d
call fcn.00401df7
call fcn.00404436
push pe_overlay
push eax
push dword [0x40c266]
call sym._Top002B
call fcn.00401ea4
push pe_overlay
push dword [0x40c26a]
push dword [0x40c266]
call fcn.0040264d
mov ecx, dword [0x40c266]
mov dword [esi], ecx
push ecx
add esi, 4
add eax, 0x1000
add dword [0x40c266], eax
push pe_overlay
inc dword [eax]
add byte [eax + 9], ch
mov byte [0x35ff0040], al
ret 0x40
call sym._Top002B
mov ecx, dword [0x40c266]
mov dword [esi], ecx
add esi, 4
add eax, 0x1000
add dword [0x40c266], eax
mov eax, 0
mov dword [esi], eax
mov eax, 0x10
or dword [esi], eax
mov eax, 0x1000
or dword [esi], eax
push dword [esi]
push dword [esi - 4]
push dword [esi - 8]
push dword [esi - 0xc]
call sub.USER32.dll_MessageBoxA
sub esi, 0xc
out dx, al
or al, 0x8f
add eax, 0x40c266

Function at 0x405040
Capabilities:
Check for time delay via gettickcount
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push 0x810
push 0x40
call sub.KERNEL32.dll_GlobalAlloc
add byte [eax], al
Function at 0x408cc1
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x408d5e
push ebx
push esi
call fcn.00408c8a
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00408bd3
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x408d0b
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x408d5d
push edi
push eax
call fcn.004098c1
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x408d2b
call fcn.004077fb
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x408d5c
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00408bd3
add esp, 0x20
test eax, eax
jne 0x408d4a
push edi
call fcn.004077fb
jmp 0x408d52
push ebx
call fcn.004077fb
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x40a044
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x415b00
push 0x415af8
push str.FlsAlloc
push 0x1e
call fcn.00409f05
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40a078
push dword [ebp + 8]
mov ecx, esi
call dword [0x41010c]
call esi
jmp 0x40a07e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40a0c2
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x415b10
push 0x415b08
push str.FlsGetValue
push 0x20
call fcn.00409f05
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40a0f9
push dword [ebp + 8]
mov ecx, esi
call dword [0x41010c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x1000f6a2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1000f6f0
mov eax, dword [ebp + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
push 0x60c5
push 0x184b
push 0x285e
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0x31a5
push 1
push 0x5ddd
call fcn.1000f741
add esp, 0x24
jmp 0x1000f73d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x1000f71b
push 0x127a
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x1000f73d
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10010d27
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f7a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x5c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10010e70
lea eax, [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], 0x15b3
mov dword [ebp - 0x38], 0x10007e30
cmp dword [ebp - 0x28], 0x179f
jle 0x10010dea
and dword [ebp - 0x14], 0
jmp 0x10010d7f
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x73bd
jge 0x10010ddb
and dword [ebp - 0x18], 0
jmp 0x10010d95
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x29e8
jge 0x10010dd9
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sar eax, cl
cdq
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x6c]
call fcn.1000d0f0
pop ecx
pop ecx
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
call fcn.1002c39f
push eax
call fcn.10049f86
pop ecx
lea ecx, [ebp - 0x6c]
call fcn.1002c395
jmp 0x10010d8e
jmp 0x10010d78
push 0x15d5
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x10010e29
push 0xc32
push 0x118a
push 0x9cd
push 0x231d
push 0x2318
push 0x288
push 0x1d9e
push 0x2f1
push 0x1d32
call dword [sym.imp.GDI32.dll_Arc]
jmp 0x10010e2f
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x1273
jge 0x10010e45
push dword [ebp - 0x38]
call fcn.10049f86
pop ecx
jmp 0x10010e61
or dword [ebp - 4], 0xffffffff
jmp 0x10010e6b
jmp 0x10010f55
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x2c], 0x2662
mov dword [ebp - 0x44], 0x10007e8c
cmp dword [ebp - 0x2c], 0x29dc
jle 0x10010efd
and dword [ebp - 0x1c], 0
jmp 0x10010ea0
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x7dbe
jge 0x10010efd
and dword [ebp - 0x20], 0
jmp 0x10010eb6
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x1515
jge 0x10010efb
and dword [ebp - 0x24], 0
jmp 0x10010ecc
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x206f
jge 0x10010ef9
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
shl eax, cl
cdq
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
push dword [ebp - 0x50]
push dword [ebp - 0x54]
mov ecx, 0x10607df8
call fcn.1002c3bf
jmp 0x10010ec5
jmp 0x10010eaf
jmp 0x10010e99
push 0x5069
push dword [ebp - 0x3c]
push 0
push dword [ebp - 0x40]
call fcn.1000d7c2
add esp, 0x10
mov dword [ebp - 4], 2
cmp dword [ebp - 0x2c], 0x2367
jge 0x10010f2f
mov edx, dword [ebp - 0x44]
mov ecx, 0x10607df8
call fcn.1002de69
jmp 0x10010f4b
or dword [ebp - 4], 0xffffffff
jmp 0x10010f55
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10012a4e
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f7fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x64
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10012b9b
lea eax, [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], 0x2709
mov dword [ebp - 0x2c], 0x10008114
cmp dword [ebp - 0x20], 0x2af0
jle 0x10012b2c
push 0x1973
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and dword [ebp - 0x14], 0
jmp 0x10012ab5
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xdbc
jge 0x10012b2c
and dword [ebp - 0x18], 0
jmp 0x10012acb
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x7f7c
jge 0x10012b2a
and dword [ebp - 0x1c], 0
jmp 0x10012ae1
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x6088
jge 0x10012b28
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
shl eax, cl
and eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edx
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x74]
call fcn.1000d0f0
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
call fcn.1002c39f
push eax
call fcn.10049f86
pop ecx
lea ecx, [ebp - 0x74]
call fcn.1002c395
jmp 0x10012ada
jmp 0x10012ac4
jmp 0x10012aae
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x25ed
jge 0x10012b48
push dword [ebp - 0x2c]
call fcn.10049f86
pop ecx
jmp 0x10012b64
or dword [ebp - 4], 0xffffffff
jmp 0x10012b6e
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x10012b91
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
jmp 0x10012b99
push 0
call dword [sym.imp.USER32.dll_DestroyMenu]
jmp 0x10012bee
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
push dword [ebp - 0x3c]
push 0x7453
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push 0
push 0x4390
push dword [ebp - 0x54]
call fcn.1000f7e9
add esp, 0x28
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret