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

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48d73e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48d75c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048d676
jmp 0x48d75c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48d75c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048d676
test edi, edi
mov eax, edi
jne 0x48d746
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

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

Disassembly:
pushal
nop
mov eax, section..3ean
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x431072
nop
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0x6a758bc
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x431060
nop
nop
nop
nop
nop
mov eax, section..7LWLf
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4310d2
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x551b4033
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x1000d992
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov byte [esp + 0x10], 0x3d
mov byte [esp + 0x11], 0x3a
mov byte [esp + 0x12], 0x34
mov byte [esp + 0x13], 0x34
mov byte [esp + 0x14], 0x48
mov byte [esp + 0x15], 0x39
mov byte [esp + 0x16], 0x3b
mov byte [esp + 0x17], 0x37
push ebx
mov byte [esp + 0x1c], 0x3e
xor ebx, ebx
mov byte [esp + 0x1d], 0x3e
push esi
mov byte [esp + 0x22], 0x3b
push edi
mov byte [esp + 0x27], 0x4a
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], 6
inc eax
cmp eax, ecx
jb 0x1000d9eb
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 0x1000da43
lea eax, [esp + 0x29]
mov dword [esp + 0x18], eax
mov byte [esp + 0x36], 0x38
mov byte [esp + 0x37], 0x34
mov byte [esp + 0x38], 0x49
mov byte [esp + 0x39], 0x49
mov byte [esp + 0x3a], 0x3a
mov byte [esp + 0x3b], 0x38
mov byte [esp + 0x3c], 0x33
mov byte [esp + 0x3d], 0x3b
mov byte [esp + 0x3e], 0x49
mov byte [esp + 0x3f], 0x49
mov byte [esp + 0x40], 0x67
mov byte [esp + 0x41], 0x33
mov byte [esp + 0x42], bl
mov al, byte [esp + 0x36]
mov eax, ebx
sub byte [esp + eax + 0x36], 3
inc eax
cmp eax, ecx
jb 0x1000da9b
mov dword [esp + 0x54], 0x1000d789
lea eax, [esp + 0x36]
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], ebx
mov byte [esp + 0x43], 0x4b
mov byte [esp + 0x44], 0x4b
mov byte [esp + 0x45], 0x3e
mov byte [esp + 0x46], 0x3a
mov byte [esp + 0x47], 0x36
mov byte [esp + 0x48], 0x3d
mov byte [esp + 0x49], 0x4b
mov byte [esp + 0x4a], 0x49
mov byte [esp + 0x4b], 0x4b
mov byte [esp + 0x4c], 0x4b
mov byte [esp + 0x4d], 0x4b
mov byte [esp + 0x4e], 0x4b
mov byte [esp + 0x4f], bl
mov al, byte [esp + 0x43]
mov eax, ebx
sub byte [esp + eax + 0x43], 5
inc eax
cmp eax, ecx
jb 0x1000daff
lea eax, [esp + 0x43]
mov dword [esp + 0x60], 0x1000d88c
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.1005c558
test eax, eax
jne 0x1000db3b
inc esi
cmp esi, 2
jb 0x1000db1f
jmp 0x1000db4e
push 1
lea edx, [esp + 0x14]
mov byte [esp + 0x14], 0xeb
mov ecx, eax
call fcn.1005bcfe
pop ecx
lea esi, [esp + 0x50]
push ecx
push dword [esi]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1005c558
mov ecx, eax
test ecx, ecx
jne 0x1000db71
inc ebx
add esi, 0xc
cmp ebx, 2
jb 0x1000db52
jmp 0x1000db80
imul eax, ebx, 0xc
push dword [esp + eax + 0x54]
push ecx
mov ecx, edi
call fcn.1005b135
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1000e165
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
push ebx
push esi
mov esi, dword [0x1018328c]
xor ebx, ebx
mov byte [esp + 0x22], 0x45
mov byte [esp + 0x23], 0x74
mov byte [esp + 0x24], 0x67
mov byte [esp + 0x25], 0x63
mov byte [esp + 0x26], 0x76
mov byte [esp + 0x27], 0x67
mov byte [esp + 0x28], 0x52
mov byte [esp + 0x29], 0x74
mov byte [esp + 0x2a], 0x71
mov byte [esp + 0x2b], 0x65
mov byte [esp + 0x2c], 0x67
mov byte [esp + 0x2d], 0x75
mov byte [esp + 0x2e], 0x75
mov byte [esp + 0x2f], 0x43
mov byte [esp + 0x30], bl
mov al, byte [esp + 0x22]
mov eax, ebx
sub byte [esp + eax + 0x22], 2
inc eax
cmp eax, 0xe
jb 0x1000e1c8
mov byte [esp + 0x10], 0x78
mov byte [esp + 0x11], 0x72
mov byte [esp + 0x12], 0x7f
mov byte [esp + 0x13], 0x7b
mov byte [esp + 0x14], 0x72
mov byte [esp + 0x15], 0x79
mov byte [esp + 0x16], 0x40
mov byte [esp + 0x17], 0x3f
mov byte [esp + 0x18], bl
mov al, byte [esp + 0x10]
mov eax, ebx
sub byte [esp + eax + 0x10], 0xd
inc eax
cmp eax, 8
jb 0x1000e205
push 1
push 0xa
push 0x1000df5f
push ecx
lea eax, [esp + 0x32]
mov ecx, esi
push eax
lea eax, [esp + 0x24]
push eax
call fcn.1005c53f
pop ecx
push eax
mov ecx, esi
call fcn.1005b20a
mov byte [esp + 0x31], 0x4c
mov byte [esp + 0x32], 0x7b
mov byte [esp + 0x33], 0x6e
mov byte [esp + 0x34], 0x6a
mov byte [esp + 0x35], 0x7d
mov byte [esp + 0x36], 0x6e
mov byte [esp + 0x37], 0x59
mov byte [esp + 0x38], 0x7b
mov byte [esp + 0x39], 0x78
mov byte [esp + 0x3a], 0x6c
mov byte [esp + 0x3b], 0x6e
mov byte [esp + 0x3c], 0x7c
mov byte [esp + 0x3d], 0x7c
mov byte [esp + 0x3e], 0x60
mov byte [esp + 0x3f], bl
mov al, byte [esp + 0x31]
mov eax, ebx
sub byte [esp + eax + 0x31], 9
inc eax
cmp eax, 0xe
jb 0x1000e284
mov byte [esp + 0x19], 0x76
mov byte [esp + 0x1a], 0x70
mov byte [esp + 0x1b], 0x7d
mov byte [esp + 0x1c], 0x79
mov byte [esp + 0x1d], 0x70
mov byte [esp + 0x1e], 0x77
mov byte [esp + 0x1f], 0x3e
mov byte [esp + 0x20], 0x3d
mov byte [esp + 0x21], bl
mov al, byte [esp + 0x19]
sub byte [esp + ebx + 0x19], 0xb
inc ebx
cmp ebx, 8
jb 0x1000e2bf
push 1
push 0xa
push 0x1000dfe8
push ecx
lea eax, [esp + 0x41]
mov ecx, esi
push eax
lea eax, [esp + 0x2d]
push eax
call fcn.1005c53f
pop ecx
push eax
mov ecx, esi
call fcn.1005b20a
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000e2f4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [0x1018328c]
xor ecx, ecx
mov byte [ebp - 0xf], 0x7b
mov byte [ebp - 0xe], 0x6c
mov byte [ebp - 0xd], 0x75
mov byte [ebp - 0xc], 0x76
mov byte [ebp - 0xb], 0x72
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 9], 0x35
mov byte [ebp - 8], 0x6b
mov byte [ebp - 7], 0x73
mov byte [ebp - 6], 0x73
mov byte [ebp - 5], cl
mov al, byte [ebp - 0xf]
sub byte [ebp + ecx - 0xf], 7
inc ecx
cmp ecx, 0xa
jb 0x1000e331
lea eax, [ebp - 0xf]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 0x54], eax
pop esi
leave
ret
Function at 0x10013172
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [0x10183298], 0
jne 0x10013241
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 0x100131d8
lea eax, [ebp - 0x1e]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1018329c], eax
mov byte [ebp - 0xb], 0x4f
mov byte [ebp - 0xa], 0x3e
mov byte [ebp - 9], 0x4f
mov byte [ebp - 8], 0x4e
mov byte [ebp - 7], 0x7a
mov byte [ebp - 6], 0x78
mov byte [ebp - 5], 0x7b
mov byte [ebp - 4], 0x74
mov byte [ebp - 3], 0x77
mov byte [ebp - 2], 0x70
mov byte [ebp - 1], bl
mov al, byte [ebp - 0xb]
sub byte [ebp + ebx - 0xb], 0xb
inc ebx
cmp ebx, 0xa
jb 0x10013220
pop ebx
lea eax, [ebp - 0xb]
push eax
push dword [0x1018329c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10183298], eax
leave
ret
Function at 0x10019927
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10089940
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x30]
test edi, edi
je 0x10019958
mov ecx, edi
call fcn.1001970e
mov ecx, edi
call fcn.1001ccbc
mov edi, dword [esi + 0x34]
test edi, edi
je 0x1001996d
mov ecx, edi
call fcn.1001970e
mov ecx, edi
call fcn.1001ccbc
and dword [ebp - 4], 0
lea eax, [esi + 0x64]
push 0x1001779a
push 2
push 0xc
push eax
call fcn.10078ee0
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x1001ae39
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 + 0x10091900]
inc edi
sub esi, 1
jne 0x1001ae47
pop edi
not edx
pop esi
mov eax, edx
pop ebp
ret

