joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006dd7f
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov ebp, edx
push ebp
xor ebx, ebx
mov esi, ecx
push ebx
push edi
call sub.msvcrt.dll_memset
mov ecx, dword [esp + 0x20]
mov edx, ebp
movzx eax, cl
add esp, 0xc
imul eax, eax, 0xd
imul edx, ecx
mov cl, al
mov dword [esp + 0x14], eax
add edx, esi
xor cl, 0x6e
test ebp, ebp
jle 0x1006ddcf
sub edi, edx
mov al, byte [edx]
xor al, cl
mov byte [edx + edi], al
mov al, byte [edx]
add al, byte [esp + 0x14]
add al, bl
add cl, al
inc ebx
inc edx
cmp ebx, ebp
jl 0x1006ddb8
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x10070a5d
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edx, ecx
mov ebx, 0x101915f8
push 8
xor eax, eax
mov edi, ebx
pop ecx
rep stosd dword es:[edi], eax
mov edi, ebx
lea esi, [edx + 0x101731f0]
sub edi, edx
mov cl, byte [esi]
xor cl, dl
xor cl, 0x6e
mov byte [edi + edx], cl
inc edx
inc esi
test cl, cl
jne 0x10070a7a
pop edi
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x100725ea
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 4
jb 0x10072655
push edi
mov edi, esi
shr edi, 2
movzx eax, byte [edx]
sub esi, 4
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100abfa8]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100abfa8]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100abfa8]
movzx eax, byte [edx + 3]
add edx, 4
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100abfa8]
sub edi, 1
jne 0x100725fe
pop edi
test esi, esi
je 0x10072671
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100abfa8]
inc edx
sub esi, 1
jne 0x10072659
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x100789c4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x45c
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
jne 0x100789e3
or eax, 0xffffffff
jmp 0x10078ad1
cmp dword [esi + 0x14], 1
je 0x100789f1
push 0xfffffffffffffffc
pop eax
jmp 0x10078ad1
cmp edi, dword [esi + 0x10]
jb 0x100789fa
push 0xfffffffffffffff6
jmp 0x100789eb
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
add eax, dword [ecx]
jne 0x10078a0b
push 0xfffffffffffffff5
jmp 0x100789eb
movzx ebx, word [eax + 0x1c]
add eax, 0x2e
cmp dword [esi + 0x5c], 0
mov dword [esp + 0xc], eax
je 0x10078a2e
push dword [esi + 0x5c]
call dword [sym.imp.msvcrt.dll_free]
and dword [esi + 0x5c], 0
mov eax, dword [esp + 0x10]
pop ecx
push ecx
push ecx
mov edx, ebx
mov ecx, eax
call fcn.10078512
mov dword [esi + 0x5c], eax
pop ecx
pop ecx
test eax, eax
jne 0x10078a46
push 0xfffffffffffffffe
jmp 0x100789eb
lea eax, [esp + 0x10]
mov edx, edi
push eax
mov ecx, esi
call fcn.100784e2
pop ecx
test eax, eax
jne 0x10078a5d
push 0xfffffffffffffffd
jmp 0x100789eb
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x68], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x78], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 0x6c], ecx
mov ecx, dword [esp + 0x44]
mov dword [esi + 0xa0], eax
mov ax, word [esp + 0x26]
mov dword [esi + 0x64], ecx
mov ecx, dword [esp + 0x1c]
mov word [esi + 0xa8], ax
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x7c], ecx
mov ecx, dword [esp + 0x54]
mov dword [esi + 0x4e008], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0xa4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x4e010], eax
xor eax, eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x4e014], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1007b9a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x100d6040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1007b9c7
mov ecx, 5
int 0x29
push 2
call fcn.1007b316
push 0x50
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x2cc
lea eax, [ebp - 0x2d0]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x320]
add esp, 0x1c
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x218], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x2d0], 0x10001
mov eax, dword [eax - 4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x320], 0xc0000417
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x1007bad2
test esi, esi
jne 0x1007bad2
push 2
call fcn.1007b316
add esp, 4
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1007add6
mov esp, ebp
pop ebp
ret
Function at 0x10084450
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x100d6040]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
push 0x1008f388
push edi
mov dword [ebp - 0x210], edi
call sub.msvcrt.dll_wcspbrk
add esp, 8
test eax, eax
jne 0x10084490
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007add6
mov esp, ebp
pop ebp
ret
push ebx
push esi
xor esi, esi
call sub.msvcrt.dll__errno
mov ebx, dword [eax]
call sub.msvcrt.dll__errno
push 0x104
push edi
mov dword [eax], esi
lea eax, [ebp - 0x20c]
push eax
call sub.msvcrt.dll__wfullpath
add esp, 0xc
mov edi, eax
call sub.msvcrt.dll__errno
test edi, edi
je 0x100844cc
mov dword [eax], ebx
mov ebx, dword [ebp - 0x210]
jmp 0x100844fb
cmp dword [eax], 0x22
jne 0x1008460a
call sub.msvcrt.dll__errno
push 0
mov dword [eax], ebx
mov ebx, dword [ebp - 0x210]
push ebx
push 0
call sub.msvcrt.dll__wfullpath
mov esi, eax
add esp, 0xc
mov edi, esi
test edi, edi
je 0x1008460a
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10084500
sub ecx, edx
sar ecx, 1
cmp ecx, 3
je 0x100845e2
mov ecx, edi
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10084520
sub ecx, edx
sar ecx, 1
cmp ecx, 5
jb 0x1008460a
movzx eax, word [edi]
cmp eax, 0x5c
je 0x10084549
cmp eax, 0x2f
jne 0x1008460a
movzx eax, word [edi + 2]
cmp eax, 0x5c
je 0x1008455b
cmp eax, 0x2f
jne 0x1008460a
movzx eax, word [edi + 4]
cmp eax, 0x5c
je 0x1008460a
cmp eax, 0x2f
je 0x1008460a
movzx eax, word [edi + 6]
lea edx, [edi + 6]
mov edi, eax
test ax, ax
je 0x100845a2
mov ecx, eax
cmp cx, 0x5c
je 0x1008459f
cmp cx, 0x2f
je 0x1008459f
movzx eax, word [edx + 2]
add edx, 2
mov ecx, eax
mov edi, eax
test ax, ax
jne 0x10084581
jmp 0x100845a2
movzx edi, cx
test di, di
je 0x1008460a
movzx eax, word [edx + 2]
add edx, 2
mov ecx, eax
test ax, ax
je 0x1008460a
cmp cx, 0x5c
je 0x100845d3
cmp cx, 0x2f
je 0x100845d3
movzx eax, word [edx + 2]
add edx, 2
mov ecx, eax
mov edi, eax
test ax, ax
jne 0x100845b5
jmp 0x100845d6
movzx edi, cx
test di, di
je 0x100845e2
cmp word [edx + 2], 0
jne 0x1008460a
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push esi
cmp eax, 1
jbe 0x1008460b
call sub.msvcrt.dll_free
add esp, 4
mov al, 1
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007add6
mov esp, ebp
pop ebp
ret
push esi
call sub.msvcrt.dll_free
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor al, al
pop esi
pop ebx
pop edi
call fcn.1007add6
mov esp, ebp
pop ebp
ret
Function at 0x100847d0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10084978
push esi
xor esi, esi
push dword [edi + esi*4]
call sub.msvcrt.dll_free
inc esi
add esp, 4
cmp esi, 7
jne 0x100847e2
push ebx
lea esi, [edi + 0x1c]
mov ebx, 7
lea esp, [esp]
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x10084800
lea esi, [edi + 0x38]
mov ebx, 0xc
lea ebx, [ebx]
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x10084820
lea esi, [edi + 0x68]
mov ebx, 0xc
lea ebx, [ebx]
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x10084840
lea esi, [edi + 0x98]
mov ebx, 2
lea ecx, [ecx]
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x10084860
push dword [edi + 0xa0]
call sub.msvcrt.dll_free
push dword [edi + 0xa4]
call sub.msvcrt.dll_free
push dword [edi + 0xa8]
call sub.msvcrt.dll_free
mov eax, dword fs:[0x18]
add esp, 0xc
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0xa4]
shl ecx, 0x10
or ecx, dword [eax + 0xa8]
cmp ecx, 0x60001
jb 0x10084976
lea esi, [edi + 0xb8]
mov ebx, 7
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x100848c5
lea esi, [edi + 0xd4]
mov ebx, 7
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x100848e2
lea esi, [edi + 0xf0]
mov ebx, 0xc
nop
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x10084900
lea esi, [edi + 0x120]
mov ebx, 0xc
lea ecx, [ecx]
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x10084920
lea esi, [edi + 0x150]
mov ebx, 2
lea ecx, [ecx]
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x10084940
push dword [edi + 0x158]
call sub.msvcrt.dll_free
push dword [edi + 0x15c]
call sub.msvcrt.dll_free
push dword [edi + 0x160]
call sub.msvcrt.dll_free
add esp, 0xc
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x10084980
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10084b12
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x100849aa
call fcn.10084770
test al, al
jne 0x100849aa
push dword [esi + 0xc]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x100849c5
call fcn.10084770
test al, al
jne 0x100849c5
push dword [esi + 0x10]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x100849e0
call fcn.10084770
test al, al
jne 0x100849e0
push dword [esi + 0x14]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x100849fb
call fcn.10084770
test al, al
jne 0x100849fb
push dword [esi + 0x18]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x10084a16
call fcn.10084770
test al, al
jne 0x10084a16
push dword [esi + 0x1c]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10084a31
call fcn.10084770
test al, al
jne 0x10084a31
push dword [esi + 0x20]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x10084a4c
call fcn.10084770
test al, al
jne 0x10084a4c
push dword [esi + 0x24]
call sub.msvcrt.dll_free
add esp, 4
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0xa4]
shl ecx, 0x10
or ecx, dword [eax + 0xa8]
cmp ecx, 0x60001
jb 0x10084b12
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x10084a8b
call fcn.10084770
test al, al
jne 0x10084a8b
push dword [esi + 0x38]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x10084aa6
call fcn.10084770
test al, al
jne 0x10084aa6
push dword [esi + 0x3c]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x10084ac1
call fcn.10084770
test al, al
jne 0x10084ac1
push dword [esi + 0x40]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x10084adc
call fcn.10084770
test al, al
jne 0x10084adc
push dword [esi + 0x44]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x10084af7
call fcn.10084770
test al, al
jne 0x10084af7
push dword [esi + 0x48]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x10084b12
call fcn.10084770
test al, al
jne 0x10084b12
push dword [esi + 0x4c]
call sub.msvcrt.dll_free
add esp, 4
pop esi
pop ebp
ret
Function at 0x10084b20
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0xbc]
test ecx, ecx
je 0x10084c9d
mov eax, dword [edi + 0xb0]
test eax, eax
je 0x10084c9d
cmp dword [eax], 0
jne 0x10084c9d
call fcn.10084770
test al, al
jne 0x10084c9d
mov ecx, dword [edi + 0xb0]
call fcn.10084770
test al, al
jne 0x10084c9d
mov ecx, dword [edi + 0xb8]
test ecx, ecx
je 0x10084b9f
cmp dword [ecx], 0
jne 0x10084b9f
call fcn.10084770
test al, al
jne 0x10084b9f
push dword [edi + 0xb8]
call sub.msvcrt.dll_free
push dword [edi + 0xbc]
call fcn.10084980
add esp, 8
mov ecx, dword [edi + 0xb4]
test ecx, ecx
je 0x10084c84
cmp dword [ecx], 0
jne 0x10084c84
call fcn.10084770
test al, al
jne 0x10084c84
push dword [edi + 0xb4]
call sub.msvcrt.dll_free
mov esi, dword [edi + 0xbc]
add esp, 4
test esi, esi
je 0x10084c84
mov ecx, dword [esi]
test ecx, ecx
je 0x10084bf8
call fcn.10084770
test al, al
jne 0x10084bf8
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x10084c13
call fcn.10084770
test al, al
jne 0x10084c13
push dword [esi + 4]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10084c2e
call fcn.10084770
test al, al
jne 0x10084c2e
push dword [esi + 8]
call sub.msvcrt.dll_free
add esp, 4
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0xa4]
shl ecx, 0x10
or ecx, dword [eax + 0xa8]
cmp ecx, 0x60001
jb 0x10084c84
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x10084c69
call fcn.10084770
test al, al
jne 0x10084c69
push dword [esi + 0x30]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x10084c84
call fcn.10084770
test al, al
jne 0x10084c84
push dword [esi + 0x34]
call sub.msvcrt.dll_free
add esp, 4
push dword [edi + 0xb0]
call sub.msvcrt.dll_free
push dword [edi + 0xbc]
call sub.msvcrt.dll_free
add esp, 8
mov ecx, dword [edi + 0xc0]
test ecx, ecx
je 0x10084d03
cmp dword [ecx], 0
jne 0x10084d03
call fcn.10084770
test al, al
jne 0x10084d03
mov eax, dword [edi + 0xc4]
sub eax, 0xfe
push eax
call sub.msvcrt.dll_free
mov eax, dword [edi + 0xcc]
add esp, 4
sub eax, 0x80
je 0x10084cdf
push eax
call sub.msvcrt.dll_free
add esp, 4
mov eax, dword [edi + 0xd0]
sub eax, 0x80
je 0x10084cf5
push eax
call sub.msvcrt.dll_free
add esp, 4
push dword [edi + 0xc0]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [edi + 0xd4]
test ecx, ecx
je 0x10084d38
cmp dword [ecx + 0xb4], 0
jne 0x10084d38
call fcn.10084770
test al, al
jne 0x10084d38
push dword [edi + 0xd4]
call fcn.100847d0
push dword [edi + 0xd4]
call sub.msvcrt.dll_free
add esp, 8
lea esi, [edi + 0x48]
lea ebx, [edi + 0xa8]
cmp esi, ebx
je 0x10084d7c
mov ecx, dword [esi]
test ecx, ecx
je 0x10084d50
call fcn.10084770
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x10084d75
call fcn.10084770
test al, al
jne 0x10084d75
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10084d75
cmp dword [eax], 0
jne 0x10084d75
push eax
call sub.msvcrt.dll_free
add esp, 4
add esi, 0x10
cmp esi, ebx
jne 0x10084d45
push edi
call sub.msvcrt.dll_free
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10084e40
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50c
mov eax, dword [0x100d6040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1018d254]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x508], ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
test eax, eax
jne 0x10084e8e
push str._create_locale
call fcn.10086c80
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x508]
test eax, eax
jne 0x10084e89
or eax, 0xffffffff
mov dword [0x1018d254], eax
lea edi, [eax + 1]
neg edi
sbb edi, edi
and edi, eax
je 0x10084fae
test esi, esi
je 0x10084ecf
push 0x2d
push esi
call sub.msvcrt.dll_strchr
add esp, 8
test eax, eax
je 0x10084ecf
xor ecx, ecx
mov al, byte [esi + ecx]
lea edx, [ecx + ecx]
test al, al
je 0x10084eec
cbw
inc ecx
mov word [ebp + edx - 0x204], ax
cmp ecx, 0x100
jne 0x10084eb2
push esi
push dword [ebp - 0x508]
call edi
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007add6
mov esp, ebp
pop ebp
ret
cmp edx, 0x200
jae 0x10085077
xor eax, eax
mov word [ebp + edx - 0x204], ax
lea eax, [ebp - 0x204]
push 0x2d
push eax
call sub.msvcrt.dll_wcsrchr
add esp, 8
test eax, eax
je 0x10084ecf
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
lea eax, [ebp - 0x504]
push 0xff
push eax
push 0x1001
lea eax, [ebp - 0x204]
push eax
call ebx
test eax, eax
je 0x10084ecf
lea edx, [ebp - 0x504]
mov ecx, 0x5f
lea edx, [edx + eax*2]
mov word [edx - 2], cx
mov ecx, 0x100
sub ecx, eax
lea eax, [ebp - 0x204]
push ecx
push edx
push 0x1002
push eax
call ebx
test eax, eax
je 0x10084ecf
lea ebx, [ebp - 0x504]
xor eax, eax
jmp 0x10084f80
movzx ecx, word [ebx + eax*2]
lea edx, [ebp - 0x304]
test cx, cx
je 0x10084f9f
mov byte [edx + eax], cl
inc eax
cmp eax, 0x100
jne 0x10084f80
jmp 0x10084ecf
mov byte [edx + eax], 0
lea esi, [ebp - 0x304]
jmp 0x10084ecf
cmp ecx, 5
ja 0x10085057
test esi, esi
je 0x10085057
call fcn.100851e0
mov edi, eax
test edi, edi
je 0x10085062
call fcn.1007b790
mov ebx, eax
push esi
push dword [ebp - 0x508]
mov eax, dword [ebx + 0x70]
mov dword [ebp - 0x50c], eax
or eax, 2
mov dword [ebx + 0x70], eax
call fcn.100852f0
add esp, 8
test eax, eax
je 0x10085012
mov eax, dword [ebx + 0x6c]
push dword [eax + 4]
call sub.msvcrt.dll__setmbcp
add esp, 4
test eax, eax
jne 0x10085012
call fcn.100851e0
mov esi, eax
jmp 0x10085014
xor esi, esi
mov eax, dword [ebp - 0x50c]
mov ecx, dword [ebx + 0x6c]
mov dword [ebx + 0x70], eax
mov eax, dword [edi]
cmp eax, ecx
je 0x1008502b
mov dword [edi], ecx
mov dword [ebx + 0x6c], eax
mov eax, dword [edi + 4]
mov ecx, dword [ebx + 0x68]
cmp eax, ecx
je 0x1008503b
mov dword [edi + 4], ecx
mov dword [ebx + 0x68], eax
push edi
call fcn.10085080
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007add6
mov esp, ebp
pop ebp
ret
call sub.msvcrt.dll__errno
mov dword [eax], 0x16
mov ecx, dword [ebp - 4]
xor esi, esi
pop edi
mov eax, esi
xor ecx, ebp
pop esi
pop ebx
call fcn.1007add6
mov esp, ebp
pop ebp
ret
call fcn.1007b56b
int3
Function at 0x100852f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x504
mov eax, dword [0x100d6040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x100853eb
push 0x2d
push esi
call sub.msvcrt.dll_strchr
add esp, 8
test eax, eax
je 0x100853eb
xor ecx, ecx
mov al, byte [ecx + esi]
lea edx, [ecx + ecx]
test al, al
je 0x1008534a
cbw
inc ecx
mov word [ebp + edx - 0x204], ax
cmp ecx, 0x100
jne 0x10085328
jmp 0x100853eb
cmp edx, 0x200
jae 0x10085451
xor eax, eax
mov word [ebp + edx - 0x204], ax
lea eax, [ebp - 0x204]
push 0x2d
push eax
call sub.msvcrt.dll_wcsrchr
add esp, 8
test eax, eax
je 0x100853eb
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
lea eax, [ebp - 0x504]
push 0xff
push eax
push 0x1001
lea eax, [ebp - 0x204]
push eax
call edi
test eax, eax
je 0x100853ea
lea edx, [ebp - 0x504]
mov ecx, 0x5f
lea edx, [edx + eax*2]
mov word [edx - 2], cx
mov ecx, 0x100
sub ecx, eax
lea eax, [ebp - 0x204]
push ecx
push edx
push 0x1002
push eax
call edi
test eax, eax
je 0x100853ea
lea edi, [ebp - 0x504]
xor eax, eax
nop
movzx ecx, word [edi + eax*2]
lea edx, [ebp - 0x304]
test cx, cx
je 0x10085433
mov byte [edx + eax], cl
inc eax
cmp eax, 0x100
jne 0x100853d0
pop edi
mov eax, dword [0x1018d25c]
test eax, eax
jne 0x10085411
push str.setlocale
call fcn.10086c80
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1008540c
or eax, 0xffffffff
mov dword [0x1018d25c], eax
lea ecx, [eax + 1]
neg ecx
sbb ecx, ecx
and ecx, eax
je 0x1008543f
push esi
push ebx
call ecx
add esp, 8
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007add6
mov esp, ebp
pop ebp
ret
mov byte [edx + eax], 0
lea esi, [ebp - 0x304]
jmp 0x100853ea
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.1007add6
mov esp, ebp
pop ebp
ret
call fcn.1007b56b
int3
Function at 0x10085ad0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call sym.steam_api.dll_SteamAPI_ISteamController_GetControllerState
mov esi, dword [ebp + 8]
test al, al
je 0x10085aee
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.10085b00
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10041536
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x10041545
pop dword [ebp - 0x34]
mov eax, 0x92f0ddda
add eax, 0x7d13376b
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0xb4c70f97
sub dword [ebp - 0x44], 0x6674ca4c
mov dword [ebp - 0x40], 0xddd5a9f
sub dword [ebp - 0x40], 0xdbaa0e5a
mov dword [ebp - 0x3c], 0x9bf40137
add dword [ebp - 0x3c], 0xb05842f7
mov dword [ebp - 0x38], 0x4ef350e3
add dword [ebp - 0x38], 0xb10caf1d
lea eax, [ebp - 0x44]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x2736c24c
add dword [ebp - 0x44], 0x4d3ba70a
mov dword [ebp - 0x40], 0x11d65fba
add dword [ebp - 0x40], 0x2f9601bb
mov dword [ebp - 0x3c], 0xbbe96693
add dword [ebp - 0x3c], 0xa78605d9
mov dword [ebp - 0x38], 0x9b2ba5d5
add dword [ebp - 0x38], 0x64d45a2b
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x5895f
push 0
call eax
mov ecx, 0xadb58759
sub ecx, 0xadb534ed
xor edi, edi
add edi, eax
mov ebx, 0x1008bc00
add ebx, dword [ebp - 0x34]
mov edx, 0x56e78687
mov dword [ebp - 0x2c], 0xf13b5ce8
mov esi, dword [ebx]
xor dword [ebp - 0x28], 0x2be5bf4
sub esi, edx
sub dword [ebp - 4], 0x613c2b46
mov dword [edi], esi
add edi, 0x43fc08e0
sub edi, 0x43fc08dc
add ebx, 0x7da1ba21
sub ebx, 0x7da1ba1d
loop 0x10041653
add eax, 0x652b8b1b
add eax, 0x9ad5b168
xor ebx, ebx
add ebx, eax
add eax, 0x524336e
sub eax, 0x5243369
mov ecx, 0x16a245f4
add ecx, 0xf95dba0c
add ecx, dword [ebp - 0x34]
call ebx
leave
ret