joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003bed
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x1003c2c0
push ebp
lea ebp, [esp - 0x2c]
sub esp, 0x2c
push 0xffffffffffffffff
push 0x10152f80
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x1029e0c0]
xor eax, ebp
mov dword [ebp + 0x28], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [ebp + 0x34]
movaps xmm0, xmmword [0x1027efb0]
mov edi, dword [ebp + 0x38]
mov dword [ebp - 4], 0
mov ecx, dword [ecx + 0x24]
mov dword [ebp + 0x24], 0x9fff7361
mov dword [ebp], str.data_scripts_scena_dat_us_t0032.dat
mov dword [ebp + 4], 0x23
mov dword [ebp + 0x10], 0x17562
movups xmmword [ebp + 0x14], xmm0
test ecx, ecx
je 0x1003c505
mov eax, dword [ecx]
lea edx, [ebp + 0x14]
push edx
lea edx, [ebp + 0x10]
push edx
lea edx, [ebp]
push edx
lea edx, [ebp - 0x120]
push edx
call dword [eax + 8]
cmp byte [ebp - 0x14], 0
mov byte [ebp - 4], 1
jne 0x1003c381
lea ecx, [ebp - 0x120]
call fcn.100043d6
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x28]
xor ecx, ebp
call fcn.10002c9d
lea esp, [ebp + 0x2c]
pop ebp
ret
mov ecx, dword [ebp - 0x120]
lea eax, [ebp - 0x120]
mov dword [ebp + 8], eax
mov word [ebp + 0x10], 0x2e2e
movzx eax, word [ebp + 0x10]
mov word [ecx + 0x2360], ax
mov byte [ebp + 0x12], 0x2e
movzx eax, byte [ebp + 0x12]
mov byte [ecx + 0x2362], al
mov ecx, dword [ebp - 0x120]
mov word [ebp + 0x10], 0x2e2e
movzx eax, word [ebp + 0x10]
mov byte [ebp + 0x12], 0x2e
mov word [ecx + 0xe22a], ax
movzx eax, byte [ebp + 0x12]
mov byte [ecx + 0xe22c], al
mov ecx, dword [ebp - 0x120]
mov word [ebp + 0x10], 0x2e2e
movzx eax, word [ebp + 0x10]
mov byte [ebp + 0x12], 0x2e
mov word [ecx + 0x11fde], ax
movzx eax, byte [ebp + 0x12]
mov byte [ecx + 0x11fe0], al
mov ecx, dword [ebp - 0x120]
push 3
mov word [ebp + 0x10], 0x2e2e
movzx eax, word [ebp + 0x10]
mov word [ecx + 0x137db], ax
push 0x162c2
mov byte [ebp + 0x12], 0x2e
movzx eax, byte [ebp + 0x12]
push 0xa5
mov byte [ecx + 0x137dd], al
lea ecx, [ebp + 8]
push 0x1622b
call fcn.10003729
mov ebx, dword [edi + 4]
mov dword [ebp + 0xc], 1
mov dword [ebp + 0x10], 0
cmp ebx, dword [edi + 8]
je 0x1003c4a2
mov ecx, dword [ebp - 0x11c]
lea eax, [ebp - 0x114]
mov edx, dword [ebp - 0x118]
push 0
push 1
push eax
mov eax, dword [ebp - 0x120]
sub esp, 0xc
mov esi, esp
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x120], 0
mov dword [esi + 4], ecx
mov ecx, ebx
mov dword [esi], eax
mov dword [esi + 8], edx
call fcn.10005bd7
add dword [edi + 4], 4
jmp 0x1003c4bc
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x120]
push eax
push ebx
call fcn.1000519b
cmp byte [ebp - 0x14], 0
je 0x1003c4f8
mov ecx, dword [ebp - 0x120]
test ecx, ecx
je 0x1003c4f8
mov edx, dword [ebp - 0x118]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1003c4ee
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c50a
push edx
push ecx
call fcn.100018ed
add esp, 8
mov al, 1
jmp 0x1003c364
call fcn.10002d79
call fcn.10004188
int3
Function at 0x10004b15
Capabilities:
Get file size

Disassembly:
jmp 0x100214f0
sub esp, 8
lea eax, [esp]
push esi
mov esi, dword [esp + 0x10]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
mov eax, esi
je 0x10021522
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov byte [esi + 8], 1
pop esi
add esp, 8
ret 4
mov byte [esi + 8], 0
pop esi
add esp, 8
ret 4

Function at 0x10004b33
Capabilities:
Read file on windows

Disassembly:
jmp 0x100216f0
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
xor edi, edi
mov dword [esp + 0x10], ecx
test esi, esi
je 0x1002174f
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, 0xffff0000
push 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
cmp esi, 0xffff0000
mov eax, esi
cmova eax, edx
push eax
push ebx
push dword [ecx]
call ebp
test eax, eax
je 0x1002174f
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1002174f
mov ecx, dword [esp + 0x10]
add edi, eax
add ebx, eax
mov edx, 0xffff0000
sub esi, eax
jne 0x10021712
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8