Function at 0x1001ae67
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 0x1001aecb
mov al, byte [esi]
dec edi
inc esi
cmp al, 0x23
jne 0x1001ae93
cmp edi, 2
jb 0x1001ae93
cmp byte [esi], al
jne 0x1001ae93
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 + 0x10091900]
test edi, edi
jne 0x1001ae7c
jmp 0x1001aed2
cmp al, 0x23
jne 0x1001aeb9
cmp byte [esi], al
jne 0x1001aeb9
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 + 0x10091900]
mov al, byte [esi]
inc esi
test al, al
jne 0x1001aeab
pop edi
not edx
pop esi
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x1001aff4
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 0x1001b004
and dword [ebx], 0
call fcn.1001aedb
mov esi, eax
test esi, esi
je 0x1001b065
mov ecx, esi
call fcn.1001af98
mov edi, eax
cmp edi, 0xffffffff
je 0x1001b05e
mov ecx, edi
call fcn.1001cca4
mov dword [ebp + 8], eax
test eax, eax
je 0x1001b05e
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 0x1001b04e
call fcn.1001af89
mov ecx, dword [ebp + 8]
call fcn.1001ccbc
jmp 0x1001b065
call fcn.1001af89
test ebx, ebx
je 0x1001b059
mov dword [ebx], edi
mov eax, dword [ebp + 8]
jmp 0x1001b067
mov ecx, esi
call fcn.1001af89
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10038fc1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 0xf], 0x7d
xor ecx, ecx
mov byte [ebp - 0xe], 0x7e
mov byte [ebp - 0xd], 0x6f
mov byte [ebp - 0xc], 0x6b
mov byte [ebp - 0xb], 0x77
mov byte [ebp - 0xa], 0x44
mov byte [ebp - 9], 0x39
mov byte [ebp - 8], 0x39
mov byte [ebp - 7], 0x7c
mov byte [ebp - 6], 0x7f
mov byte [ebp - 5], 0x78
mov byte [ebp - 4], 0x39
mov byte [ebp - 3], 0x2f
mov byte [ebp - 2], 0x6e
mov byte [ebp - 1], cl
mov al, byte [ebp - 0xf]
sub byte [ebp + ecx - 0xf], 0xa
inc ecx
cmp ecx, 0xe
jb 0x10039007
mov eax, dword [0x10183288]
push dword [eax + 0xc8]
lea eax, [ebp - 0xf]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10038d80
add esp, 0x10
xor eax, eax
leave
ret 8

