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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100412f8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100512d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1005128c]
cmp eax, 0xffffffff
jne 0x100396e6
xor ebx, ebx
jmp 0x100396ef
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x1003972f
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0xc]
test eax, eax
jne 0x1003976e
test esi, esi
jne 0x10039772
push 0x10038230
push 0x10052ad8
call fcn.10037d40
mov eax, dword [0x1005128c]
add esp, 8
cmp eax, 0xffffffff
je 0x1003972f
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x1003975c
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1003975c
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax]
push ebx
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x100397b4
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x1003979d
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esi]
mov ecx, edi
push 0
mov eax, dword [edi]
call dword [eax]
push edi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
push esi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x10039772
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x10039700
nop
mov esi, dword [ebx + 0x14]
mov esi, dword [esi]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x100397d9
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x100397d9
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x14]
call fcn.10037d40
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x100397c0
jmp 0x10039700

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x49faa0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x450015
lea edi, [esi - 0x4f015]
mov dword [edi + 0x8eb04], 0x80183dab
push edi
or ebp, 0xffffffff
jmp 0x49faca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x49fad1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49fac0
mov eax, 1
add ebx, ebx
jne 0x49fae3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x49faf4
jne 0x49fb13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49fb13
dec eax
add ebx, ebx
jne 0x49fb00
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x49fad8
add ebx, ebx
jne 0x49fb0f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x49fb65
xor ecx, ecx
sub eax, 3
jb 0x49fb2b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x49fb9a
sar eax, 1
mov ebp, eax
jmp 0x49fb36
add ebx, ebx
jne 0x49fb36
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49fb04
inc ecx
add ebx, ebx
jne 0x49fb44
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49fb04
add ebx, ebx
jne 0x49fb51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x49fb46
jne 0x49fb62
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x49fb46
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x49fb84
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x49fb76
jmp 0x49fac6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x49fb84
add edi, ecx
jmp 0x49fac6
pop esi
mov edi, esi
mov ecx, 0x361e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x49fba2
cmp byte [edi], 0x17
jne 0x49fba2
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 0x49fba7
lea edi, [esi + 0x9c000]
mov eax, dword [edi]
or eax, eax
je 0x49fc16
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa350c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa358c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x49fbd4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa3594]
or eax, eax
je 0x49fc10
mov dword [ebx], eax
add ebx, 4
jmp 0x49fbf1
call dword [esi + 0xa3590]
mov ebp, dword [esi + 0xa3598]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x9fc71]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x49fc62
sub esp, 0xffffff80
jmp 0x4014b0
Function at 0x401069
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4bf030]
jne 0x401073
repz ret
jmp fcn.00401e41

Function at 0x408aeb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404d3a
and dword [ebp - 4], 0
cmp dword [0x4c1b68], 0
mov ebx, eax
jne 0x408b9c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408c4d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408c4d
push eax
call fcn.00404cc8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4c1b68], eax
call esi
push eax
call fcn.00404cc8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4c1b6c], eax
call esi
push eax
call fcn.00404cc8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4c1b70], eax
call esi
push eax
call fcn.00404cc8
pop ecx
mov dword [0x4c1b78], eax
test eax, eax
je 0x408b9c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404cc8
pop ecx
mov dword [0x4c1b74], eax
mov eax, dword [0x4c1b74]
cmp eax, ebx
je 0x408bf4
cmp dword [0x4c1b78], ebx
je 0x408bf4
push eax
call fcn.00404d43
push dword [0x4c1b78]
mov esi, eax
call fcn.00404d43
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408bf4
test edi, edi
je 0x408bf4
call esi
test eax, eax
je 0x408beb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408beb
test byte [ebp - 0xc], 1
jne 0x408bf4
or dword [ebp + 0x10], 0x200000
jmp 0x408c2d
mov eax, dword [0x4c1b6c]
cmp eax, ebx
je 0x408c2d
push eax
call fcn.00404d43
pop ecx
test eax, eax
je 0x408c2d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408c2d
mov eax, dword [0x4c1b70]
cmp eax, ebx
je 0x408c2d
push eax
call fcn.00404d43
pop ecx
test eax, eax
je 0x408c2d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4c1b68]
call fcn.00404d43
pop ecx
test eax, eax
je 0x408c4d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408c4f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40af50
Capabilities:
Set console window title

