joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002d0a0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100967e3
push eax
mov dword fs:[0], esp
mov eax, dword [0x100c1b8c]
push ebx
sub esp, 0x28
push esi
push edi
test eax, eax
je 0x1002d0e0
inc dword [eax + 0x374]
push 0x3ad8
call fcn.1007cab2
lea ecx, [ebp - 0x11]
mov dword [ebp - 0x18], eax
add esp, 4
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x1002d113
push ecx
mov ecx, eax
call fcn.10029020
mov edi, eax
mov dword [ebp - 0x18], eax
jmp 0x1002d118
xor edi, edi
mov dword [ebp - 0x18], edi
cmp dword [0x100c1b8c], 0
jne 0x1002d128
mov eax, edi
mov dword [0x100c1b8c], eax
or edx, 0xffffffff
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x38], str.Window
mov esi, 0x100a7b09
mov al, 0x57
or edi, 0xffffffff
cmp al, 0x23
jne 0x1002d151
cmp byte [esi], al
jne 0x1002d151
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x100a1478]
test al, al
jne 0x1002d143
mov edi, dword [ebp - 0x18]
not edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], 0x1003a420
mov dword [ebp - 0x2c], 0x1003a4c0
mov esi, dword [edi + 0x2ca8]
mov ecx, dword [edi + 0x2cac]
mov dword [ebp - 0x28], 0x1003a590
cmp esi, ecx
jne 0x1002d22c
inc esi
test ecx, ecx
je 0x1002d1ab
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1002d1b0
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x1002d22c
mov eax, dword [0x100c1b8c]
test eax, eax
je 0x1002d1c8
inc dword [eax + 0x374]
lea eax, [esi + esi*2]
shl eax, 3
push eax
call fcn.1007cab2
mov edx, dword [edi + 0x2cb0]
add esp, 4
mov dword [ebp - 0x18], eax
test edx, edx
je 0x1002d220
mov ecx, dword [edi + 0x2ca8]
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push edx
push eax
call fcn.1006ecb0
mov ecx, dword [edi + 0x2cb0]
add esp, 0xc
test ecx, ecx
je 0x1002d214
mov eax, dword [0x100c1b8c]
test eax, eax
je 0x1002d214
dec dword [eax + 0x374]
push ecx
call fcn.10077166
mov eax, dword [ebp - 0x18]
add esp, 4
mov dword [edi + 0x2cb0], eax
mov dword [edi + 0x2cac], esi
mov eax, dword [edi + 0x2ca8]
movups xmm0, xmmword [ebp - 0x38]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x2cb0]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [eax + ecx*8 + 0x10], xmm0
mov eax, edi
inc dword [edi + 0x2ca8]
mov ecx, dword [ebp - 0xc]
mov byte [edi], 1
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x1002fee0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
or ecx, 0xffffffff
push edi
test bl, bl
je 0x1002ff1f
cmp bl, 0x23
jne 0x1002ff01
cmp byte [esi], bl
jne 0x1002ff01
cmp byte [esi + 1], bl
cmove eax, ecx
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
mov ecx, 0xffffffff
xor eax, dword [edx*4 + 0x100a1478]
test bl, bl
jne 0x1002fef2
mov ecx, dword [0x100c1b8c]
not eax
mov esi, dword [ecx + 0x19d4]
mov edi, dword [ecx + 0x19dc]
lea ebx, [edi + esi*8]
test esi, esi
je 0x1002ff5e
nop word [eax + eax]
mov edx, esi
shr edx, 1
cmp dword [edi + edx*8], eax
lea ecx, [edi + edx*8]
jae 0x1002ff58
lea edi, [ecx + 8]
or ecx, 0xffffffff
sub ecx, edx
add esi, ecx
jmp 0x1002ff5a
mov esi, edx
test esi, esi
jne 0x1002ff40
cmp edi, ebx
je 0x1002ff6d
cmp dword [edi], eax
jne 0x1002ff6d
mov eax, dword [edi + 4]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x10035310
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x100c1b8c]
lea edx, [ebp - 4]
push ebx
push esi
push edi
mov edi, dword [eax + 0x19e4]
mov esi, 4
mov eax, dword [edi + 0x1c0]
add edi, 0x1c0
mov dword [ebp - 4], ecx
mov ebx, dword [edi + 8]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x100a1478]
sub esi, 1
jne 0x10035342
mov ecx, dword [edi + 4]
not ebx
mov esi, dword [edi]
cmp esi, ecx
jne 0x10035389
inc esi
test ecx, ecx
je 0x10035377
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1003537c
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.1003aef0
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10039f50
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [0x100c1b8c]
push esi
mov esi, ebx
mov dword [ebp - 4], ecx
push edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov edi, dword [esi + 0x2cb4]
mov ecx, dword [esi + 0x2cb8]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0xc], 0
cmp edi, ecx
jne 0x1003a040
inc edi
test ecx, ecx
je 0x10039fb6
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10039fbb
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x1003a040
test esi, esi
je 0x10039fce
inc dword [esi + 0x374]
lea eax, [edi*8]
sub eax, edi
shl eax, 2
push eax
call fcn.1007cab2
mov ebx, eax
add esp, 4
mov eax, dword [esi + 0x2cbc]
test eax, eax
je 0x1003a02e
mov ecx, dword [esi + 0x2cb4]
lea edx, [ecx*8]
sub edx, ecx
shl edx, 2
push edx
push eax
push ebx
call fcn.1006ecb0
mov ecx, dword [esi + 0x2cbc]
add esp, 0xc
test ecx, ecx
je 0x1003a025
mov eax, dword [0x100c1b8c]
test eax, eax
je 0x1003a025
dec dword [eax + 0x374]
push ecx
call fcn.10077166
add esp, 4
mov dword [esi + 0x2cbc], ebx
mov ebx, dword [0x100c1b8c]
mov dword [esi + 0x2cb8], edi
mov eax, dword [esi + 0x2cb4]
mov ecx, dword [esi + 0x2cbc]
movups xmm0, xmmword [ebp - 0x24]
mov edi, dword [ebp - 4]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ebp - 0xc]
movups xmmword [ecx + edx*4], xmm0
movq xmm0, qword [ebp - 0x14]
movq qword [ecx + edx*4 + 0x10], xmm0
mov dword [ecx + edx*4 + 0x18], eax
inc dword [esi + 0x2cb4]
mov eax, dword [esi + 0x2cb4]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x2cbc]
mov esi, edi
lea eax, [eax + ecx*4]
add eax, 0xffffffe4
lea ecx, [esi + 1]
mov dword [ebp - 8], eax
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x1003a0a0
sub esi, ecx
test ebx, ebx
je 0x1003a0b3
inc dword [ebx + 0x374]
inc esi
push esi
call fcn.1007cab2
push esi
push edi
push eax
call fcn.1006ecb0
mov ebx, dword [ebp - 8]
lea esi, [edi + 1]
add esp, 0x10
or edx, 0xffffffff
mov dword [ebx], eax
mov al, byte [edi]
test al, al
je 0x1003a107
or edi, 0xffffffff
nop dword [eax]
cmp al, 0x23
jne 0x1003a0ee
cmp byte [esi], al
jne 0x1003a0ee
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x100a1478]
test al, al
jne 0x1003a0e0
pop edi
not edx
mov eax, ebx
pop esi
mov dword [ebx + 4], edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003a120
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, edx
mov edx, dword [0x100c1b8c]
mov dword [ebp - 0xc], edx
push edi
mov edi, ecx
test esi, esi
jne 0x1003a149
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x1003a140
sub esi, ecx
test edx, edx
je 0x1003a153
inc dword [edx + 0x374]
lea eax, [esi + 1]
push ebx
push eax
call fcn.1007cab2
push esi
push edi
push eax
lea ebx, [eax + esi]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
call fcn.1006ecb0
mov esi, dword [ebp - 0x10]
xor edx, edx
add esp, 0x10
mov byte [ebx], 0
xor edi, edi
mov dword [ebp - 8], edx
mov ecx, esi
cmp esi, ebx
jae 0x1003a2e2
nop dword [eax + eax]
mov al, byte [ecx]
cmp al, 0xa
je 0x1003a30f
cmp al, 0xd
je 0x1003a30f
mov esi, ecx
cmp ecx, ebx
jae 0x1003a1b7
mov al, byte [esi]
cmp al, 0xa
je 0x1003a1b7
cmp al, 0xd
je 0x1003a1b7
inc esi
cmp esi, ebx
jb 0x1003a1a8
mov byte [esi], 0
mov al, byte [ecx]
cmp al, 0x3b
je 0x1003a2d4
cmp al, 0x5b
jne 0x1003a2bb
cmp esi, ecx
jbe 0x1003a2bb
cmp byte [esi - 1], 0x5d
lea ebx, [esi - 1]
jne 0x1003a2b8
lea edi, [ecx + 1]
mov byte [ebx], 0
mov eax, ebx
sub eax, edi
push eax
push 0x5d
push edi
call fcn.1006f3a0
add esp, 0xc
mov dword [ebp - 8], eax
test eax, eax
je 0x1003a223
lea ecx, [eax + 1]
sub ebx, ecx
push ebx
push 0x5b
push ecx
call fcn.1006f3a0
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x1003a223
mov eax, dword [ebp - 8]
lea edx, [ecx + 1]
mov dword [ebp - 8], edx
mov byte [eax], 0
jmp 0x1003a22b
mov dword [ebp - 8], edi
mov edi, str.Window
mov cl, byte [edi]
or eax, 0xffffffff
mov ebx, dword [0x100c1b8c]
inc edi
test cl, cl
je 0x1003a26e
or ebx, 0xffffffff
nop
cmp cl, 0x23
jne 0x1003a24f
cmp byte [edi], cl
jne 0x1003a24f
cmp byte [edi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [edi]
inc edi
xor eax, dword [edx*4 + 0x100a1478]
test cl, cl
jne 0x1003a240
mov ebx, dword [0x100c1b8c]
mov edx, dword [ebx + 0x2ca8]
xor ecx, ecx
not eax
test edx, edx
jle 0x1003a28f
mov edi, dword [ebx + 0x2cb0]
cmp dword [edi + 4], eax
je 0x1003a29b
inc ecx
add edi, 0x18
cmp ecx, edx
jl 0x1003a282
xor edi, edi
mov ebx, dword [ebp - 4]
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x1003a2d4
test edi, edi
je 0x1003a291
push dword [ebp - 8]
mov eax, dword [edi + 8]
push edi
push dword [ebp - 0xc]
call eax
mov ebx, dword [ebp - 4]
mov edx, eax
add esp, 0xc
mov dword [ebp - 8], edx
jmp 0x1003a2d4
mov ebx, dword [ebp - 4]
test edi, edi
je 0x1003a2d4
test edx, edx
je 0x1003a2d4
mov eax, dword [edi + 0xc]
push ecx
push edx
push edi
push dword [ebp - 0xc]
call eax
mov edx, dword [ebp - 8]
add esp, 0x10
lea ecx, [esi + 1]
cmp ecx, ebx
jb 0x1003a190
mov esi, dword [ebp - 0x10]
pop ebx
test esi, esi
je 0x1003a2f6
mov eax, dword [0x100c1b8c]
test eax, eax
je 0x1003a2f6
dec dword [eax + 0x374]
push esi
call fcn.10077166
mov eax, dword [ebp - 0xc]
add esp, 4
pop edi
mov byte [eax + 0x2c94], 1
pop esi
mov esp, ebp
pop ebp
ret
inc ecx
jmp 0x1003a190
Function at 0x1005e190
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
sub eax, 0
je 0x1005e1cd
sub eax, 1
jne 0x1005e337
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push esi
push 0x1005df30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop esi
pop ebp
ret 0xc
cmp dword [ebp + 0x10], 0
jne 0x1005e337
mov ecx, 0x100c5430
call fcn.100246b0
mov ecx, 0x100c54bc
call fcn.100246b0
mov ecx, 0x100c5494
call fcn.100246b0
mov ecx, 0x100c54d0
call fcn.100246b0
mov ecx, 0x100c546c
call fcn.100246b0
mov ecx, 0x100c5480
call fcn.100246b0
mov ecx, 0x100c54f8
call fcn.100246b0
mov ecx, 0x100c54e4
call fcn.100246b0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100c0e8c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x100c6e60]
cmp eax, dword [ecx + 4]
jle 0x1005e270
push 0x100c6e60
call fcn.1006cd15
add esp, 4
cmp dword [0x100c6e60], 0xffffffff
jne 0x1005e270
push 0x10097e60
call fcn.1006d0ae
push 0x100c6e60
call fcn.1006ccc4
add esp, 8
mov eax, dword [0x100c1a38]
push edi
xor edi, edi
cmp dword [eax + 0xc], edi
jle 0x1005e2b6
push ebx
xor ebx, ebx
mov esi, dword [eax]
cmp dword [esi + ebx], 0xfffffffe
jne 0x1005e2ac
mov ecx, dword [esi + ebx + 4]
test ecx, ecx
je 0x1005e2ac
mov eax, dword [ecx + 8]
add ecx, 8
mov eax, dword [eax + 0x24]
call eax
test al, al
mov eax, dword [0x100c1a38]
jne 0x1005e2ac
mov dword [esi + ebx + 0x14], 0
inc edi
add ebx, 0x38
cmp edi, dword [eax + 0xc]
jl 0x1005e280
pop ebx
mov eax, dword [0x100c6e3c]
push 0x80
push dword [0x100c4eb8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ecx + 0x20], eax
call fcn.1006d0c3
add esp, 8
call fcn.10022b90
call fcn.1005d680
mov esi, dword [0x100c1b8c]
mov ecx, esi
mov dword [0x100c1d40], 0
mov dword [0x100c1d48], 0
call fcn.1002e6e0
pop edi
cmp dword [0x100c1b8c], esi
jne 0x1005e314
mov dword [0x100c1b8c], 0
test esi, esi
je 0x1005e337
mov ecx, esi
call fcn.1003b3d0
mov eax, dword [0x100c1b8c]
test eax, eax
je 0x1005e32e
dec dword [eax + 0x374]
push esi
call fcn.10077166
add esp, 4
mov eax, 1
pop esi
pop ebp
ret 0xc
Function at 0x10066a10
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10096f3d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
lea eax, [ebp - 0x140]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov al, byte [0x100a8ec8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 9
movq xmm0, qword [str._formant_]
mov dword [ebp - 0x10], 0xf
movq qword [ebp - 0x24], xmm0
mov byte [ebp - 0x1c], al
mov byte [ebp - 0x1b], 0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
lea edx, [ebp - 0x140]
lea ecx, [ebp - 0x3c]
call fcn.10021050
add esp, 4
mov ecx, 0x100c5390
push eax
call fcn.10010310
mov ecx, dword [ebp - 0x28]
cmp ecx, 0xf
jbe 0x10066acc
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10066ac2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10066b6a
push ecx
push edx
call fcn.1006d0c3
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
cmp ecx, 0xf
jbe 0x10066b15
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10066b0b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10066b6a
push ecx
push edx
call fcn.1006d0c3
add esp, 8
cmp dword [0x100c53a4], 0xf
mov eax, 0x100c5390
push 0
cmova eax, dword [0x100c5390]
push eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, 0x100c4f98
call fcn.10063580
call fcn.100647a0
mov ecx, 0x100c4f98
call fcn.10065480
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.10072452
int3
Function at 0x100670a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10096f95
push eax
mov dword fs:[0], esp
mov eax, Ordinal_2
mov edx, dword [ecx + 0x408]
sub esp, 0x3c
sub eax, edx
push ebx
push esi
lea esi, [ecx + 0x3f8]
mov ecx, dword [ebp + 8]
push edi
mov edi, dword [ecx + 0x10]
cmp eax, edi
jb 0x100671d9
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x100670e9
mov eax, dword [esi]
cmp dword [ecx + 0x14], 0xf
jbe 0x100670f1
mov ecx, dword [ecx]
push edi
push ecx
push edx
push eax
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x2c]
call fcn.100225a0
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 0xf
jbe 0x10067110
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmova eax, dword [ebp - 0x2c]
push eax
call fcn.1006c363
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.10062040
add esp, 8
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.10062aa0
mov ecx, dword [ebp - 0x30]
mov bl, al
cmp ecx, 7
jbe 0x1006717e
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10067174
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100671de
push ecx
push edx
call fcn.1006d0c3
add esp, 8
test bl, bl
je 0x10067196
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
push eax
call fcn.1007d66e
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x100671c6
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100671bc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100671e3
push ecx
push edx
call fcn.1006d0c3
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.100031a0
call fcn.10072452
call fcn.10072452
int3
Function at 0x1006c2ef
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x1006c316
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x1006c319
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.1006c2cb
pop esi
leave
ret 8