Function at 0x1000f330
Capabilities:
Get common file path

Disassembly:
mov eax, 0x2714
call fcn.10001c76
mov eax, dword [0x1029e0c0]
xor eax, esp
mov dword [esp + 0x2710], eax
push esi
mov esi, dword [esp + 0x271c]
lea eax, [esp + 4]
push edi
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, eax
test ecx, ecx
je 0x1000f454
cmp ecx, 0x1378
ja 0x1000f454
movups xmm0, xmmword [str.dinput8.dll]
mov eax, dword [0x10157e60]
movups xmmword [esp + ecx*2 + 8], xmm0
movq xmm0, qword [0x10157e58]
movq qword [esp + ecx*2 + 0x18], xmm0
mov dword [esp + ecx*2 + 0x20], eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
jne 0x1000f3c0
sub esp, 8
mov eax, esp
mov dword [eax], str.Failed_loading_system_dinput8.dll._n
mov dword [eax + 4], 0x23
jmp 0x1000f466
push 0x10157e98
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
sub esp, 8
test edi, edi
jne 0x1000f404
mov ecx, esp
mov dword [ecx], str.Failed_finding_system_DirectInput8Create._n
mov dword [ecx + 4], 0x2a
mov ecx, esi
call fcn.100016d6
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x2710]
xor ecx, esp
call fcn.10002c9d
add esp, 0x2714
ret
mov eax, esp
mov ecx, esi
mov dword [eax], str.Found_system_DirectInput8Create_at
mov dword [eax + 4], 0x23
call fcn.100016d6
push edi
mov ecx, eax
call fcn.10001bd6
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x10157f10
mov dword [ecx + 4], 2
mov ecx, eax
call fcn.100016d6
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x2710]
xor ecx, esp
call fcn.10002c9d
add esp, 0x2714
ret
sub esp, 8
mov eax, esp
mov dword [eax], str.Failed_constructing_path_for_system_dinput8.dll._n
mov dword [eax + 4], 0x31
mov ecx, esi
call fcn.100016d6
mov ecx, dword [esp + 0x2718]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.10002c9d
add esp, 0x2714
ret
Function at 0x100213d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100213e2
xor al, al
ret
shr eax, 4
and al, 1
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100214e2
xor al, al
ret
shr eax, 4
not al
and al, 1
ret
Function at 0x1006fc00
Capabilities:
Hash data using murmur3