Function at 0x1003a119
Capabilities:
Create thread

Disassembly:
mov eax, 0x100899ff
call fcn.100884fc
sub esp, 0xc
push esi
push 0xc
push 0x100cc140
push 0x14b
xor esi, esi
call fcn.10037dd1
push 4
call fcn.10078eb0
mov dword [ebp - 0x10], eax
mov dword [eax], 0x1003a0fc
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
push ecx
push esi
push eax
push 0x1003a1bb
push esi
push esi
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x1c
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1003a185
inc esi
mov dword [ebp - 4], esi
cmp dword [ebp - 0x14], 0
je 0x1003a19b
push dword [ebp - 0x14]
push eax
call fcn.10077eaf
pop ecx
pop ecx
test eax, eax
jne 0x1003a19b
jmp 0x1003a18c
mov dword [ebp - 0x14], esi
push 6
jmp 0x1003a19c
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 8
push esi
call fcn.10077d3a
int3

Function at 0x1003ae9a
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
xor ecx, ecx
mov al, byte [ecx + 0x10183638]
mov byte [ecx + 0x10184178], al
inc ecx
test al, al
jne 0x1003aea2
mov byte [ebp - 9], 0x37
mov byte [ebp - 8], 0x71
mov byte [ebp - 7], 0x75
mov byte [ebp - 6], 0x69
mov byte [ebp - 5], 0x6f
mov byte [ebp - 4], 0x6d
mov byte [ebp - 3], 0x7b
mov byte [ebp - 2], 0x37
mov byte [ebp - 1], al
mov al, byte [ebp - 9]
xor eax, eax
sub byte [ebp + eax - 9], 8
inc eax
cmp eax, 8
jb 0x1003aedb
push ebx
push esi
lea edx, [ebp - 9]
push edi
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1003aeee
mov ebx, 0x10184178
sub edx, esi
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003aeff
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 0x1003af1a
sub edx, esi
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003af26
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 0x1003af60
mov ecx, ebx
call fcn.1004363d
push ecx
push dword [ebp + 8]
call fcn.1005a296
test al, al
jne 0x1003af60
mov byte [0x10184178], al
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
Function at 0x1003be5f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
push ebx
push esi
push edi
mov edi, dword [0x10183288]
xor ebx, ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], ebx
mov edi, dword [edi + 0x1f0]
mov esi, dword [edi]
jmp 0x1003bfe2
mov eax, dword [0x10183288]
cmp byte [eax + 0xe4], 0
jne 0x1003bef8
mov byte [esp + 0x2a], 0x73
mov byte [esp + 0x2b], 0x75
mov byte [esp + 0x2c], 0x72
mov byte [esp + 0x2d], 0x70
mov byte [esp + 0x2e], 0x72
mov byte [esp + 0x2f], 0
mov al, byte [esp + 0x2a]
xor eax, eax
sub byte [esp + eax + 0x2a], 3
inc eax
cmp eax, 5
jb 0x1003beba
lea eax, [esp + 0x2a]
push eax
lea ecx, [esp + 0x4c]
call fcn.1000ae00
lea eax, [esp + 0x48]
or ebx, 1
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x18], ebx
push eax
lea ecx, [esi + 0xc]
call fcn.1003cb09
mov byte [esp + 0x13], 0
mov eax, dword [eax]
cmp eax, dword [esi + 0x10]
je 0x1003befd
mov byte [esp + 0x13], 1
test bl, 1
je 0x1003bf12
and ebx, 0xfffffffe
lea ecx, [esp + 0x48]
mov dword [esp + 0x14], ebx
call fcn.1000b185
cmp byte [esp + 0x13], 0
je 0x1003bfe0
mov byte [esp + 0x3b], 0x73
mov byte [esp + 0x3c], 0x7e
mov byte [esp + 0x3d], 0x6f
mov byte [esp + 0x3e], 0x77
mov byte [esp + 0x3f], 0x69
mov byte [esp + 0x40], 0x7b
mov byte [esp + 0x41], 0x7f
mov byte [esp + 0x42], 0x6b
mov byte [esp + 0x43], 0x76
mov byte [esp + 0x44], 0x73
mov byte [esp + 0x45], 0x7e
mov byte [esp + 0x46], 0x83
mov byte [esp + 0x47], 0
mov al, byte [esp + 0x3b]
xor eax, eax
sub byte [esp + eax + 0x3b], 0xa
inc eax
cmp eax, 0xc
jb 0x1003bf64
lea eax, [esp + 0x3b]
push eax
lea ecx, [esp + 0x4c]
call fcn.1000ae00
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esi + 0xc]
call fcn.1003cb09
lea ecx, [esp + 0x48]
call fcn.1000b185
mov eax, dword [esp + 0x1c]
lea ecx, [esi + 8]
cmp eax, dword [ecx + 8]
je 0x1003bfe0
add eax, 0x20
mov dword [esp + 0x18], eax
cmp dword [eax + 0x14], 0xf
jbe 0x1003bfb7
mov eax, dword [eax]
mov dword [esp + 0x18], eax
push ecx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x34]
push eax
lea ecx, [ecx + 0x238]
call fcn.1003cc70
push dword [esp + 0x18]
mov ebx, dword [eax]
call dword [sym.imp.msvcrt.dll_atoi]
mov dword [ebx + 0xc], eax
mov ebx, dword [esp + 0x18]
pop ecx
mov esi, dword [esi]
cmp esi, edi
jne 0x1003be88
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003e60a
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x10089e56
call fcn.100884fc
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.10078eb0
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.1000b1b6
lea ecx, [edi + 0x58]
call fcn.1003e753
push ebx
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.1003e2ff
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x10041de2
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10089a0b
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
mov dword [esi], vtable.IMySteamUserStats.4.0
mov dword [esi + 4], vtable.IMySteamUserStats.1.0
mov dword [esi + 8], vtable.IMySteamUserStats.5.0
mov dword [esi + 0xc], vtable.IMySteamUserStats.7.0
mov dword [esi + 0x10], vtable.IMySteamUserStats.6.0
mov dword [esi + 0x14], vtable.IMySteamUserStats.8.0
mov dword [esi + 0x18], vtable.IMySteamUserStats.3.0
mov dword [esi + 0x1c], vtable.IMySteamUserStats.2.0
mov dword [esi + 0x20], vtable.IMySteamUserStats.0
call fcn.10041e72
lea ecx, [esi + 0x50]
call fcn.1000ab1d
lea ecx, [esi + 0x48]
call fcn.1003b009
lea ecx, [esi + 0x30]
call fcn.1000ab1d
lea ecx, [esi + 0x28]
call fcn.1000ac4e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x1004363d
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
lea edx, [ebp - 0x208]
sub esp, 0x208
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x1004364e
push esi
mov esi, dword [sym.imp.msvcrt.dll_strrchr]
lea eax, [ebp - 0x208]
push edi
push 0x5c
push eax
call esi
mov edi, eax
lea eax, [ebp - 0x208]
push 0x2f
push eax
call esi
add esp, 0x10
cmp eax, edi
cmova edi, eax
test edi, edi
je 0x1004371b
lea eax, [ebp - 0x208]
mov byte [edi + 1], 0
push 0x10096a9c
push eax
call dword [sym.imp.msvcrt.dll_strtok]
mov byte [ebp - 0x104], 0
jmp 0x10043713
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x100436a9
lea edi, [ebp - 0x104]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100436b9
mov ecx, edx
lea eax, [ebp - 0x104]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x100436ee
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea edi, [ebp - 0x104]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100436f5
mov ax, word [0x10096aa0]
push 0x10096aa4
push 0
mov word [edi], ax
call dword [sym.imp.msvcrt.dll_strtok]
mov edx, eax
pop ecx
pop ecx
test edx, edx
jne 0x100436a7
pop edi
pop esi
leave
ret
Function at 0x10048f18
Capabilities:
Create thread

