joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100654a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b9c90
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x100ef040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], vtable.vgui::Panel.0
call fcn.10067230
cmp eax, 0xffffffff
je 0x10065528
push dword [esi + 0x40]
call fcn.10063bd0
mov edi, eax
test edi, edi
je 0x10065528
mov edx, dword [edi + 0x14]
xor ecx, ecx
test edx, edx
jle 0x10065528
mov ebx, dword [edi + 8]
mov eax, ebx
cmp dword [eax], esi
je 0x10065501
inc ecx
add eax, 4
cmp ecx, edx
jl 0x100654f3
jmp 0x10065528
cmp ecx, 0xffffffff
je 0x10065528
sub edx, ecx
dec edx
test edx, edx
jle 0x10065525
lea eax, [edx*4]
lea ecx, [ebx + ecx*4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call fcn.1008fc50
add esp, 0xc
dec dword [edi + 0x14]
mov eax, dword [esi + 0x24]
cmp byte [eax + 1], 0
je 0x1006553e
push 0
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.1006c480
mov ax, word [esi + 0x50]
mov ecx, 0xffbf
and ax, cx
mov ecx, esi
or ax, 1
push 0
mov word [esi + 0x50], ax
call fcn.10066230
mov ecx, dword [0x100f489c]
push dword [esi + 0x44]
mov eax, dword [ecx]
call dword [eax + 0x44]
test eax, eax
je 0x100655ba
nop dword [eax]
mov ecx, dword [0x100f489c]
push 0
push dword [esi + 0x44]
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, dword [0x100f489c]
mov edi, eax
push edi
mov edx, dword [ecx]
mov edx, dword [edx + 0x74]
call edx
mov ecx, dword [0x100f489c]
test al, al
mov eax, dword [ecx]
je 0x100655a2
push edi
call dword [eax + 0x78]
jmp 0x100655a8
push 0
push edi
call dword [eax + 0x40]
mov ecx, dword [0x100f489c]
push dword [esi + 0x44]
mov eax, dword [ecx]
call dword [eax + 0x44]
test eax, eax
jne 0x10065570
mov ecx, dword [0x100f48ac]
push dword [esi + 0x44]
mov eax, dword [ecx]
call dword [eax + 0x24]
push dword [esi + 0x48]
call fcn.1008c42a
mov edi, dword [esi + 0x24]
add esp, 4
mov dword [esi + 0x44], 0
test edi, edi
je 0x10065646
cmp dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
jl 0x1006560c
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x10065605
push eax
call fcn.100978ee
add esp, 4
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
cmp dword [edi + 0x34], 0
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x3c], eax
jl 0x10065633
test eax, eax
je 0x1006562c
push eax
call fcn.100978ee
add esp, 4
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
lea ecx, [edi + 0x18]
call fcn.10006bc0
push 0x5c
push edi
call fcn.1008c42f
add esp, 8
lea ecx, [esi + 0x54]
call fcn.10006bc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100745e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push dword [esi + 0x16c]
mov dword [esi], vtable.vgui::RichText.0
call fcn.1008c42a
mov ecx, dword [esi + 0x168]
add esp, 4
test ecx, ecx
je 0x1007460b
mov eax, dword [ecx]
push 1
call dword [eax + 0x220]
lea ecx, [esi + 0x140]
call fcn.10006bc0
lea ecx, [esi + 0xf4]
call fcn.10006bc0
cmp dword [esi + 0xe8], 0
mov dword [esi + 0xec], 0
jl 0x1007465b
mov eax, dword [esi + 0xe0]
test eax, eax
je 0x10074651
push eax
call fcn.100978ee
add esp, 4
mov dword [esi + 0xe0], 0
mov dword [esi + 0xe4], 0
cmp dword [esi + 0xe8], 0
mov eax, dword [esi + 0xe0]
mov dword [esi + 0xf0], eax
jl 0x10074691
test eax, eax
je 0x10074687
push eax
call fcn.100978ee
add esp, 4
mov dword [esi + 0xe0], 0
mov dword [esi + 0xe4], 0
lea ecx, [esi + 0xcc]
call fcn.10006bc0
mov ecx, esi
pop esi
jmp fcn.100654a0

