joyce8/EMBER2024-capa huggingface dataset:
Function at 0x56562c
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, eax
push esi
call sub.user32.dll_IsIconic
test eax, eax
je 0x565645
push 9
push esi
call sub.user32.dll_ShowWindow
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
jne 0x565655
mov bl, 1
jmp 0x565742
mov eax, dword [0x56e370]
cmp dword [eax], 2
jne 0x565669
mov eax, dword [0x56dc54]
cmp dword [eax], 4
jg 0x56569d
mov eax, dword [0x56e370]
cmp dword [eax], 1
jne 0x56572c
mov eax, dword [0x56dc54]
cmp dword [eax], 4
jg 0x56569d
mov eax, dword [0x56dc54]
cmp dword [eax], 4
jne 0x56572c
mov eax, dword [0x56e07c]
cmp dword [eax], 0
jle 0x56572c
xor ebx, ebx
push 0
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov edi, eax
push 0
push esi
call sub.user32.dll_GetWindowThreadProcessId
mov ebp, eax
push 0xffffffffffffffff
push edi
push ebp
call sub.user32.dll_AttachThreadInput
test eax, eax
je 0x5656e4
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
push 0
push edi
push ebp
call sub.user32.dll_AttachThreadInput
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
sete bl
test bl, bl
jne 0x565738
push 0
lea eax, [esp + 4]
push eax
push 0
push 0x2000
call sub.user32.dll_SystemParametersInfoA
push 2
push 0
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoA
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
push 2
mov eax, dword [esp + 4]
push eax
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoA
jmp 0x565738
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
sete bl
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x56574c
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd44
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x29c], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404cdc
xor eax, eax
push ebp
push 0x56589e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x198]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
xor ecx, ecx
push ebp
push 0x565876
push dword fs:[ecx]
mov dword fs:[ecx], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x298]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x298]
mov edx, dword [ebp - 4]
call fcn.00409f98
lea eax, [ebp - 0x298]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x56585f
mov edx, dword [eax + 0xc]
test edx, edx
je 0x565859
mov ebx, dword [edx]
test ebx, ebx
je 0x565853
lea eax, [ebp - 0x29c]
push eax
xor eax, eax
mov al, byte [ebx]
mov dword [ebp - 0x2bc], eax
mov byte [ebp - 0x2b8], 0
xor eax, eax
mov al, byte [ebx + 1]
mov dword [ebp - 0x2b4], eax
mov byte [ebp - 0x2b0], 0
xor eax, eax
mov al, byte [ebx + 2]
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 0x2a8], 0
xor eax, eax
mov al, byte [ebx + 3]
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 0x2a0], 0
lea edx, [ebp - 0x2bc]
mov ecx, 3
mov eax, 0x5658b8
call fcn.0040a5dc
mov edx, dword [ebp - 0x29c]
mov eax, esi
call fcn.00404870
mov byte [ebp - 5], 1
jmp 0x565863
mov byte [ebp - 5], 0
jmp 0x565863
mov byte [ebp - 5], 0
jmp 0x565863
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56587d
call sub.wsock32.dll_WSACleanup
ret
Function at 0x566e74
Capabilities:
Create thread
Hide graphical window
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, dword [0x56e10c]
cmp byte [eax], 0
je 0x566fda
test ebx, ebx
je 0x566fda
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x30c], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x310], eax
xor eax, eax
mov dword [ebx + 0x318], eax
mov al, byte [ebp + 0x14]
mov byte [ebx + 0x320], al
call sub.user32.dll_GetDesktopWindow
mov edx, eax
mov eax, ebx
call fcn.0046b274
mov edx, edi
mov eax, dword [ebx + 0x2f8]
call fcn.00467340
mov edx, esi
mov eax, dword [ebx + 0x2fc]
call fcn.00467340
mov eax, dword [ebx + 0x300]
mov eax, dword [eax + 0x168]
call fcn.0042b1b4
mov ecx, eax
xor edx, edx
mov dl, byte [ebp + 0x10]
mov eax, dword [ebx + 0x304]
call fcn.004748b8
push 0
mov eax, ebx
call fcn.0046db78
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, ebx
call fcn.0046db78
push eax
call sub.user32.dll_GetWindowLongA
or eax, 8
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, ebx
call fcn.0046db78
push eax
call sub.user32.dll_SetWindowLongA
push 0x217
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, ebx
call fcn.0046db78
push eax
call sub.user32.dll_SetWindowPos
push 4
mov eax, ebx
call fcn.0046db78
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x56e324]
mov eax, dword [eax]
call fcn.00485df0
add eax, 0xa
cmp eax, dword [ebx + 0x44]
jg 0x566f92
mov eax, dword [0x56e324]
mov eax, dword [eax]
call fcn.00485df0
mov edx, eax
add edx, 0xa
mov eax, ebx
call fcn.00466aa4
mov eax, dword [0x56e324]
mov eax, dword [eax]
call fcn.00485e1c
mov edx, eax
sub edx, dword [ebx + 0x48]
sub edx, 3
mov eax, ebx
call fcn.00466a80
mov eax, dword [ebx + 0x324]
test eax, eax
jne 0x566fd4
lea eax, [ebp - 4]
push eax
push 0
push ebx
push 0x566c44
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [ebx + 0x324], eax
jmp 0x566fda
push eax
call sub.kernel32.dll_ResumeThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x10
Function at 0x442030
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x35000]
push edi
or ebp, 0xffffffff
jmp 0x442052
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x442059
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x442048
mov eax, 1
add ebx, ebx
jne 0x44206b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x442060
jne 0x44207c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x442060
xor ecx, ecx
sub eax, 3
jb 0x442090
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x442102
mov ebp, eax
add ebx, ebx
jne 0x44209b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4420a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4420cc
inc ecx
add ebx, ebx
jne 0x4420b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4420ad
jne 0x4420c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4420ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4420ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4420dd
jmp 0x44204e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4420ec
add edi, ecx
jmp 0x44204e
pop esi
mov edi, esi
mov ecx, 0x128
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x44210a
cmp byte [edi], 4
jne 0x44210a
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 0x44210f
lea edi, [esi + 0x40000]
mov eax, dword [edi]
or eax, eax
je 0x442187
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x42618]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x42654]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x44213c
mov ecx, edi
jns 0x44216b
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 + 0x42658]
or eax, eax
je 0x442181
mov dword [ebx], eax
add ebx, 4
jmp 0x442159
call dword [esi + 0x42660]
mov ebp, dword [esi + 0x4265c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x4421bb
sub esp, 0xffffff80
jmp 0x401fd0
Function at 0x1000cfe5
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov edx, 0x811c9dc5
xor ecx, ecx
movzx eax, byte [esi + ecx]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 4
jb 0x1000cff3
pop esi
mov eax, edx
pop ebp
ret 4
Function at 0x1000e464
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov byte [esp + 0x10], 0x3b
mov byte [esp + 0x11], 0x38
mov byte [esp + 0x12], 0x32
mov byte [esp + 0x13], 0x32
mov byte [esp + 0x14], 0x46
mov byte [esp + 0x15], 0x37
mov byte [esp + 0x16], 0x39
mov byte [esp + 0x17], 0x35
push ebx
mov byte [esp + 0x1c], 0x3c
xor ebx, ebx
mov byte [esp + 0x1d], 0x3c
push esi
mov byte [esp + 0x22], 0x39
push edi
mov byte [esp + 0x27], 0x48
mov edi, ecx
mov byte [esp + 0x28], bl
mov al, byte [esp + 0x1c]
push 0xc
mov eax, ebx
pop ecx
sub byte [esp + eax + 0x1c], 4
inc eax
cmp eax, ecx
jb 0x1000e4bd
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], eax
mov byte [esp + 0x29], 0x43
mov byte [esp + 0x2a], 0x40
mov byte [esp + 0x2b], 0x3a
mov byte [esp + 0x2c], 0x3a
mov byte [esp + 0x2d], 0x4f
mov byte [esp + 0x2e], 0x42
mov byte [esp + 0x2f], 0x40
mov byte [esp + 0x30], 0x41
mov byte [esp + 0x31], 0x52
mov byte [esp + 0x32], 0x52
mov byte [esp + 0x33], 0x41
mov byte [esp + 0x34], 0x3d
mov byte [esp + 0x35], bl
mov al, byte [esp + 0x29]
mov eax, ebx
sub byte [esp + eax + 0x29], 0xc
inc eax
cmp eax, ecx
jb 0x1000e515
lea eax, [esp + 0x29]
mov dword [esp + 0x18], eax
mov byte [esp + 0x36], 0x3c
mov byte [esp + 0x37], 0x38
mov byte [esp + 0x38], 0x4d
mov byte [esp + 0x39], 0x4d
mov byte [esp + 0x3a], 0x3e
mov byte [esp + 0x3b], 0x3c
mov byte [esp + 0x3c], 0x37
mov byte [esp + 0x3d], 0x3f
mov byte [esp + 0x3e], 0x4d
mov byte [esp + 0x3f], 0x4d
mov byte [esp + 0x40], 0x6b
mov byte [esp + 0x41], 0x37
mov byte [esp + 0x42], bl
mov al, byte [esp + 0x36]
mov eax, ebx
sub byte [esp + eax + 0x36], 7
inc eax
cmp eax, ecx
jb 0x1000e56d
mov dword [esp + 0x54], 0x1000e25c
lea eax, [esp + 0x36]
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], ebx
mov byte [esp + 0x43], 0x53
mov byte [esp + 0x44], 0x53
mov byte [esp + 0x45], 0x46
mov byte [esp + 0x46], 0x42
mov byte [esp + 0x47], 0x3e
mov byte [esp + 0x48], 0x45
mov byte [esp + 0x49], 0x53
mov byte [esp + 0x4a], 0x51
mov byte [esp + 0x4b], 0x53
mov byte [esp + 0x4c], 0x53
mov byte [esp + 0x4d], 0x53
mov byte [esp + 0x4e], 0x53
mov byte [esp + 0x4f], bl
mov al, byte [esp + 0x43]
mov eax, ebx
sub byte [esp + eax + 0x43], 0xd
inc eax
cmp eax, ecx
jb 0x1000e5d1
lea eax, [esp + 0x43]
mov dword [esp + 0x60], 0x1000e35e
mov dword [esp + 0x5c], eax
mov esi, ebx
mov dword [esp + 0x64], ebx
push ecx
push dword [esp + esi*4 + 0x18]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1005d89d
test eax, eax
jne 0x1000e60d
inc esi
cmp esi, 2
jb 0x1000e5f1
jmp 0x1000e620
push 1
lea edx, [esp + 0x14]
mov byte [esp + 0x14], 0xeb
mov ecx, eax
call fcn.1005d04d
pop ecx
lea esi, [esp + 0x50]
push ecx
push dword [esi]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1005d89d
mov ecx, eax
test ecx, ecx
jne 0x1000e643
inc ebx
add esi, 0xc
cmp ebx, 2
jb 0x1000e624
jmp 0x1000e652
imul eax, ebx, 0xc
push dword [esp + eax + 0x54]
push ecx
mov ecx, edi
call fcn.1005bec0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1000ec37
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
push ebx
push esi
mov esi, dword [0x1018d2c4]
xor ebx, ebx
mov byte [esp + 0x22], 0x50
mov byte [esp + 0x23], 0x7f
mov byte [esp + 0x24], 0x72
mov byte [esp + 0x25], 0x6e
mov byte [esp + 0x26], 0x81
mov byte [esp + 0x27], 0x72
mov byte [esp + 0x28], 0x5d
mov byte [esp + 0x29], 0x7f
mov byte [esp + 0x2a], 0x7c
mov byte [esp + 0x2b], 0x70
mov byte [esp + 0x2c], 0x72
mov byte [esp + 0x2d], 0x80
mov byte [esp + 0x2e], 0x80
mov byte [esp + 0x2f], 0x4e
mov byte [esp + 0x30], bl
mov al, byte [esp + 0x22]
mov eax, ebx
sub byte [esp + eax + 0x22], 0xd
inc eax
cmp eax, 0xe
jb 0x1000ec9a
mov byte [esp + 0x10], 0x6e
mov byte [esp + 0x11], 0x68
mov byte [esp + 0x12], 0x75
mov byte [esp + 0x13], 0x71
mov byte [esp + 0x14], 0x68
mov byte [esp + 0x15], 0x6f
mov byte [esp + 0x16], 0x36
mov byte [esp + 0x17], 0x35
mov byte [esp + 0x18], bl
mov al, byte [esp + 0x10]
mov eax, ebx
sub byte [esp + eax + 0x10], 3
inc eax
cmp eax, 8
jb 0x1000ecd7
push 1
push 0xa
push 0x1000ea31
push ecx
lea eax, [esp + 0x32]
mov ecx, esi
push eax
lea eax, [esp + 0x24]
push eax
call fcn.1005d884
pop ecx
push eax
mov ecx, esi
call fcn.1005bf99
mov byte [esp + 0x31], 0x4e
mov byte [esp + 0x32], 0x7d
mov byte [esp + 0x33], 0x70
mov byte [esp + 0x34], 0x6c
mov byte [esp + 0x35], 0x7f
mov byte [esp + 0x36], 0x70
mov byte [esp + 0x37], 0x5b
mov byte [esp + 0x38], 0x7d
mov byte [esp + 0x39], 0x7a
mov byte [esp + 0x3a], 0x6e
mov byte [esp + 0x3b], 0x70
mov byte [esp + 0x3c], 0x7e
mov byte [esp + 0x3d], 0x7e
mov byte [esp + 0x3e], 0x62
mov byte [esp + 0x3f], bl
mov al, byte [esp + 0x31]
mov eax, ebx
sub byte [esp + eax + 0x31], 0xb
inc eax
cmp eax, 0xe
jb 0x1000ed56
mov byte [esp + 0x19], 0x75
mov byte [esp + 0x1a], 0x6f
mov byte [esp + 0x1b], 0x7c
mov byte [esp + 0x1c], 0x78
mov byte [esp + 0x1d], 0x6f
mov byte [esp + 0x1e], 0x76
mov byte [esp + 0x1f], 0x3d
mov byte [esp + 0x20], 0x3c
mov byte [esp + 0x21], bl
mov al, byte [esp + 0x19]
sub byte [esp + ebx + 0x19], 0xa
inc ebx
cmp ebx, 8
jb 0x1000ed91
push 1
push 0xa
push 0x1000eaba
push ecx
lea eax, [esp + 0x41]
mov ecx, esi
push eax
lea eax, [esp + 0x2d]
push eax
call fcn.1005d884
pop ecx
push eax
mov ecx, esi
call fcn.1005bf99
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000edc6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [0x1018d2c4]
xor ecx, ecx
mov byte [ebp - 0xf], 0x80
mov byte [ebp - 0xe], 0x71
mov byte [ebp - 0xd], 0x7a
mov byte [ebp - 0xc], 0x7b
mov byte [ebp - 0xb], 0x77
mov byte [ebp - 0xa], 0x71
mov byte [ebp - 9], 0x3a
mov byte [ebp - 8], 0x70
mov byte [ebp - 7], 0x78
mov byte [ebp - 6], 0x78
mov byte [ebp - 5], cl
mov al, byte [ebp - 0xf]
sub byte [ebp + ecx - 0xf], 0xc
inc ecx
cmp ecx, 0xa
jb 0x1000ee03
lea eax, [ebp - 0xf]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 0x54], eax
pop esi
leave
ret
Function at 0x10013c5b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [0x1018d2d0], 0
jne 0x10013d2a
mov byte [ebp - 0x1e], 0x70
mov byte [ebp - 0x1d], 0x3f
mov byte [ebp - 0x1c], 0x70
mov byte [ebp - 0x1b], 0x6f
mov byte [ebp - 0x1a], 0x7b
mov byte [ebp - 0x19], 0x79
mov byte [ebp - 0x18], 0x7c
mov byte [ebp - 0x17], 0x75
mov byte [ebp - 0x16], 0x78
mov byte [ebp - 0x15], 0x71
mov byte [ebp - 0x14], 0x7e
mov byte [ebp - 0x13], 0x6b
mov byte [ebp - 0x12], 0x40
mov byte [ebp - 0x11], 0x43
mov byte [ebp - 0x10], 0x3a
mov byte [ebp - 0xf], 0x70
mov byte [ebp - 0xe], 0x78
push ebx
xor ebx, ebx
mov byte [ebp - 0xd], 0x78
mov byte [ebp - 0xc], bl
mov al, byte [ebp - 0x1e]
mov eax, ebx
sub byte [ebp + eax - 0x1e], 0xc
inc eax
cmp eax, 0x12
jb 0x10013cc1
lea eax, [ebp - 0x1e]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1018d2d4], eax
mov byte [ebp - 0xb], 0x46
mov byte [ebp - 0xa], 0x35
mov byte [ebp - 9], 0x46
mov byte [ebp - 8], 0x45
mov byte [ebp - 7], 0x71
mov byte [ebp - 6], 0x6f
mov byte [ebp - 5], 0x72
mov byte [ebp - 4], 0x6b
mov byte [ebp - 3], 0x6e
mov byte [ebp - 2], 0x67
mov byte [ebp - 1], bl
mov al, byte [ebp - 0xb]
sub byte [ebp + ebx - 0xb], 2
inc ebx
cmp ebx, 0xa
jb 0x10013d09
pop ebx
lea eax, [ebp - 0xb]
push eax
push dword [0x1018d2d4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1018d2d0], eax
leave
ret
Function at 0x1001a413
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1008aeda
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x30]
test edi, edi
je 0x1001a444
mov ecx, edi
call fcn.1001a1fa
mov ecx, edi
call fcn.1001d7a8
mov edi, dword [esi + 0x34]
test edi, edi
je 0x1001a459
mov ecx, edi
call fcn.1001a1fa
mov ecx, edi
call fcn.1001d7a8
and dword [ebp - 4], 0
lea eax, [esi + 0x64]
push 0x10018287
push 2
push 0xc
push eax
call fcn.1007a4e1
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x1001b925
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
mov edx, dword [ebp + 8]
push edi
mov edi, ecx
not edx
movzx eax, byte [edi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100938f0]
inc edi
sub esi, 1
jne 0x1001b933
pop edi
not edx
pop esi
mov eax, edx
pop ebp
ret