Disassembly:
sub esp, 0x820
mov eax, dword [0x4bf030]
xor eax, esp
mov dword [esp + 0x81c], eax
mov eax, dword [0x2c9f55c]
push ebx
mov ebx, dword [0x2c9f280]
push esi
mov esi, dword [0x4bff60]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40af91
push str.zolihetujejijitewi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2c9f55c]
mov dword [0x4c1d0c], esi
cmp eax, 0x114e
jne 0x40afbb
lea eax, [esp + 0xc]
push eax
push str.Gijetuhe_batawuwafadis_fomikayemes_zeruru
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov eax, dword [0x2c9f55c]
cmp eax, 0x2f
jne 0x40afdb
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push 0
lea ecx, [esp + 0x2c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
call fcn.0040ae50
mov ecx, dword [esp + 0x828]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401069
add esp, 0x820
ret
Function at 0x10001fa0
Capabilities:
Print debug messages

Disassembly:
jmp 0x1009107e
push esi
mov esi, ecx
call fcn.1000932c
mov eax, 0x10000000
mov dword [esi], 0x38
lea ecx, [esi + 0x14]
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], 0xe00
mov dword [esi + 0x10], 0x101db8cc
call fcn.1000cced
test eax, eax
jns 0x100910cd
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x100910c6
push str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x1021f608], 1
mov eax, esi
pop esi
ret

Function at 0x10008314
Capabilities:
Query environment variable

Disassembly:
jmp 0x1018fe67
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x1018fe7b
xor edi, edi
jmp 0x1018feb2
push ebx
push esi
call fcn.1018fd70
sub eax, esi
sar eax, 1
lea ebx, [eax + eax]
push ebx
call fcn.100043ea
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1018fea2
push ebx
push esi
push edi
call fcn.10008710
add esp, 0xc
push 0
call fcn.10001aeb
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret

Function at 0x1000beb0
Capabilities:
Allocate thread local storage

Disassembly:
jmp fcn.10124af1
jmp 0x10110bcd
call fcn.10003f99
call fcn.1000b802
mov dword [0x102200e8], eax
jmp 0x100035a3

Function at 0x1000c108
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x1009181e
mov eax, dword [0x1021f7b4]
push ebx
xor ebx, ebx
push esi
test eax, eax
jne 0x10091839
call fcn.10091979
test eax, eax
je 0x1009188c
mov eax, dword [0x1021f7b4]
cmp eax, 1
jne 0x10091858
push 0xd
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x1009188c
jmp 0x100918e1
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov esi, eax
test esi, esi
je 0x10091876
push 0xd
push 0
push esi
call fcn.10002ddd
add esp, 0xc
mov eax, esi
jmp 0x100918e1
push 0x40
mov eax, 0x1000
push eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x1009189e
push ebx
push ebx
push ebx
push 0xc0000017
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [esi]
push edi
push dword [0x1021f7b4]
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov edi, eax
test edi, edi
je 0x100918c4
push 0x8000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x100918e0
lea edi, [esi + 0xff0]
push esi
push dword [0x1021f7b4]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x100918ca
mov eax, esi
pop edi
pop esi
pop ebx
ret

Function at 0x1000f1c8
Capabilities:
Terminate process

Disassembly:
jmp 0x1013b740
push 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x1013b750
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.10001906
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret
Function at 0x100cc490
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101afa42
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10219254]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0
cmp dword [ebp + 0xc], 0
je 0x100cc4ec
mov dword [esi], 0x101e21d8
mov dword [esi + 0x10], 0x101e21e4
mov dword [esi + 0x68], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
push 0
push 0
lea edi, [esi + 0x18]
mov ecx, esi
push edi
call fcn.10008fa8
lea edx, [esi + 0x10]
mov dword [ebp + 0xc], edx
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [edx + eax], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [edx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edx - 4], eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
push 8
mov dword [ebp - 4], 4
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov dword [ebp + 0xc], edi
lea eax, [ecx - 0x68]
mov dword [ecx + esi - 4], eax
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.1000963d
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100cc57c
push 1
mov byte [ebp - 4], 5
call fcn.1000e16f
add esp, 4
mov dword [ebx + 4], eax
jmp 0x100cc57e
xor ebx, ebx
lea eax, [edi + 4]
mov dword [edi + 0x34], ebx
mov dword [edi + 0xc], eax
lea ecx, [edi + 8]
mov ebx, dword [ebp + 8]
lea eax, [edi + 0x14]
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [edi + 0x10], ecx
mov dword [ecx], 0
mov ecx, ebx
mov eax, dword [edi + 0x20]
not ecx
and ecx, 1
shl ecx, 2
mov edx, ecx
mov dword [eax], 0
or edx, 2
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, ebx
and al, 2
mov dword [edi], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, ebx
mov dword [edi + 0x38], 0
cmovne edx, ecx
mov ecx, edx
or ecx, 8
and al, 8
cmove ecx, edx
mov eax, ecx
or eax, 0x10
and bl, 4
cmove eax, ecx
mov dword [edi + 0x3c], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100cf9a0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x10219254]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x70], ebx
test edi, edi
je 0x100cfb68
test eax, eax
je 0x100cfb68
mov ecx, dword [ebp + 0x10]
cmp ecx, 0x20
jl 0x100cfb68
push ecx
push ebx
push eax
call fcn.10002ddd
add esp, 0xc
push ebx
push 1
push 3
push ebx
push 1
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x84], edi
test edi, edi
je 0x100cfb68
cmp edi, 0xffffffff
je 0x100cfb61
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.1000625d
add esp, 8
lea eax, [ebp - 0x78]
xorps xmm0, xmm0
movq qword [ebp - 0x78], xmm0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x100cfb61
mov eax, dword [ebp - 0x78]
or eax, dword [ebp - 0x74]
je 0x100cfaf7
push ebx
push ebx
push ebx
push 2
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edx, eax
mov dword [ebp - 0x70], edx
test edx, edx
je 0x100cfb61
mov ecx, dword [ebp - 0x74]
xorps xmm0, xmm0
movq qword [ebp - 0x8c], xmm0
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x7c], eax
cmp eax, ecx
jg 0x100cfaf7
mov esi, dword [ebp - 0x78]
mov edi, dword [ebp - 0x8c]
jl 0x100cfa90
cmp edi, esi
jae 0x100cfaf7
nop
sub esi, edi
sbb ecx, eax
js 0x100cfaa5
jg 0x100cfaa0
cmp esi, 0x400000
jb 0x100cfaa5
mov esi, 0x400000
push esi
push edi
push eax
push 4
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x100cfaf7
push esi
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.1000ea0c
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x7c]
xor ebx, ebx
mov ecx, dword [ebp - 0x74]
add edi, 0x400000
adc eax, ebx
mov dword [ebp - 0x7c], eax
cmp eax, ecx
jge 0x100cfaeb
mov esi, dword [ebp - 0x78]
mov edx, dword [ebp - 0x70]
jmp 0x100cfa90
jg 0x100cfaf7
mov esi, dword [ebp - 0x78]
mov edx, dword [ebp - 0x70]
cmp edi, esi
jb 0x100cfa90
lea eax, [ebp - 0x6c]
push eax
call fcn.1000ab82
mov edi, dword [ebp - 0x80]
add esp, 4
xor esi, esi
nop dword [eax + eax]
movzx eax, byte [ebp + esi - 0x14]
push eax
push str._02x
push 3
push edi
call fcn.10008d0f
inc esi
add esp, 0x10
add edi, 2
cmp esi, 0x10
jl 0x100cfb10
push dword [ebp + 0x10]
push dword [ebp - 0x80]
call fcn.1000509c
add esp, 8
mov esi, 1
test ebx, ebx
je 0x100cfb4d
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x100cfb5b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x84]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10006348
mov esp, ebp
pop ebp
ret
Function at 0x100f5fa0
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b3a78
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10219254]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edx, 2
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov ecx, dword [eax]
mov eax, ecx
add ecx, 0xa
shr eax, 6
add eax, ecx
xor ecx, ecx
mov dword [ebp - 0x2c], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1000e025
mov ecx, dword [ebp - 0x2c]
mov edi, eax
add ecx, ecx
push ecx
push 0
push edi
call fcn.10002ddd
add esp, 0x10
lea eax, [ebp - 0x2c]
push eax
push edi
push 0x80000001
push dword [ebp + 0xc]
push esi
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
mov ecx, edi
mov dword [ebp - 0x18], 0
mov esi, eax
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x3c], esi
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100f6044
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.10005989
push 2
push edi
mov dword [ebp - 4], 0
call fcn.10006f50
mov ebx, dword [ebp - 0x14]
add esp, 8
mov edi, dword [ebp - 0x28]
test esi, esi
je 0x100f6146
cmp ebx, 8
lea eax, [ebp - 0x28]
cmovae eax, edi
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x30], edx
nop dword [eax]
cmp ebx, 8
lea ecx, [ebp - 0x28]
cmovae ecx, edi
lea ecx, [ecx + edx*2]
cmp eax, ecx
je 0x100f6114
cmp word [eax], 0xa
jne 0x100f610c
cmp ebx, 8
lea ecx, [ebp - 0x28]
cmovae ecx, edi
sub eax, ecx
sar eax, 1
cmp edx, eax
jb 0x100f6194
mov ecx, edx
lea esi, [eax + eax]
sub ecx, eax
mov edx, 1
cmp ecx, edx
cmovb edx, ecx
cmp ebx, 8
mov ebx, dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
cmovae ecx, edi
sub ebx, edx
mov dword [ebp - 0x18], ebx
add ecx, esi
sub ebx, eax
lea eax, [ebx*2 + 2]
push eax
lea eax, [ecx + edx*2]
push eax
push ecx
call fcn.1000c013
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edi, dword [ebp - 0x28]
add esp, 0xc
cmp ebx, 8
cmovae eax, edi
add eax, esi
jmp 0x100f6086
add eax, 2
jmp 0x100f6090
mov esi, dword [ebp - 0x34]
mov ecx, dword [esi]
cmp edx, ecx
jbe 0x100f6121
xor esi, esi
jmp 0x100f6146
cmp ebx, 8
lea eax, [ebp - 0x28]
push edx
cmovae eax, edi
push eax
push ecx
push dword [ebp - 0x38]
call fcn.10007a40
mov eax, dword [ebp - 0x18]
add esp, 0x10
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
mov dword [esi], eax
mov esi, dword [ebp - 0x3c]
cmp ebx, 8
jb 0x100f6176
lea ebx, [ebx*2 + 2]
mov eax, edi
cmp ebx, 0x1000
jb 0x100f616c
mov edi, dword [edi - 4]
add ebx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f6199
push ebx
push edi
call fcn.10006f50
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10006348
mov esp, ebp
pop ebp
ret
call fcn.1000cdd8
call fcn.1000a795
int3
Function at 0x18002c90
Capabilities:
Get file version info

Disassembly:
sub esp, 0x230
mov eax, dword [0x1804e020]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
xor edi, edi
cmp word [0x18053218], di
jne 0x18002d43
push 0x104
lea eax, [esp + 0x2c]
push eax
push edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
lea ecx, [esp + 0x2c]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, edi
jbe 0x18002d43
push esi
call fcn.18028ee8
add esp, 4
mov ebx, eax
push ebx
push esi
push edi
lea edx, [esp + 0x34]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push str.StringFileInfo040904b0InternalName
push ebx
call sub.VERSION.dll_VerQueryValueW
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x18002d3a
push eax
lea edx, [esp + 0x24]
push 0x104
push 0x18053218
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], edi
call dword [sym.imp.MSVCR90.dll_wcscpy_s]
add esp, 0xc
lea edi, [esp + 0x18]
call fcn.18002330
push ebx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 0x18053218
call fcn.1802929c
add esp, 0x230
ret