Disassembly:
mov ecx, dword [esp + 4]
shr ecx, 0xf
xor ecx, dword [esp + 4]
imul ecx, ecx, 0x85ebca77
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae3d
mov eax, ecx
shr eax, 0x10
xor eax, ecx
ret
Function at 0x10074a50
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov edx, dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x10]
and ebx, 0x1f
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x20]
cmp ebx, 8
jb 0x10074b35
mov eax, ebx
shr eax, 3
cmp edx, 1
jne 0x10074ad7
mov dword [esp + 0x24], eax
push edi
call fcn.10074d60
push edx
push eax
push 0
push 0
add edi, 8
call fcn.10074cc0
add esp, 0x14
mov ecx, eax
xor ecx, ebp
xor edx, esi
mov eax, ecx
shld eax, edx, 0x1b
push 0x9e3779b1
shld edx, ecx, 0x1b
push 0x85ebca87
push edx
push eax
call fcn.100023fb
mov ebp, eax
mov esi, edx
add ebp, 0xc2b2ae63
adc esi, 0x85ebca77
sub ebx, 8
sub dword [esp + 0x24], 1
jne 0x10074a83
jmp 0x10074b31
mov dword [esp + 0x24], eax
nop dword [eax + eax]
mov eax, dword [edi + 4]
mov ecx, dword [edi]
add edi, 8
push eax
push ecx
push 0
push 0
call fcn.10074cc0
add esp, 0x10
mov ecx, eax
xor ecx, ebp
xor edx, esi
mov eax, ecx
shld eax, edx, 0x1b
push 0x9e3779b1
shld edx, ecx, 0x1b
push 0x85ebca87
push edx
push eax
call fcn.100023fb
mov ebp, eax
mov esi, edx
add ebp, 0xc2b2ae63
adc esi, 0x85ebca77
sub ebx, 8
sub dword [esp + 0x24], 1
jne 0x10074ae0
mov edx, dword [esp + 0x28]
mov ecx, edi
mov eax, ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], eax
cmp ebx, 4
jb 0x10074bad
mov eax, ecx
cmp edx, 1
jne 0x10074b5c
push ecx
call fcn.10074d40
mov ecx, eax
add esp, 4
mov eax, edi
jmp 0x10074b5e
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x24], eax
mov eax, 0x9e3779b1
mul ecx
push 0xc2b2ae3d
mov edi, eax
mov eax, 0x85ebca87
mul ecx
push 0x27d4eb4f
add edi, edx
xor eax, ebp
xor edi, esi
mov ecx, eax
shld ecx, edi, 0x17
shld edi, eax, 0x17
push edi
push ecx
call fcn.100023fb
mov edi, dword [esp + 0x24]
mov ebp, eax
add ebp, 0x9e3779f9
mov esi, edx
adc esi, 0x165667b1
sub ebx, 4
test ebx, ebx
je 0x10074bf1
movzx eax, byte [edi]
push 0x27d4eb2f
cdq
push 0x165667c5
push edx
push eax
call fcn.100023fb
xor ebp, eax
lea edi, [edi + 1]
xor esi, edx
mov eax, ebp
push 0x9e3779b1
shld eax, esi, 0xb
push 0x85ebca87
shld esi, ebp, 0xb
push esi
push eax
call fcn.100023fb
mov ebp, eax
mov esi, edx
sub ebx, 1
jne 0x10074bb1
push esi
push ebp
call fcn.100749f0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x1008c85d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x1008c800
mov edx, dword [esp + 4]
mov ecx, dword [esp + 8]
cmp dword [edx + 0x964], 0
je 0x1008c825
push ecx
call fcn.10095820
add esp, 4
test eax, eax
je 0x1008c847
mov dword [edx + 4], 1
cmp ecx, 0x190
jg 0x1008c86d
je 0x1008c84d
lea eax, [ecx - 0xa]
cmp eax, 0xc0
ja case.default.0x1008c8a2
movzx eax, byte [eax + 0x1008c8b4]
jmp dword [eax*4 + 0x1008c8ac]
mov eax, 0xffffffc4
ret
cmp dword [esp + 0xc], 0
je case.0x1008c8a2.1001
cmp dword [edx + 0x2c8], 0
jne case.default.0x1008c8a2
mov dword [esp + 8], ecx
lea eax, [edx + 0xc]
mov dword [esp + 4], eax
jmp fcn.100043f4
cmp ecx, 0x3e8
jg 0x1008c890
je case.0x1008c8a2.1001
mov eax, ecx
sub eax, 0x191
je case.0x1008c8a2.1001
sub eax, 1
je case.0x1008c8a2.1001
sub eax, 0x62
je case.0x1008c8a2.1001
mov eax, 0xffffffd8
ret
lea eax, [ecx - 0x3e9]
cmp eax, 0xf
ja case.default.0x1008c8a2
movzx eax, byte [eax + 0x1008c97c]
jmp dword [eax*4 + 0x1008c978]
Function at 0x10122b5f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10122b9e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10122b9e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10122b9e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10122b9e
cmp dword [ecx + 0x74], 0xe
jbe 0x10122b9e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x1012dbea
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x102a0418]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1012dc2a
cmp byte [ebx], 0xa
jne 0x1012dc2a
or byte [edi + eax + 0x28], 4
jmp 0x1012dc2f
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x1012dd2e
mov dl, byte [eax]
cmp dl, 0x1a
je 0x1012dd11
inc eax
cmp dl, 0xd
je 0x1012dc5b
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x1012dc81
cmp eax, ecx
jae 0x1012dc8f
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x1012dc43
jmp 0x1012dd2e
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1012dd0c
cmp dword [ebp - 0x10], 0
je 0x1012dd0c
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x102a0418]
test byte [eax + edi + 0x28], 0x48
je 0x1012dce6
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x1012dcd1
mov byte [esi], dl
jmp 0x1012dce2
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x102a0418]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x1012dd2e
cmp byte [ebp - 1], 0xa
jne 0x1012dcf5
cmp esi, ebx
jne 0x1012dcf5
mov byte [esi], 0xa
jmp 0x1012dd2d
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.1000182f
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x1012dd2e
mov byte [esi], 0xd
jmp 0x1012dd2d
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x102a0418]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1012dd2b
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1012dd2e
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1012dd8a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x102a0418]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1012ddd0
cmp word [ebx], dx
jne 0x1012ddd0
or byte [eax + edi + 0x28], 4
jmp 0x1012ddd5
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x1012df38
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x1012df18
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x1012de16
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x1012de4c
cmp eax, edx
jae 0x1012de5a
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x1012ddf1
jmp 0x1012df38
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1012df13
cmp dword [ebp - 0x18], 0
je 0x1012df13
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x102a0418]
test byte [eax + edi + 0x28], 0x48
je 0x1012dee9
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x1012dead
mov word [esi], cx
jmp 0x1012dee4
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x102a0418]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x102a0418]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x102a0418]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x1012df38
pop eax
cmp word [ebp - 4], ax
jne 0x1012def9
cmp esi, ebx
jne 0x1012def9
mov word [esi], ax
jmp 0x1012df35
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1000182f
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x1012df38
push 0xd
pop eax
jmp 0x1012def4
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x102a0418]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x1012df32
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x1012df38
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10133f95
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x1029e0c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x10133fe0
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.10134496
test al, al
jne 0x10133fda
sub edx, 2
cmp edx, edi
jne 0x10133fc0
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x10134002
lea eax, [edi + 2]
cmp edx, eax
je 0x10134002
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.10133b8e
add esp, 0x10
jmp 0x101340fc
push esi
lea ecx, [ebp - 0x255]
call fcn.10134496
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10134045
push dword [ebp - 0x25c]
jmp 0x10133ff2
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x10134082
cmp word [ebp - 0x226], 0
je 0x101340a3
cmp word [ebp - 0x226], ax
jne 0x10134082
cmp word [ebp - 0x224], 0
je 0x101340a3
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.10133b8e
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x101340ef
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x1013405c
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x101340d7
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x101340fc
push 0x10133474
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.10004d68
add esp, 0x10
jmp 0x101340cc
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10002c9d
leave
ret