Function at 0x1007c3c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x178]
mov dword [esi], vtable.vgui::TextEntry.0
test ecx, ecx
je 0x1007c3dd
mov eax, dword [ecx]
push 1
call dword [eax + 0x220]
mov ecx, dword [esi + 0x388]
test ecx, ecx
je 0x1007c3f1
mov eax, dword [ecx]
push 1
call dword [eax + 0x220]
cmp dword [esi + 0xfc], 0
mov dword [esi + 0x100], 0
jl 0x1007c42b
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x1007c421
push eax
call fcn.100978ee
add esp, 4
mov dword [esi + 0xf4], 0
mov dword [esi + 0xf8], 0
cmp dword [esi + 0xfc], 0
mov eax, dword [esi + 0xf4]
mov dword [esi + 0x104], eax
jl 0x1007c461
test eax, eax
je 0x1007c457
push eax
call fcn.100978ee
add esp, 4
mov dword [esi + 0xf4], 0
mov dword [esi + 0xf8], 0
lea ecx, [esi + 0xe0]
call fcn.10006bc0
lea ecx, [esi + 0xcc]
call fcn.10006bc0
mov ecx, esi
pop esi
jmp fcn.100654a0
Function at 0x10082d10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd32e
mov eax, dword fs:[0]
push eax
sub esp, 0x80c
mov eax, dword [0x100ef040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x814], edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x818], edi
mov dword [edi], vtable.vgui::Image.0
mov dword [edi + 0x14], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov eax, dword [edi]
push 0xffffffffffffffff
mov dword [edi + 0x14], 0xffffffff
call dword [eax + 0x48]
mov dword [ebp - 4], 0
mov dword [edi], vtable.vgui::TextImage.0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov eax, dword [edi + 0x38]
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], eax
mov byte [ebp - 4], 1
xor eax, eax
mov dword [edi + 0x20], eax
mov ebx, 0x100c64b0
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x1c], eax
mov al, byte [edi + 0x34]
and al, 0xfd
mov dword [edi + 0x18], 0
and al, 0xfb
mov dword [edi + 0x2c], 0xffffffff
and al, 0xf7
mov dword [edi + 0x44], 0
test esi, esi
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], al
cmovne ebx, esi
cmp byte [ebx], 0x23
jne 0x10082e2d
mov ecx, dword [0x100f48a8]
lea eax, [ebx + 1]
push eax
mov edx, dword [ecx]
call dword [edx + 0x18]
mov dword [edi + 0x2c], eax
cmp eax, 0xffffffff
je 0x10082e2d
mov ecx, dword [0x100f48a8]
push eax
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov edx, dword [edi]
mov ecx, edi
push 0
push eax
call dword [edx + 0x68]
jmp 0x10082e55
mov ecx, dword [0x100f48a8]
lea edx, [ebp - 0x810]
push 0x800
push edx
push ebx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [edi]
lea ecx, [ebp - 0x810]
push 0
push ecx
mov ecx, edi
call dword [eax + 0x68]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008c21f
mov esp, ebp
pop ebp
ret 4

Function at 0x10088be0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0xf0]
mov dword [esi], vtable.vgui::TreeView.0
test ecx, ecx
je 0x10088c0d
test byte [esi + 0xbc], 4
je 0x10088c03
push ecx
call fcn.10052820
mov dword [esi + 0xf0], 0
lea ecx, [esi + 0x100]
call fcn.10006bc0
lea ecx, [esi + 0xc0]
call fcn.100576a0
cmp dword [esi + 0xc8], 0
jl 0x10088c53
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x10088c49
push eax
call fcn.100978ee
add esp, 4
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0
pop edi
mov ecx, esi
pop esi
jmp fcn.100654a0

Function at 0x1009dded
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1009de2c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1009de2c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1009de2c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1009de2c
cmp dword [ecx + 0x74], 0xe
jbe 0x1009de2c
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1009e9c8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.100b4820
mov eax, dword [0x100ef040]
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.100a3f7e
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x1009ea0a
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x1009eb66
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.100b46b0
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 + 0x100f3b68]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.100a8d8d
mov ecx, dword [esi*4 + 0x100f3b68]
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 0x1009eb5f
cmp eax, dword [ecx + edi + 0x24]
jne 0x1009eb5f
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 0x1009eb5f
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100a8d8d
add esp, 0x14
test edx, edx
jl 0x1009eb5f
jg 0x1009ead5
test eax, eax
jb 0x1009eb5f
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x1009eb5f
jl 0x1009eaef
cmp dword [ebp - 0x1008], eax
ja 0x1009eb5f
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x1009eb0d
test ebx, ebx
je 0x1009eb46
cmp ecx, edi
jae 0x1009eb46
mov al, byte [ecx]
cmp al, 0xd
jne 0x1009eb27
lea eax, [edi - 1]
cmp ecx, eax
jae 0x1009eb33
cmp byte [ecx + 1], 0xa
jne 0x1009eb33
inc ecx
jmp 0x1009eb33
movzx eax, al
movsx eax, byte [eax + 0x100ef498]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x1009eb0d
cmp edx, ebx
jne 0x1009eb0d
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x1009eb64
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1008c21f
leave
ret

Function at 0x100a780f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100c2adc
push 0x100c2ad4
push str.FlsAlloc
push 0x1f
call fcn.100a763a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100a7843
push dword [ebp + 8]
mov ecx, esi
call dword [0x100be1e8]
call esi
jmp 0x100a7849
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x100a788d
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100c2aec
push 0x100c2ae4
push str.FlsGetValue
push 0x21
call fcn.100a763a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100a78c4
push dword [ebp + 8]
mov ecx, esi
call dword [0x100be1e8]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x100a78cc
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100c2af4
push 0x100c2aec
push str.FlsSetValue
push 0x22
call fcn.100a763a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100a7906
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x100be1e8]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x100a8e09
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 + 0x100f3b68]
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 0x100a8e49
cmp byte [ebx], 0xa
jne 0x100a8e49
or byte [edi + eax + 0x28], 4
jmp 0x100a8e4e
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 0x100a8f4d
mov dl, byte [eax]
cmp dl, 0x1a
je 0x100a8f30
inc eax
cmp dl, 0xd
je 0x100a8e7a
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x100a8ea0
cmp eax, ecx
jae 0x100a8eae
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 0x100a8e62
jmp 0x100a8f4d
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 0x100a8f2b
cmp dword [ebp - 0x10], 0
je 0x100a8f2b
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x100f3b68]
test byte [eax + edi + 0x28], 0x48
je 0x100a8f05
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x100a8ef0
mov byte [esi], dl
jmp 0x100a8f01
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x100f3b68]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x100a8f4d
cmp byte [ebp - 1], 0xa
jne 0x100a8f14
cmp esi, ebx
jne 0x100a8f14
mov byte [esi], 0xa
jmp 0x100a8f4c
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.100a8dab
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100a8f4d
mov byte [esi], 0xd
jmp 0x100a8f4c
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x100f3b68]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100a8f4a
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100a8f4d
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100a8f56
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 + 0x100f3b68]
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 0x100a8f9c
cmp word [ebx], dx
jne 0x100a8f9c
or byte [eax + edi + 0x28], 4
jmp 0x100a8fa1
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 0x100a9104
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 0x100a90e4
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x100a8fe2
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x100a9018
cmp eax, edx
jae 0x100a9026
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 0x100a8fbd
jmp 0x100a9104
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 0x100a90df
cmp dword [ebp - 0x18], 0
je 0x100a90df
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x100f3b68]
test byte [eax + edi + 0x28], 0x48
je 0x100a90b5
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 0x100a9079
mov word [esi], cx
jmp 0x100a90b0
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x100f3b68]
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 + 0x100f3b68]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x100f3b68]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x100a9104
pop eax
cmp word [ebp - 4], ax
jne 0x100a90c5
cmp esi, ebx
jne 0x100a90c5
mov word [esi], ax
jmp 0x100a9101
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.100a8dab
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x100a9104
push 0xd
pop eax
jmp 0x100a90c0
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x100f3b68]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x100a90fe
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x100a9104
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 0x100ac0e5
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 0x100ac182
push ebx
push esi
call fcn.100ac0ae
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.100aa8f2
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100ac12f
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100ac181
push edi
push eax
call fcn.100a300c
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100ac14f
call fcn.100a305a
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100ac180
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100aa8f2
add esp, 0x20
test eax, eax
jne 0x100ac16e
push edi
call fcn.100a305a
jmp 0x100ac176
push ebx
call fcn.100a305a
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 0x100ac185
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100ac196
pop esi
ret
push ebx
push edi
push esi
call fcn.100ac0ae
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100a300c
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100ac1be
push ebx
push esi
push edi
call fcn.1008fc50
add esp, 0xc
push 0
call fcn.100a305a
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100ac58e
Capabilities:
Set environment variable

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

Function at 0x100b08a8
Capabilities:
Get geographical location

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100ef040]
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.100a4478
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.100a4478
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 0x100b09f5
cmp word [ecx], dx
je 0x100b09f5
mov eax, dword [0x100c2f84]
push edi
dec eax
push eax
push 0x100c2e70
call fcn.100b091d
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x100b0a68
cmp word [eax], dx
je 0x100b0a68
mov eax, dword [edi]
test eax, eax
je 0x100b0a19
cmp word [eax], dx
je 0x100b0a19
lea eax, [ebp - 0x10]
push eax
call fcn.100b0300
jmp 0x100b0a22
lea eax, [ebp - 0x10]
push eax
call fcn.100b039b
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x100b0a92
mov eax, dword [0x100c2e6c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x100c2b60
call fcn.100b091d
add esp, 0xc
test al, al
je 0x100b0a92
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x100b0a5d
cmp word [eax], di
je 0x100b0a5d
lea eax, [ebp - 0x10]
push eax
call fcn.100b0300
pop ecx
jmp 0x100b0a94
lea eax, [ebp - 0x10]
push eax
call fcn.100b039b
jmp 0x100b0a5a
mov eax, dword [edi]
test eax, eax
je 0x100b0a7f
cmp word [eax], dx
je 0x100b0a7f
lea eax, [ebp - 0x10]
push eax
call fcn.100b02b5
pop ecx
jmp 0x100b0a92
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 0x100b0b5d
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.100b07a2
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x100b0b5d
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x100b0b5d
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x100b0b5d
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100b0aea
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.100a7a0c
test ebx, ebx
je 0x100b0b58
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.100a7a0c
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100b0b5d
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 0x100b0b5d
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.100b2a52
add esp, 0x10
xor eax, eax
inc eax
jmp 0x100b0b5f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008c21f
leave
ret