Function at 0x1001b953
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov edx, ebx
test edi, edi
je 0x1001b9b7
mov al, byte [esi]
dec edi
inc esi
cmp al, 0x23
jne 0x1001b97f
cmp edi, 2
jb 0x1001b97f
cmp byte [esi], al
jne 0x1001b97f
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100938f0]
test edi, edi
jne 0x1001b968
jmp 0x1001b9be
cmp al, 0x23
jne 0x1001b9a5
cmp byte [esi], al
jne 0x1001b9a5
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100938f0]
mov al, byte [esi]
inc esi
test al, al
jne 0x1001b997
pop edi
not edx
pop esi
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x1001bae0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x1001baf0
and dword [ebx], 0
call fcn.1001b9c7
mov esi, eax
test esi, esi
je 0x1001bb51
mov ecx, esi
call fcn.1001ba84
mov edi, eax
cmp edi, 0xffffffff
je 0x1001bb4a
mov ecx, edi
call fcn.1001d790
mov dword [ebp + 8], eax
test eax, eax
je 0x1001bb4a
push esi
push edi
push 1
push eax
call dword [sym.imp.msvcrt.dll_fread]
add esp, 0x10
mov ecx, esi
cmp eax, edi
je 0x1001bb3a
call fcn.1001ba75
mov ecx, dword [ebp + 8]
call fcn.1001d7a8
jmp 0x1001bb51
call fcn.1001ba75
test ebx, ebx
je 0x1001bb45
mov dword [ebx], edi
mov eax, dword [ebp + 8]
jmp 0x1001bb53
mov ecx, esi
call fcn.1001ba75
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10039571
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov edx, 0x811c9dc5
xor ecx, ecx
movzx eax, byte [esi + ecx]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 8
jb 0x1003957f
pop esi
mov eax, edx
pop ebp
ret 4