Function at 0x1013a2a8
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.10003d46
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1013a317
cmp esi, dword [ebp - 4]
je 0x1013a312
cmp dword [ebp + 0xc], 0
je 0x1013a312
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1013a2ef
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.10139cd0
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x1013a319
xor eax, eax
inc eax
jmp 0x1013a319
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x694270
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x19d000]
push edi
or ebp, 0xffffffff
jmp 0x694292
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x694299
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x694288
mov eax, 1
add ebx, ebx
jne 0x6942ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6942bc
jne 0x6942db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6942db
dec eax
add ebx, ebx
jne 0x6942c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6942a0
add ebx, ebx
jne 0x6942d7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x69432d
xor ecx, ecx
sub eax, 3
jb 0x6942f3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x694362
sar eax, 1
mov ebp, eax
jmp 0x6942fe
add ebx, ebx
jne 0x6942fe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6942cc
inc ecx
add ebx, ebx
jne 0x69430c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6942cc
add ebx, ebx
jne 0x694319
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x69430e
jne 0x69432a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x69430e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x69434c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x69433e
jmp 0x69428e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x69434c
add edi, ecx
jmp 0x69428e
pop esi
mov edi, esi
mov ecx, 0x4e4a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x69436a
cmp byte [edi], 0x24
jne 0x69436a
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 0x69436f
lea edi, [esi + 0x291000]
mov eax, dword [edi]
or eax, eax
je 0x6943e7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x295ec4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x296054]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x69439c
mov ecx, edi
jns 0x6943cb
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 + 0x29605c]
or eax, eax
je 0x6943e1
mov dword [ebx], eax
add ebx, 4
jmp 0x6943b9
call dword [esi + 0x296058]
mov ebp, dword [esi + 0x296060]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x69441b
sub esp, 0xffffff80
jmp 0x4a41f0
Function at 0x401363
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4160a7
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push edi
mov eax, dword [0x419448]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_SetFocus]
push dword [esi + 0x30]
xor edi, edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x10], edi
mov dword [esp + 0x30], edi
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp eax, edi
mov dword [esp + 0x10], eax
jne 0x4013d2
push 0x2e737961
call fcn.004079a0
mov ebx, 0x800
push ebx
call dword [sym.imp.GrooveNew.DLL_void____cdecl_GrooveNew_unsigned_int_]
pop ecx
push edi
push edi
push 0x18b
push dword [esi + 0x30]
mov dword [esp + 0x24], edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x1c], eax
call edi
test eax, eax
jle 0x401462
push ebx
push 0
push dword [esp + 0x14]
call fcn.0040d2b0
add esp, 0xc
push dword [esp + 0xc]
push dword [esp + 0x18]
push 0x189
push dword [esi + 0x30]
call edi
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [esp + 0x1c]
push ecx
push eax
push dword [esp + 0x14]
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x18]
jle 0x40144a
mov dword [esp + 0x18], eax
inc dword [esp + 0x14]
push 0
push 0
push 0x18b
push dword [esi + 0x30]
call edi
cmp dword [esp + 0x14], eax
jl 0x4013fd
push dword [esp + 0xc]
call dword [sym.imp.GrooveNew.DLL_void___cdecl_GrooveDelete_void__]
pop ecx
push dword [esp + 0x10]
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_ReleaseDC]
xor ebx, ebx
push ebx
push ebx
push 0x193
push dword [esi + 0x30]
call edi
cmp eax, dword [esp + 0x18]
jge 0x40149d
push ebx
push dword [esp + 0x1c]
push 0x194
push dword [esi + 0x30]
call edi
or dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4014b5
push eax
mov dword [esp + 0x14], ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret