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

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
push 0xffffffffffffffff
push 0x100f60bb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x10114080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1013e4f4]
mov dword [ebp - 0x38], ecx
test al, 1
jne 0x100a38f8
or eax, 1
mov dword [0x1013e4f4], eax
mov dword [ebp - 4], 0
mov eax, 0x10
movaps xmm0, xmmword [0x10104360]
xorps xmm0, xmmword [0x101040f0]
mov dword [ebp - 0x24], 0x6166506
mov dword [ebp - 0x20], 0x17066016
mov dword [ebp - 0x1c], 0x101e0617
mov byte [ebp - 0x18], 0x26
movups xmmword [ebp - 0x34], xmm0
nop dword [eax + eax]
xor byte [ebp + eax - 0x34], 0x26
inc eax
cmp eax, 0x1d
jb 0x100a3830
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x50], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a3856
sub ecx, edx
lea eax, [ebp - 0x34]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.10028220
mov byte [ebp - 4], 1
mov edx, dword [0x101391e4]
test edx, edx
je 0x100a387f
mov edx, dword [edx + 0x50]
jmp 0x100a3881
xor edx, edx
mov eax, dword [0x101391dc]
test eax, eax
je 0x100a388f
mov eax, dword [eax + 0x18]
jmp 0x100a3891
xor eax, eax
lea ecx, [ebp - 0x50]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.100210e0
mov eax, dword [ebp - 0x14]
add esp, 8
test eax, eax
je 0x100a38b8
mov ecx, dword [eax + 1]
test ecx, ecx
jne 0x100a38b3
xor eax, eax
jmp 0x100a38b8
add eax, 5
add eax, ecx
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x3c]
mov dword [0x1013e4f8], eax
cmp ecx, 0xf
jbe 0x100a38f1
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100a38e7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a3928
push ecx
push edx
call fcn.100c2c51
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp dword [0x1013e4f8], 0
je 0x100a3916
push 0
mov ecx, dword [ebp - 0x38]
movss xmm1, dword [ebx + 0xc]
movss xmm2, dword [ebx + 8]
call dword [0x1013e4f8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100c8cda
int3
Function at 0x100ada20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x100adbb1
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x280]
call eax
test al, al
je 0x100adbb1
mov eax, dword [0x10139290]
cmp dword [eax + 0x174], 0xffffffff
je 0x100adbb1
mov eax, dword [0x10139518]
add eax, 0xffffff91
xor eax, 0xfea78a08
cmp dword [eax + ebx], 0
mov eax, dword [0x101394e0]
setle cl
add eax, 0xffffff9f
xor eax, 0xfea789fa
xor edi, edi
mov byte [eax + ebx], cl
mov eax, dword [0x101394d4]
add eax, 0xffffffa2
xor eax, 0xfea789f7
mov dword [eax + ebx + 0xc], 0
mov eax, dword [0x101394d8]
add eax, 0xffffffa1
xor eax, 0xfea789f8
mov dword [eax + ebx + 0xc], 0
mov ecx, dword [0x101394dc]
lea eax, [ecx - 0x60]
xor eax, 0xfea789f9
mov edx, dword [eax + ebx + 0xc]
mov dword [ebp - 4], edx
test edx, edx
je 0x100adb0e
lea eax, [ecx - 0x60]
xor eax, 0xfea789f9
mov eax, dword [eax + ebx]
mov esi, dword [eax + edi*4]
lea ebx, [eax + edi*4]
test esi, esi
je 0x100adb06
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x100adafa
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
test al, al
je 0x100adaf7
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov edx, dword [ebp - 4]
mov dword [ebx], 0
mov ecx, dword [0x101394dc]
mov ebx, dword [ebp + 8]
inc edi
cmp edi, edx
jb 0x100adac3
lea eax, [ecx - 0x60]
xor eax, 0xfea789f9
lea ecx, [ebx + 8]
push 0
mov dword [eax + ebx + 0xc], 0
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x1c]
call eax
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
push 0
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [0x101392a4]
xor ebx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x100adba2
nop dword [eax]
mov eax, dword [ecx + 0x1c]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, eax
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x100adb66
xor edx, edx
test ecx, ecx
je 0x100adb8c
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100adb73
cmp edi, 0x79705c5e
je 0x100adb97
inc ebx
cmp ebx, dword [ebp - 8]
jae 0x100adba2
mov ecx, dword [ebp - 4]
jmp 0x100adb50
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + ebx*4]
jmp 0x100adba4
xor ecx, ecx
push 0
push dword [ebp + 8]
push 0
call dword [0x10139374]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100b2880
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

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
push 0xffffffffffffffff
push 0x100f676d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x10114080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x10139290]
mov edi, dword [esi + 0x174]
test edi, edi
setg byte [ebp - 0x18]
cmp dword [0x10114bd0], 4
jne 0x100b28fd
mov edx, dword [esi + 0x4cb0]
add edx, dword [esi + 0x4cac]
mov ecx, dword [0x10139238]
push edx
push dword [esi + 0x4cb4]
mov eax, dword [ecx]
push dword [ebp - 0x18]
push edi
mov eax, dword [eax + 0xc]
call eax
cmp byte [0x1013e50c], 0
jne 0x100b2a29
movaps xmm0, xmmword [0x101041f0]
xor eax, eax
movaps xmm2, xmmword [0x10104360]
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x20], 0x6560
movaps xmm0, xmmword [0x10104070]
movups xmmword [ebp - 0x30], xmm0
mov byte [ebp - 0x1e], 0x26
movups xmm0, xmmword [ebp + eax - 0x40]
movaps xmm1, xmm2
xorps xmm1, xmm0
movups xmmword [ebp + eax - 0x40], xmm1
add eax, 0x10
cmp eax, 0x20
jb 0x100b2933
cmp eax, 0x23
jae 0x100b295b
xor byte [ebp + eax - 0x40], 0x26
inc eax
cmp eax, 0x23
jb 0x100b2950
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b2976
sub ecx, edx
lea eax, [ebp - 0x40]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.10028220
mov dword [ebp - 4], 0
mov edx, dword [0x101391f0]
test edx, edx
je 0x100b29a2
mov edx, dword [edx + 0x50]
jmp 0x100b29a4
xor edx, edx
mov eax, dword [0x101391e8]
test eax, eax
je 0x100b29b2
mov eax, dword [eax + 0x18]
jmp 0x100b29b4
xor eax, eax
lea ecx, [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.100210e0
mov edi, dword [ebp - 0x1c]
add esp, 8
mov ecx, dword [ebp - 0x44]
inc edi
cmp ecx, 0xf
jbe 0x100b29f8
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100b29ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b2a47
push ecx
push edx
call fcn.100c2c51
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x18]
push eax
push 0x40
push 4
push edi
mov dword [ebp - 0x18], 0
call esi
lea eax, [ebp - 0x18]
mov dword [edi], 0x3e
push eax
push dword [ebp - 0x18]
push 4
push edi
call esi
mov byte [0x1013e50c], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100c27d1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100c8cda
int3
Function at 0x100d735a
Capabilities:
Parse pe header

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

Function at 0x100dc6bb
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100dc63c

Function at 0x100de74a
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
mov eax, dword [eax + 0xc]
nop
shr eax, 3
test al, 1
je 0x100de764
mov al, 1
leave
ret
mov eax, dword [ebp + 8]
push ebx
push esi
mov eax, dword [eax + 0xc]
nop
test al, 0xc0
mov eax, dword [ebp + 8]
je 0x100de77b
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x100de7d3
mov eax, dword [eax + 0x10]
nop
push eax
call fcn.100e73db
mov esi, eax
pop ecx
cmp esi, 0xffffffff
je 0x100de7d3
xor ebx, ebx
lea eax, [ebp - 0x10]
inc ebx
xorps xmm0, xmm0
push ebx
push eax
movlpd qword [ebp - 8], xmm0
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x100de7d3
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x100de7d3
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jne 0x100de7cd
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
je 0x100de7cf
xor bl, bl
mov al, bl
jmp 0x100de7d5
xor al, al
pop esi
pop ebx
leave
ret
Function at 0x100dfe19
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.100c3a20
mov eax, dword [0x10114080]
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.100db2fb
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x100dfe5b
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x100dffd2
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.100eb5b0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1014], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x10124f08]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.100e0c59
mov ecx, dword [esi*4 + 0x10124f08]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x1020], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x100dffcb
cmp eax, dword [edi + ecx + 0x24]
jne 0x100dffcb
xor esi, esi
lea eax, [ebp - 0x101c]
push esi
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100dffcb
push dword [ebp - 0x100c]
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100e0c59
add esp, 0x14
cmp edx, esi
jl 0x100dffcb
jg 0x100dff26
cmp eax, esi
jb 0x100dffcb
mov ebx, dword [ebp - 0x1014]
mov eax, dword [ebp - 0x101c]
cmp ebx, esi
jg 0x100dffcb
jl 0x100dff48
cmp dword [ebp - 0x1008], eax
ja 0x100dffcb
lea edi, [ebp - 0x1004]
xorps xmm0, xmm0
add edi, eax
movlpd qword [ebp - 0x1018], xmm0
lea ecx, [ebp - 0x1004]
cmp dword [ebp - 0x1008], esi
jne 0x100dff6d
cmp ebx, esi
je 0x100dffb2
mov edx, dword [ebp - 0x1014]
mov esi, dword [ebp - 0x1018]
cmp ecx, edi
jae 0x100dffb2
mov al, byte [ecx]
cmp al, 0xd
jne 0x100dff93
lea eax, [edi - 1]
cmp ecx, eax
jae 0x100dff9f
cmp byte [ecx + 1], 0xa
jne 0x100dff9f
inc ecx
jmp 0x100dff9f
movzx eax, al
movsx eax, byte [eax + 0x101144d8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x100dff79
cmp edx, ebx
jne 0x100dff79
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x1020]
jmp 0x100dffd0
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100c27d1
leave
ret
Function at 0x100e00e5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov edx, dword [ebp + 8]
mov ecx, edx
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, edx
sar ecx, 6
and eax, 0x3f
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x10124f08]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100e0127
cmp byte [ebx], 0xa
jne 0x100e0127
or byte [edi + eax + 0x28], 4
jmp 0x100e012c
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x100e022f
mov cl, byte [eax]
cmp cl, 0x1a
je 0x100e020a
lea ebx, [eax + 1]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0xc]
cmp cl, 0xd
je 0x100e015b
mov eax, dword [ebp - 8]
jmp 0x100e017b
mov edx, dword [ebp - 0x10]
cmp dword [ebp - 8], edx
mov edx, dword [ebp + 8]
jae 0x100e0197
mov ebx, dword [ebp - 8]
cmp byte [ebx], 0xa
jne 0x100e0175
add eax, 2
mov cl, 0xa
jmp 0x100e0178
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
mov byte [esi], cl
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0xc]
add esi, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jb 0x100e013d
jmp 0x100e022f
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 0x100e0205
cmp dword [ebp - 0x10], 0
je 0x100e0205
mov edx, dword [ebp - 0x18]
mov eax, dword [edx*4 + 0x10124f08]
test byte [eax + edi + 0x28], 0x48
je 0x100e01e4
mov cl, byte [ebp - 1]
cmp cl, 0xa
jne 0x100e01d4
mov byte [esi], 0xa
jmp 0x100e022e
mov byte [esi], 0xd
mov eax, dword [edx*4 + 0x10124f08]
mov byte [eax + edi + 0x2a], cl
jmp 0x100e022e
cmp byte [ebp - 1], 0xa
jne 0x100e01ee
cmp esi, ebx
je 0x100e01cf
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.100e0c77
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100e022f
mov byte [esi], 0xd
jmp 0x100e022e
mov eax, edx
and edx, 0x3f
sar eax, 6
imul edx, edx, 0x38
mov edi, dword [eax*4 + 0x10124f08]
mov al, byte [edi + edx + 0x28]
test al, 0x40
jne 0x100e022c
or al, 2
mov byte [edi + edx + 0x28], al
jmp 0x100e022f
mov byte [esi], cl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100e0238
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
and eax, 0x3f
push ebx
mov ebx, dword [ebp + 0xc]
sar edx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [edx*4 + 0x10124f08]
mov dword [ebp - 8], edx
mov edx, dword [eax + edi + 0x18]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x100e027c
push 0xa
pop esi
cmp word [ebx], si
jne 0x100e027c
or byte [eax + edi + 0x28], 4
jmp 0x100e0281
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + edx*2]
mov eax, ebx
mov dword [ebp - 0x10], edx
mov esi, ebx
cmp ebx, edx
jae 0x100e03ec
movzx edx, word [eax]
mov ecx, edx
mov dword [ebp - 0xc], ecx
movzx ecx, cx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 8]
cmp edx, 0x1a
je 0x100e03c4
lea ebx, [eax + 2]
mov dword [ebp - 4], ebx
push 0xd
pop ebx
cmp dx, bx
mov ebx, dword [ebp + 0xc]
je 0x100e02ce
mov ebx, dword [ebp - 0x14]
mov edx, esi
mov eax, dword [ebp - 4]
movzx ebx, bx
mov dword [ebp - 4], ebx
jmp 0x100e02f8
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jae 0x100e0317
push 0xa
pop ebx
cmp word [edx], bx
jne 0x100e02e5
push ebx
add eax, 4
pop edx
jmp 0x100e02ed
mov eax, edx
mov edx, dword [ebp - 0xc]
movzx edx, dx
movzx edx, dx
mov dword [ebp - 4], edx
mov edx, esi
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xc], 2
mov word [esi], cx
mov esi, dword [ebp - 0xc]
add esi, edx
cmp eax, dword [ebp - 0x10]
jb 0x100e0293
jmp 0x100e03ec
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100e03bf
cmp dword [ebp - 0x14], 0
je 0x100e03bf
mov eax, dword [ebp - 8]
push 0xa
mov eax, dword [eax*4 + 0x10124f08]
test byte [eax + edi + 0x28], 0x48
pop eax
je 0x100e039b
mov dx, word [ebp - 4]
cmp dx, ax
jne 0x100e0363
mov word [esi], ax
jmp 0x100e03e9
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebp - 8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov eax, dword [eax*4 + 0x10124f08]
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x10124f08]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x10124f08]
pop ecx
mov byte [eax + edi + 0x2c], cl
jmp 0x100e03e9
cmp word [ebp - 4], ax
jne 0x100e03a5
cmp esi, ebx
je 0x100e035b
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.100e0c77
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x100e03ec
push 0xd
pop eax
jmp 0x100e035b
mov eax, ecx
and ecx, 0x3f
sar eax, 6
imul ecx, ecx, 0x38
mov edi, dword [eax*4 + 0x10124f08]
mov al, byte [edi + ecx + 0x28]
test al, 0x40
jne 0x100e03e6
or al, 2
mov byte [edi + ecx + 0x28], al
jmp 0x100e03ec
mov word [esi], dx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100e2f31
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100e2fce
push ebx
push esi
call fcn.100e2efa
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100dcb21
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100e2f7b
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100e2fcd
push edi
push eax
call fcn.100da0c0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100e2f9b
call fcn.100da010
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100e2fcc
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100dcb21
add esp, 0x20
test eax, eax
jne 0x100e2fba
push edi
call fcn.100da010
jmp 0x100e2fc2
push ebx
call fcn.100da010
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100e2fd1
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100e2fe2
pop esi
ret
push ebx
push edi
push esi
call fcn.100e2efa
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100da0c0
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100e300a
push ebx
push esi
push edi
call fcn.100c4340
add esp, 0xc
push 0
call fcn.100da010
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100e5552
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.100d87cc
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 0x100e55c1
cmp esi, dword [ebp - 4]
je 0x100e55bc
cmp dword [ebp + 0xc], 0
je 0x100e55bc
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100e5599
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.100e50a7
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x100e55c3
xor eax, eax
inc eax
jmp 0x100e55c3
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x100e562e
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10114080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.100d87cc
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.100d87cc
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x100e56a5
cmp word [ecx], dx
je 0x100e56a5
mov eax, dword [0x100fdeec]
push edi
dec eax
push eax
push 0x100fddd8
call fcn.100e55c7
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x100e5718
cmp word [eax], dx
je 0x100e5718
mov eax, dword [edi]
test eax, eax
je 0x100e56c9
cmp word [eax], dx
je 0x100e56c9
lea eax, [ebp - 0x10]
push eax
call fcn.100e4fad
jmp 0x100e56d2
lea eax, [ebp - 0x10]
push eax
call fcn.100e5048
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x100e5742
mov eax, dword [0x100fddd4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x100fdac8
call fcn.100e55c7
add esp, 0xc
test al, al
je 0x100e5742
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x100e570d
cmp word [eax], di
je 0x100e570d
lea eax, [ebp - 0x10]
push eax
call fcn.100e4fad
pop ecx
jmp 0x100e5744
lea eax, [ebp - 0x10]
push eax
call fcn.100e5048
jmp 0x100e570a
mov eax, dword [edi]
test eax, eax
je 0x100e572f
cmp word [eax], dx
je 0x100e572f
lea eax, [ebp - 0x10]
push eax
call fcn.100e4f62
pop ecx
jmp 0x100e5742
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x100e580d
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.100e544c
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x100e580d
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x100e580d
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x100e580d
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100e579a
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.100dd2d3
test ebx, ebx
je 0x100e5808
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.100dd2d3
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100e580d
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100e580d
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.100dc31c
add esp, 0x10
xor eax, eax
inc eax
jmp 0x100e580f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100c27d1
leave
ret