Disassembly:
mov eax, 0x1008a259
call fcn.100884fc
push ecx
push ebx
push esi
push edi
push 0x10
mov edi, ecx
call fcn.10078eb0
mov edx, dword [ebp + 0x10]
mov esi, eax
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], esi
mov edx, dword [edx]
mov dword [esi], edx
mov ecx, dword [0x101834a4]
mov dword [esi + 4], ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
xor eax, eax
lea ebx, [edi + 4]
push ebx
push eax
push esi
push 0x10048fa2
push eax
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x1c
mov dword [edi], eax
test eax, eax
je 0x10048f86
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
and dword [ebx], 0
push 6
call fcn.10077d3a
int3
Function at 0x10049b47
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x1008a316
call fcn.100884fc
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.1004adf7
lea edi, [esi + 0x80]
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.1005c092
mov byte [ebp - 4], 1
lea ecx, [esi + 0xd4]
mov dword [esi], vtable.GlRender.0
mov dword [edi], vtable.GlRender.1.0
call fcn.10049f42
mov byte [ebp - 4], 2
mov byte [ebp - 0x1f], 0x7b
mov byte [ebp - 0x1e], 0x6b
mov byte [ebp - 0x1d], 0x70
mov byte [ebp - 0x1c], 0x57
mov byte [ebp - 0x1b], 0x7b
mov byte [ebp - 0x1a], 0x65
mov byte [ebp - 0x19], 0x74
mov byte [ebp - 0x18], 0x46
mov byte [ebp - 0x17], 0x79
mov byte [ebp - 0x16], 0x6a
mov byte [ebp - 0x15], 0x6a
mov byte [ebp - 0x14], 0x69
mov byte [ebp - 0x13], 0x76
mov byte [ebp - 0x12], 0x77
mov byte [ebp - 0x11], bl
mov al, byte [ebp - 0x1f]
sub byte [ebp + ebx - 0x1f], 4
inc ebx
cmp ebx, 0xe
jb 0x10049bd0
lea eax, [ebp - 0x1f]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10049c07
push 1
push 1
push 0x10049aeb
push eax
mov ecx, edi
call fcn.1005b20a
mov dword [0x10183948], esi
mov byte [esi + 4], 1
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4