Function at 0x100399d8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 0xf], 0x7c
xor ecx, ecx
mov byte [ebp - 0xe], 0x7d
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0xc], 0x6a
mov byte [ebp - 0xb], 0x76
mov byte [ebp - 0xa], 0x43
mov byte [ebp - 9], 0x38
mov byte [ebp - 8], 0x38
mov byte [ebp - 7], 0x7b
mov byte [ebp - 6], 0x7e
mov byte [ebp - 5], 0x77
mov byte [ebp - 4], 0x38
mov byte [ebp - 3], 0x2e
mov byte [ebp - 2], 0x6d
mov byte [ebp - 1], cl
mov al, byte [ebp - 0xf]
sub byte [ebp + ecx - 0xf], 9
inc ecx
cmp ecx, 0xe
jb 0x10039a1e
mov eax, dword [0x1018d2c0]
push dword [eax + 0x108]
lea eax, [ebp - 0xf]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10039790
add esp, 0x10
xor eax, eax
leave
ret 8

Function at 0x1003aaf0
Capabilities:
Create thread

Disassembly:
mov eax, 0x1008af99
call fcn.10089aec
sub esp, 0xc
push esi
push 0xc
push 0x100d6140
push 0x14b
xor esi, esi
call fcn.10038869
push 4
call fcn.1007a4b1
mov dword [ebp - 0x10], eax
mov dword [eax], 0x1003aad3
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
push ecx
push esi
push eax
push 0x1003ab92
push esi
push esi
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x1c
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1003ab5c
inc esi
mov dword [ebp - 4], esi
cmp dword [ebp - 0x14], 0
je 0x1003ab72
push dword [ebp - 0x14]
push eax
call fcn.10079478
pop ecx
pop ecx
test eax, eax
jne 0x1003ab72
jmp 0x1003ab63
mov dword [ebp - 0x14], esi
push 6
jmp 0x1003ab73
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 8
push esi
call fcn.10079303
int3
Function at 0x1003bb1e
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
xor ecx, ecx
mov al, byte [ecx + 0x1018d670]
mov byte [ecx + 0x1018e160], al
inc ecx
test al, al
jne 0x1003bb26
mov byte [ebp - 9], 0x3b
mov byte [ebp - 8], 0x75
mov byte [ebp - 7], 0x79
mov byte [ebp - 6], 0x6d
mov byte [ebp - 5], 0x73
mov byte [ebp - 4], 0x71
mov byte [ebp - 3], 0x7f
mov byte [ebp - 2], 0x3b
mov byte [ebp - 1], al
mov al, byte [ebp - 9]
xor eax, eax
sub byte [ebp + eax - 9], 0xc
inc eax
cmp eax, 8
jb 0x1003bb5f
push ebx
push esi
lea edx, [ebp - 9]
push edi
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1003bb72
mov ebx, 0x1018e160
sub edx, esi
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003bb83
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp + 8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1003bb9e
sub edx, esi
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003bbaa
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x1003bbe4
mov ecx, ebx
call fcn.100440d1
push ecx
push dword [ebp + 8]
call fcn.1005b01f
test al, al
jne 0x1003bbe4
mov byte [0x1018e160], al
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
Function at 0x1003f10b
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x1008b3d9
call fcn.10089aec
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], vtable.ISteamRemoteStorage004.0
mov dword [edi + 8], vtable.ISteamRemoteStorage005.0
mov dword [edi + 0xc], vtable.ISteamRemoteStorage006.0
mov dword [edi + 0x10], vtable.ISteamRemoteStorage008.0
mov dword [edi + 0x14], vtable.ISteamRemoteStorage010.0
mov dword [edi + 0x18], vtable.ISteamRemoteStorage011.0
mov dword [edi + 0x1c], vtable.ISteamRemoteStorage012.0
mov dword [edi + 0x20], vtable.ISteamRemoteStorage013.0
mov dword [edi + 0x24], vtable.ISteamRemoteStorage014.0
mov dword [edi + 0x28], vtable.ISteamRemoteStorage016.0
mov dword [edi], vtable.IMySteamRemoteStorage.7.0
mov dword [edi + 4], vtable.IMySteamRemoteStorage.6.0
mov dword [edi + 8], vtable.IMySteamRemoteStorage.5.0
mov dword [edi + 0xc], vtable.IMySteamRemoteStorage.10.0
mov dword [edi + 0x10], vtable.IMySteamRemoteStorage.2.0
mov dword [edi + 0x14], vtable.IMySteamRemoteStorage.8.0
mov dword [edi + 0x18], vtable.IMySteamRemoteStorage.0
mov dword [edi + 0x1c], vtable.IMySteamRemoteStorage.3.0
mov dword [edi + 0x20], vtable.IMySteamRemoteStorage.9.0
mov dword [edi + 0x24], vtable.IMySteamRemoteStorage.4.0
mov dword [edi + 0x28], vtable.IMySteamRemoteStorage.1.0
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [ebp - 4], ebx
lea esi, [edi + 0x38]
mov dword [ebp - 0x14], esi
and dword [esi], ebx
push 0x24
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.1007a4b1
pop ecx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov byte [ebp - 4], 2
push dword [esi + 4]
mov dword [esi + 0x18], 7
push 0x10
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
call fcn.1000b3db
lea ecx, [edi + 0x58]
call fcn.1003f254
push ebx
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.1003ee00
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret