joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10011720
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push ebx
push esi
push edi
push str._noassert
call fcn.1000a850
add esp, 4
test al, al
jne 0x1001190b
push str._nocrashdialog
call fcn.1000a850
add esp, 4
test al, al
jne 0x1001190b
call fcn.10012690
test al, al
jne 0x1001176b
call fcn.1000a320
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x100434ec
call fcn.1000a850
add esp, 4
test al, al
je 0x10011785
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x1005609c], 0
je 0x1001190b
mov esi, dword [0x1009df74]
mov dword [ebp - 4], 0x1009df74
test esi, esi
je 0x10011839
jmp 0x100117b0
mov edi, dword [esi + 0x20c]
lea ebx, [esi + 0x20c]
push esi
push dword [ebp + 8]
call fcn.1002780d
add esp, 8
test eax, eax
jne 0x1001182c
mov ecx, dword [esi + 0x200]
mov al, 1
cmp ecx, 0xffffffff
jne 0x100117e7
xor edx, edx
movzx eax, al
cmp dword [esi + 0x204], ecx
cmove eax, edx
mov edx, dword [ebp + 0xc]
cmp edx, ecx
jl 0x100117f6
cmp edx, dword [esi + 0x204]
jle 0x100117fa
test al, al
jne 0x1001182c
mov eax, dword [esi + 0x208]
test eax, eax
jle 0x1001190b
add eax, 0xffffffff
mov dword [esi + 0x208], eax
jne 0x1001190b
mov eax, dword [ebp - 4]
push 0x210
push esi
mov dword [eax], edi
call fcn.10017d51
add esp, 8
jmp 0x1001182f
mov dword [ebp - 4], ebx
mov esi, edi
test edi, edi
jne 0x100117b0
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [0x1009df78], ebx
mov dword [0x1009df7c], esi
mov dword [0x1009df80], edi
mov byte [0x1009df6e], 0
mov dword [0x1009df84], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x100116e0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [0x1009df84]
test eax, eax
jne 0x100118e9
push edi
push esi
push ebx
push str.File:__s_nLine:__d_n_Ts_n_nClick_Abort_to_break_in_the_debugger__Retry_to_continue_or_Ignore_to_disable_assert_dialogs_for_this_process.
lea eax, [ebp - 0x804]
push 0x800
push eax
call fcn.10009490
add esp, 0x18
mov byte [ebp - 5], 0
lea eax, [ebp - 0x804]
push 0x12002
push str.Assert_Dialog
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 3
jne 0x100118d1
pop edi
pop esi
mov byte [0x1009df6e], 1
mov al, byte [0x1009df6e]
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x100118ff
mov al, byte [0x1009df6e]
pop edi
pop esi
mov byte [0x1005609c], 0
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x10011350
push eax
push 0x65
push dword [0x1009df70]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov al, byte [0x1009df6e]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10012490
Capabilities:
Allocate thread local storage

Disassembly:
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x100124bc
push str.Out_of_thread_local_storage__n
push 0xb81
push str.c:_buildslave_steam_rel_client_win32_build_src_tier0_threadtools.cpp
call fcn.10009b90
add esp, 0xc
test al, al
jne 0x100124bc
int3
mov eax, esi
pop esi
ret
Function at 0x10012580
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x1001258f
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
ret
push str.Bad_thread_local_n
push 0xbb6
push str.c:_buildslave_steam_rel_client_win32_build_src_tier0_threadtools.cpp
call fcn.10009b90
add esp, 0xc
test al, al
jne 0x100125ab
int3
xor eax, eax
ret

Function at 0x10012620
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x10012638
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop ebp
ret 4
push str.Bad_thread_local_n
push 0xbc9
push str.c:_buildslave_steam_rel_client_win32_build_src_tier0_threadtools.cpp
call fcn.10009b90
add esp, 0xc
test al, al
jne 0x10012654
int3
pop ebp
ret 4

Function at 0x10014a30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
call fcn.10014600
test al, al
je 0x10014bcc
push ebx
push esi
push edi
call fcn.100145e0
mov esi, eax
mov dword [ebp - 4], ebp
mov dword [ebp - 8], esp
push 0x108
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.10019c10
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x10c], 3
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xec], 3
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xdc], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push 0x100a03dc
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
xor edi, edi
cmp dword [ebp + 0xc], edi
jle 0x10014b5a
mov ebx, dword [ebp + 0x10]
lea ebx, [ebx]
push 0
push dword [0x100a0414]
lea eax, [ebp - 0x118]
push dword [0x100a0410]
push 0
push 0
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0x14c
call dword [0x100a03f8]
test eax, eax
je 0x10014b5a
mov eax, dword [ebp - 0xf8]
or eax, dword [ebp - 0xf4]
je 0x10014b5a
cmp edi, ebx
jle 0x10014b54
mov edx, dword [esi + 0xa0]
cmp edx, 0x14
jge 0x10014b54
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x114]
mov dword [esi + edx*8], eax
mov dword [esi + edx*8 + 4], ecx
inc dword [esi + 0xa0]
inc edi
cmp edi, dword [ebp + 0xc]
jl 0x10014af0
push 0x100a03dc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [esi + 0xa0]
xor edi, edi
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
test ebx, ebx
jle 0x10014bc9
jmp 0x10014b90
mov edx, dword [esi + 0xa8]
mov ecx, dword [esi + 0xac]
shld ecx, edx, 2
shl edx, 2
mov dword [esi + 0xa8], edx
mov dword [esi + 0xac], ecx
xor edx, dword [esi + edi*8]
mov eax, dword [esi + edi*8 + 4]
inc edi
xor eax, ecx
mov dword [esi + 0xa8], edx
mov dword [esi + 0xac], eax
cmp edi, ebx
jl 0x10014b90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10015000
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100414c3
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword fs:[0x2c]
mov edx, dword [0x100a1b04]
push esi
push edi
mov edx, dword [eax + edx*4]
mov edi, ecx
mov eax, dword [0x100a0440]
cmp eax, dword [edx + 4]
jg 0x10015164
mov dword [ebp - 0x10], 0x100a0420
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
mov esi, 0x100a0420
cmp edx, dword [0x100a0420]
je 0x10015073
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
je 0x10015073
pause
push edx
mov ecx, esi
call fcn.100125b0
jmp 0x1001507a
lock inc dword [0x100a0424]
push ebx
mov dword [ebp - 4], 2
mov ebx, dword [ebp + 8]
cmp ebx, dword [edi + 0x20]
je 0x10015133
movzx eax, bl
xor eax, 0x811c9dc5
mov dword [edi + 0x20], ebx
imul ecx, eax, 0x1000193
mov eax, ebx
shr eax, 8
movzx eax, al
mov dword [ebp + 8], ebx
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x10
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.1000af30
mov eax, dword [eax + 4]
test eax, eax
je 0x100150f3
cmp eax, dword [edi + 4]
je 0x100150f3
mov eax, dword [eax + 0xc]
mov dword [edi + 0x24], eax
jmp 0x10015136
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100150f8
sub esi, ecx
inc esi
push esi
call fcn.100272e1
push esi
push ebx
push eax
mov dword [edi + 0x24], eax
call fcn.10019690
mov eax, dword [edi + 0x24]
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ecx, edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10014c00
mov esi, 0x100a0420
mov eax, dword [edi + 0x24]
mov dword [ebp - 4], 0xffffffff
lock dec dword [0x100a0424]
cmp dword [0x100a0424], 0
pop ebx
jne 0x10015152
xor ecx, ecx
xchg dword [esi], ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push 0x100a0440
call fcn.10018803
add esp, 4
cmp dword [0x100a0440], 0xffffffff
jne 0x1001503f
mov dword [ebp - 4], 0
mov ecx, 0x100a0428
mov dword [0x100a0420], 0
mov dword [0x100a0424], 0
call fcn.100124c0
mov byte [ebp - 4], 0
push 0x10041a50
call fcn.10018072
mov dword [ebp - 4], 0xffffffff
push 0x100a0440
call fcn.100187b9
add esp, 8
jmp 0x1001503f
Function at 0x100151d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100414dd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0x14], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x1001535f
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.100106e0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x1001531c
mov edi, edi
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [ebp + 8], eax
cmp ebx, esi
jne 0x100152a1
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x1001530f
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x100152d8
mov eax, dword [eax]
cmp eax, ecx
je 0x100152d0
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x1001530f
cmp ebx, eax
je 0x100152ec
lea esp, [esp]
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x1001533d
cmp ebx, eax
jne 0x100152e0
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ebx, dword [ebp - 0x14]
mov ecx, edx
cmp edx, esi
jne 0x10015250
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp + 8], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
jmp 0x1001530f
push str.invalid_hash_bucket_count
call fcn.10017ce1
int3
Function at 0x10015370
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100410dd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x10], ebx
cmp edx, esi
je 0x1001551d
mov ecx, dword [ebx + 4]
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 4]
push edi
mov edi, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0
mov eax, dword [edx + 4]
mov dword [ebp - 0x24], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
xor ecx, eax
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp + 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], eax
lea ebx, [ebx]
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x10
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.10017d51
mov edx, dword [ebp - 0x10]
add esp, 8
dec dword [edx + 8]
test bl, bl
jne 0x1001545e
mov eax, dword [ebp - 0x20]
cmp edi, esi
jne 0x10015420
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jne 0x1001550d
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edi
jmp 0x1001550d
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
jne 0x10015470
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x10015473
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
cmp edi, esi
je 0x1001550d
mov edi, edi
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor ecx, eax
movzx eax, byte [edi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0x18]
and ecx, eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + ecx*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], eax
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x10
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.10017d51
mov eax, dword [ebp - 0x10]
add esp, 8
dec dword [eax + 8]
test bl, bl
jne 0x100154f1
cmp edi, esi
je 0x10015508
mov eax, dword [ebp + 0xc]
jmp 0x100154c7
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp edi, esi
je 0x1001550d
mov edx, dword [ebp - 0x10]
jmp 0x10015480
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov dword [eax], edi
mov dword [edi + 4], eax
pop edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x100163f0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0x100442f4
mov dword [ebp - 4], 0
call fcn.10016590
push 0
lea ecx, [ebp - 0xc]
call fcn.100164d0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x10016438
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10016438
xor bl, bl
jmp 0x1001643a
mov bl, 1
mov eax, dword [ebp - 4]
test eax, eax
je 0x1001644a
push eax
call fcn.10017d68
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x1001645a
push eax
call fcn.10017d68
add esp, 4
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0x100442f4
mov dword [ebp - 4], 0
call fcn.10016590
lea ecx, [ebp - 0xc]
call fcn.100164d0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov eax, dword [ebp - 4]
setne bl
test eax, eax
je 0x100164b7
push eax
call fcn.10017d68
add esp, 4
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x100164c7
push ecx
call fcn.10017d68
add esp, 4
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10032cff
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10032b75

Function at 0x10034f4f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10034aa2
Function at 0x1001f420
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x64004
call fcn.1000ecb0
push esi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push 0x10029230
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
push ecx
push eax
lea eax, [ebp - 0x64004]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
movdqa xmm1, xmmword [str.iiiiiiiiiiiiiiiiH]
xor eax, eax
lea esp, [esp]
movdqu xmm0, xmmword [ebp + eax - 0x64004]
pxor xmm0, xmm1
movdqu xmmword [ebp + eax - 0x64004], xmm0
add eax, 0x10
cmp eax, 0x64000
jne 0x1001f480
push 0x40
push 0x3000
push eax
push 0
call dword [0x1002cf4c]
mov esi, eax
lea eax, [ebp - 0x64004]
push 0x64000
push eax
push esi
call fcn.10001020
add esp, 0xc
push esi
push 0
push 0
call dword [sym.imp.CRYPT32.dll_CertEnumSystemStoreLocation]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x401b88
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xb]
mov esi, dword [eax]
mov edi, dword [eax + 4]
add edi, esi
mov edx, ecx
add edx, eax
test cl, cl
cmovs edx, edi
cmovs eax, esi
sub edx, eax
mov ecx, edx
cmp edx, 4
jb 0x401bd6
imul esi, dword [eax], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
xor ecx, esi
add eax, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x401bb0
cmp edx, 1
je 0x401bf7
cmp edx, 2
je 0x401bee
cmp edx, 3
jne 0x401c02
movzx edx, byte [eax + 2]
shl edx, 0x10
xor ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
xor ecx, edx
movzx eax, byte [eax]
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
pop esi
pop edi
pop ebp
ret 4

Function at 0x4090c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [ebp - 0x20], ecx
mov eax, dword [0x4b731c]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
xor eax, eax
dec eax
mov dword [ecx - 4], eax
mov dword [ecx - 8], eax
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x1c], 0xffffffff
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x18]
push edx
push dword [edi + 0x28]
call dword [eax + 0x10]
mov ebx, eax
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
sub esi, eax
push dword [edi + 0x20]
push esi
push 1
push eax
call fcn.004888cd
add esp, 0x10
cmp eax, esi
jne 0x409143
cmp ebx, 1
je 0x4090e5
cmp ebx, 2
mov esi, 0xffffffff
je 0x409146
mov eax, dword [ebp - 0x20]
push dword [eax + 0x20]
call fcn.0048847b
add esp, 4
neg eax
sbb esi, esi
jmp 0x409146
xor esi, esi
dec esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004733c1
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x409160
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp byte [ecx + 0x2c], 0
je 0x409184
push dword [ecx + 0x20]
push esi
push 1
push eax
call fcn.004888cd
add esp, 0x14
jmp 0x4091b3
test esi, esi
jle 0x4091ac
mov dword [ebp - 0x10], ecx
xor edi, edi
mov ebx, eax
movzx eax, byte [eax + edi]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
call dword [edx + 0x30]
cmp eax, 0xffffffff
je 0x4091ae
inc edi
cmp esi, edi
mov eax, ebx
jne 0x40918d
mov edi, esi
jmp 0x4091ae
xor edi, edi
mov eax, edi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x4091c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov ebx, dword [ebp + 8]
mov eax, dword [0x4b731c]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
dec eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
cmp ebx, eax
je 0x409210
mov edi, ecx
mov byte [ebp - 0x19], bl
cmp byte [ecx + 0x2c], 0
je 0x409219
xor esi, esi
inc esi
lea eax, [ebp - 0x19]
push dword [edi + 0x20]
push esi
push esi
push eax
call fcn.004888cd
add esp, 0x10
cmp eax, esi
mov esi, 0xffffffff
je 0x409212
jmp 0x4092a1
xor ebx, ebx
mov esi, ebx
jmp 0x4092a1
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x20]
mov dword [ecx], eax
lea esi, [ebp - 0x19]
mov dword [ebp - 0x24], 0xffffffff
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x18]
push edx
push esi
push dword [edi + 0x28]
call dword [eax + 8]
cmp dword [ebp - 0x24], esi
je 0x40929e
mov ebx, eax
cmp eax, 3
je 0x409281
cmp ebx, 1
ja 0x40929e
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
sub esi, eax
push dword [edi + 0x20]
push esi
push 1
push eax
call fcn.004888cd
add esp, 0x10
cmp eax, esi
jne 0x40929e
mov esi, dword [ebp - 0x24]
cmp ebx, 1
je 0x409224
jmp 0x409296
xor ebx, ebx
inc ebx
push dword [edi + 0x20]
push ebx
push ebx
push esi
call fcn.004888cd
add esp, 0x10
cmp eax, ebx
jne 0x40929e
mov ebx, dword [ebp + 8]
jmp 0x409212
xor esi, esi
dec esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004733c1
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x4092f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp byte [ecx + 0x2c], 0
je 0x409314
push dword [ecx + 0x20]
push esi
push 2
push eax
call fcn.004888cd
add esp, 0x14
jmp 0x409344
test esi, esi
jle 0x40933d
mov dword [ebp - 0x10], ecx
xor edi, edi
mov ebx, eax
movzx eax, word [eax + edi*2]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
call dword [edx + 0x30]
cmp ax, 0xffff
je 0x40933f
inc edi
cmp esi, edi
mov eax, ebx
jne 0x40931d
mov edi, esi
jmp 0x40933f
xor edi, edi
mov eax, edi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x409350
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
movzx esi, word [ebp + 8]
mov eax, dword [0x4b731c]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
dec eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
cmp si, 0xffff
je 0x40939f
mov edi, ecx
mov word [ebp - 0x1a], si
cmp byte [ecx + 0x2c], 0
je 0x4093b7
lea eax, [ebp - 0x1a]
push dword [edi + 0x20]
push 1
push 2
push eax
call fcn.004888cd
add esp, 0x10
cmp eax, 1
je 0x4093a1
xor esi, esi
dec esi
jmp 0x4093a1
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004733c1
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x20]
mov dword [ecx], eax
lea esi, [ebp - 0x1a]
mov dword [ebp - 0x24], 0xffffffff
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x18]
push edx
push esi
push dword [edi + 0x28]
call dword [eax + 8]
cmp dword [ebp - 0x24], esi
je 0x40939a
mov ebx, eax
cmp eax, 3
je 0x40941f
cmp ebx, 1
ja 0x40939a
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
sub esi, eax
push dword [edi + 0x20]
push esi
push 1
push eax
call fcn.004888cd
add esp, 0x10
cmp eax, esi
jne 0x40939a
mov esi, dword [ebp - 0x24]
cmp ebx, 1
je 0x4093c2
jmp 0x409438
xor ebx, ebx
inc ebx
push dword [edi + 0x20]
push ebx
push ebx
push esi
call fcn.004888cd
add esp, 0x10
cmp eax, ebx
jne 0x40939a
movzx esi, word [ebp + 8]
jmp 0x4093a1