Function at 0x100728e1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.1006e000
mov eax, dword [0x100b8040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.100817a0
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x10072923
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x10072a7f
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.10090860
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x100c1520]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.100819af
mov ecx, dword [esi*4 + 0x100c1520]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x10072a78
cmp eax, dword [ecx + edi + 0x24]
jne 0x10072a78
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10072a78
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100819af
add esp, 0x14
test edx, edx
jl 0x10072a78
jg 0x100729ee
test eax, eax
jb 0x10072a78
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x10072a78
jl 0x10072a08
cmp dword [ebp - 0x1008], eax
ja 0x10072a78
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x10072a26
test ebx, ebx
je 0x10072a5f
cmp ecx, edi
jae 0x10072a5f
mov al, byte [ecx]
cmp al, 0xd
jne 0x10072a40
lea eax, [edi - 1]
cmp ecx, eax
jae 0x10072a4c
cmp byte [ecx + 1], 0xa
jne 0x10072a4c
inc ecx
jmp 0x10072a4c
movzx eax, al
movsx eax, byte [eax + 0x100b82c0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x10072a26
cmp edx, ebx
jne 0x10072a26
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x10072a7d
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1006d5ee
leave
ret
Function at 0x1007eccf
Capabilities:
Parse pe header

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

Function at 0x10081a2b
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 + 0x100c1520]
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 0x10081a6b
cmp byte [ebx], 0xa
jne 0x10081a6b
or byte [edi + eax + 0x28], 4
jmp 0x10081a70
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 0x10081b6f
mov dl, byte [eax]
cmp dl, 0x1a
je 0x10081b52
inc eax
cmp dl, 0xd
je 0x10081a9c
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x10081ac2
cmp eax, ecx
jae 0x10081ad0
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 0x10081a84
jmp 0x10081b6f
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 0x10081b4d
cmp dword [ebp - 0x10], 0
je 0x10081b4d
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x100c1520]
test byte [eax + edi + 0x28], 0x48
je 0x10081b27
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x10081b12
mov byte [esi], dl
jmp 0x10081b23
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x100c1520]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x10081b6f
cmp byte [ebp - 1], 0xa
jne 0x10081b36
cmp esi, ebx
jne 0x10081b36
mov byte [esi], 0xa
jmp 0x10081b6e
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.100819cd
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x10081b6f
mov byte [esi], 0xd
jmp 0x10081b6e
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x100c1520]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x10081b6c
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x10081b6f
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret