joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10020fdb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.1002ab00
mov eax, dword [0x1003a040]
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.1001e0fc
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x1002101d
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x10021179
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.1002a990
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 + 0x1003ce28]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.10021d80
mov ecx, dword [esi*4 + 0x1003ce28]
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 0x10021172
cmp eax, dword [ecx + edi + 0x24]
jne 0x10021172
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 0x10021172
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10021d80
add esp, 0x14
test edx, edx
jl 0x10021172
jg 0x100210e8
test eax, eax
jb 0x10021172
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x10021172
jl 0x10021102
cmp dword [ebp - 0x1008], eax
ja 0x10021172
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x10021120
test ebx, ebx
je 0x10021159
cmp ecx, edi
jae 0x10021159
mov al, byte [ecx]
cmp al, 0xd
jne 0x1002113a
lea eax, [edi - 1]
cmp ecx, eax
jae 0x10021146
cmp byte [ecx + 1], 0xa
jne 0x10021146
inc ecx
jmp 0x10021146
movzx eax, al
movsx eax, byte [eax + 0x1003a808]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x10021120
cmp edx, ebx
jne 0x10021120
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x10021177
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1000d8a4
leave
ret
Function at 0x10021218
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 + 0x1003ce28]
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 0x10021258
cmp byte [ebx], 0xa
jne 0x10021258
or byte [edi + eax + 0x28], 4
jmp 0x1002125d
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 0x1002135c
mov dl, byte [eax]
cmp dl, 0x1a
je 0x1002133f
inc eax
cmp dl, 0xd
je 0x10021289
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x100212af
cmp eax, ecx
jae 0x100212bd
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 0x10021271
jmp 0x1002135c
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 0x1002133a
cmp dword [ebp - 0x10], 0
je 0x1002133a
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x1003ce28]
test byte [eax + edi + 0x28], 0x48
je 0x10021314
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x100212ff
mov byte [esi], dl
jmp 0x10021310
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x1003ce28]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x1002135c
cmp byte [ebp - 1], 0xa
jne 0x10021323
cmp esi, ebx
jne 0x10021323
mov byte [esi], 0xa
jmp 0x1002135b
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.10021d9e
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x1002135c
mov byte [esi], 0xd
jmp 0x1002135b
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x1003ce28]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x10021359
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1002135c
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10021365
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 + 0x1003ce28]
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 0x100213ab
cmp word [ebx], dx
jne 0x100213ab
or byte [eax + edi + 0x28], 4
jmp 0x100213b0
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 0x10021513
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 0x100214f3
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x100213f1
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x10021427
cmp eax, edx
jae 0x10021435
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 0x100213cc
jmp 0x10021513
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 0x100214ee
cmp dword [ebp - 0x18], 0
je 0x100214ee
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x1003ce28]
test byte [eax + edi + 0x28], 0x48
je 0x100214c4
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 0x10021488
mov word [esi], cx
jmp 0x100214bf
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x1003ce28]
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 + 0x1003ce28]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x1003ce28]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x10021513
pop eax
cmp word [ebp - 4], ax
jne 0x100214d4
cmp esi, ebx
jne 0x100214d4
mov word [esi], ax
jmp 0x10021510
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10021d9e
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x10021513
push 0xd
pop eax
jmp 0x100214cf
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x1003ce28]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x1002150d
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x10021513
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 0x10025891
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.1001ad3c
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 0x10025900
cmp esi, dword [ebp - 4]
je 0x100258fb
cmp dword [ebp + 0xc], 0
je 0x100258fb
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100258d8
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.100253e3
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x10025902
xor eax, eax
inc eax
jmp 0x10025902
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x10025967
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1003a040]
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.1001ad3c
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.1001ad3c
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 0x100259de
cmp word [ecx], dx
je 0x100259de
mov eax, dword [0x100315bc]
push edi
dec eax
push eax
push 0x100314a8
call fcn.10025906
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x10025a51
cmp word [eax], dx
je 0x10025a51
mov eax, dword [edi]
test eax, eax
je 0x10025a02
cmp word [eax], dx
je 0x10025a02
lea eax, [ebp - 0x10]
push eax
call fcn.100252e9
jmp 0x10025a0b
lea eax, [ebp - 0x10]
push eax
call fcn.10025384
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x10025a7b
mov eax, dword [0x100314a4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10031198
call fcn.10025906
add esp, 0xc
test al, al
je 0x10025a7b
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x10025a46
cmp word [eax], di
je 0x10025a46
lea eax, [ebp - 0x10]
push eax
call fcn.100252e9
pop ecx
jmp 0x10025a7d
lea eax, [ebp - 0x10]
push eax
call fcn.10025384
jmp 0x10025a43
mov eax, dword [edi]
test eax, eax
je 0x10025a68
cmp word [eax], dx
je 0x10025a68
lea eax, [ebp - 0x10]
push eax
call fcn.1002529e
pop ecx
jmp 0x10025a7b
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 0x10025b46
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1002578b
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10025b46
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x10025b46
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x10025b46
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10025ad3
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.1001cd5d
test ebx, ebx
je 0x10025b41
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.1001cd5d
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10025b46
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 0x10025b46
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.100288de
add esp, 0x10
xor eax, eax
inc eax
jmp 0x10025b48
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000d8a4
leave
ret
Function at 0x1002a910
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002a93d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002a93d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4be6c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61ce4c
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x659af8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp dword [ebp + 8], 0
mov dword [ebp - 0x14], 0
je 0x4be734
mov dword [ebx], 0x49897c
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x50], 0x4988e0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 1
mov eax, dword [ebx]
lea esi, [ebx + 4]
push 0
push esi
mov dword [ebp - 0x10], esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], 0x4988e8
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + ebx - 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.004c9890
mov eax, dword [ebx]
push 8
mov dword [ebp - 4], 2
mov dword [ebp - 0x1c], esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], 0x498978
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + ebx - 4], eax
mov dword [esi], 0x4988f8
call fcn.006084b7
mov esi, eax
add esp, 4
test esi, esi
je 0x4be7b3
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov byte [ebp - 4], 3
call fcn.005f3a64
add esp, 4
mov dword [esi + 4], eax
jmp 0x4be7b5
xor esi, esi
lea eax, [ebx + 4]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
lea edi, [eax + 0x14]
mov dword [eax + 0x1c], edi
lea ecx, [eax + 0x18]
mov dword [eax + 0x20], ecx
lea edx, [eax + 0x24]
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov dword [eax], 0x498938
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4be840
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61ce70
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x659af8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], 0x4988f8
call fcn.006084b7
mov esi, eax
add esp, 4
test esi, esi
je 0x4be8a0
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.005f3a64
add esp, 4
mov dword [esi + 4], eax
jmp 0x4be8a2
xor esi, esi
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
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 0x4beb70
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61cef8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x659af8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
mov dword [ebx + 4], eax
mov dword [ebx + 8], 0
mov byte [ebx + 0xc], 0
mov dword [ebx], 0x4987e4
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
lea edi, [ebx + 0x18]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], edi
mov dword [edi], 0x498730
mov byte [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
lea esi, [edi + 0x18]
mov byte [ebp - 4], 1
push 0x20
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006084b7
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, ebx
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov word [edi + 0x30], 0
mov dword [ebx], 0x498840
mov dword [edi], 0x49885c
mov dword [ebx + 0x50], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4bf400
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61d0fb
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x659af8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
xor eax, eax
mov dword [edi], 0x49875c
mov dword [edi + 4], 0
mov word [edi + 8], ax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], al
mov dword [edi + 0x14], 0x498708
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], 0xf
mov byte [edi + 0x34], al
mov dword [edi + 0x30], 0x498708
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], 0xf
mov byte [edi + 0x50], al
mov dword [edi + 0x4c], 0x498708
mov byte [edi + 0x68], al
mov dword [edi + 0x6c], eax
mov dword [ebp - 4], eax
mov dword [edi + 0x80], eax
mov dword [edi + 0x84], eax
mov dword [edi + 0x88], eax
mov byte [edi + 0x8c], 1
mov dword [edi + 0x90], 1
mov dword [edi + 0x94], eax
mov dword [edi + 0x98], eax
mov dword [edi + 0x9c], eax
mov dword [edi + 0x7c], 0x498754
mov dword [edi + 0x74], eax
mov dword [edi + 0x78], eax
push 0x128
push eax
lea esi, [edi + 0x190]
mov byte [ebp - 4], 1
push esi
mov byte [edi + 0x18c], al
call fcn.0060a6d0
xor eax, eax
cmp byte [edi + 0x18c], al
setne al
push eax
push esi
call fcn.00535af0
mov dword [edi + 0x2b8], 0
mov dword [edi + 0x2c4], 0
mov dword [edi + 0x2c8], 0
mov dword [edi + 0x2cc], 0
lea esi, [edi + 0x2d0]
mov byte [ebp - 4], 3
push 0x60
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006084b7
add esp, 0x18
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x2d8], 0
mov dword [edi + 0x2dc], 0
mov dword [edi + 0x2e0], 0
mov dword [edi + 0x2ec], 0
mov dword [edi + 0x2f0], 0
mov dword [edi + 0x2f4], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x661a6c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x65fc20]
cmp eax, dword [ecx + 0x10]
jg 0x4bf630
mov dword [edi + 0x2f8], 0x65fad0
mov dword [edi + 0x310], 0
mov dword [edi + 0x314], 0
mov dword [edi + 0x318], 0
mov byte [edi + 0x31c], 1
mov dword [edi + 0x320], 1
mov dword [edi + 0x324], 0
mov dword [edi + 0x328], 0
mov dword [edi + 0x32c], 0
mov dword [edi + 0x30c], 0x498754
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.004c4210
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x65fc20
call fcn.0060892a
add esp, 4
cmp dword [0x65fc20], 0xffffffff
jne 0x4bf5b1
push 0x65fad0
mov byte [ebp - 4], 7
call fcn.005369d0
push 0x633570
call fcn.006087d4
push 0x65fc20
call fcn.006088e0
add esp, 0xc
jmp 0x4bf5b1
Function at 0x4bf680
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61d172
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x659af8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebx], 0x4987ac
mov dword [ebx + 8], 0x498774
mov dword [ebx + 0xc], 0xffffffff
mov dword [ebx + 0x10], 0
mov byte [ebx + 0x14], 0
mov dword [ebx + 0x1c], 0xffffffff
mov dword [ebx + 0x20], 0
mov byte [ebx + 0x24], 0
mov dword [ebx + 0x18], 0x498784
mov dword [ebx + 0x28], 0
mov dword [ebp - 4], 0
mov byte [ebx + 0x2c], 0
lea ecx, [ebx + 0x30]
mov byte [ebp - 4], 1
call fcn.004d10f0
lea edi, [ebx + 0x34]
mov byte [ebp - 4], 2
push 0x40
lea eax, [edi + 5]
mov dword [ebp - 0x10], edi
push 0
push eax
mov dword [edi], 0x49878c
mov byte [edi + 4], 0
call fcn.0060a6d0
lea esi, [edi + 0x48]
mov dword [esi], 0
push 0x50
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0
call fcn.006084b7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x50]
mov byte [ebp - 4], 3
push 0x2c
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006084b7
add esp, 0x14
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea ecx, [edi + 0x58]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push 0x20
mov byte [ebp - 4], 5
call fcn.004c7900
lea ecx, [ebx + 0x98]
mov byte [ebp - 4], 6
mov word [ecx + 0x18], 0
call fcn.004d11f0
mov eax, dword [ebp + 8]
mov dword [ebx + 0xb4], eax
mov dword [ebx + 0xb8], 0
mov dword [ebx + 0xbc], 0xffffffff
mov dword [ebx + 0xc0], 0xffffffff
mov dword [ebx + 0xc4], 0
mov word [ebx + 0xc8], 0
mov dword [ebx + 0xd0], 0
mov dword [ebx + 0xd4], 0

Function at 0x4c7af0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61d350
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x659af8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test byte [esi + 0x3c], 1
je 0x4c7b48
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x4c7b2d
mov eax, dword [esi + 0x30]
mov edx, dword [eax]
add edx, ecx
jmp 0x4c7b37
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x1c]
mov edx, dword [eax]
add edx, dword [ecx]
mov eax, dword [esi + 0xc]
lea ecx, [esi + 0x40]
mov eax, dword [eax]
sub edx, eax
push edx
push eax
call fcn.004c84c0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [esi + 0x10]
mov dword [eax], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
and dword [esi + 0x3c], 0xfffffffe
mov dword [esi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4d4ab0
Capabilities:
Identify system language via api

Disassembly:
mov eax, dword fs:[0x2c]
mov edx, dword [0x661a6c]
push edi
mov edi, ecx
mov edx, dword [eax + edx*4]
mov eax, dword [0x65fc50]
cmp eax, dword [edx + 0x10]
jg 0x4d4bff
cmp byte [0x65fc4c], 0
jne 0x4d4ae0
mov al, 1
pop edi
ret
push esi
mov byte [0x65fc4c], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
and eax, 0x3ff
mov ecx, eax
or ecx, 0x800
xor esi, esi
nop dword [eax]
cmp ecx, dword [esi*4 + 0x498b18]
je 0x4d4b7e
cmp ecx, dword [esi*4 + 0x498b1c]
je 0x4d4b38
cmp ecx, dword [esi*4 + 0x498b20]
je 0x4d4b33
cmp ecx, dword [esi*4 + 0x498b24]
je 0x4d4b2e
add esi, 4
cmp esi, 0x10
jb 0x4d4b00
jmp 0x4d4b3e
add esi, 3
jmp 0x4d4b39
add esi, 2
jmp 0x4d4b39
inc esi
cmp esi, 0x10
jb 0x4d4b7e
xor esi, esi
cmp eax, dword [esi*4 + 0x498b18]
je 0x4d4b7e
cmp eax, dword [esi*4 + 0x498b1c]
je 0x4d4b78
cmp eax, dword [esi*4 + 0x498b20]
je 0x4d4b73
cmp eax, dword [esi*4 + 0x498b24]
je 0x4d4b6e
add esi, 4
cmp esi, 0x10
jb 0x4d4b40
jmp 0x4d4b8c
add esi, 3
jmp 0x4d4b79
add esi, 2
jmp 0x4d4b79
inc esi
cmp esi, 0x10
jae 0x4d4b8c
push dword [esi*4 + 0x652008]
mov ecx, edi
call fcn.004d4c40
mov eax, dword [edi + 4]
test eax, eax
jne 0x4d4ba9
cmp esi, 0x10
jae 0x4d4ba9
push dword [esi*4 + 0x652008]
mov ecx, edi
call fcn.004d4e00
mov eax, dword [edi + 4]
pop esi
test eax, eax
jne 0x4d4bfa
push dword [0x652008]
mov ecx, edi
call fcn.004d4c40
mov eax, dword [edi + 4]
test eax, eax
jne 0x4d4bfa
push dword [0x652008]
mov ecx, edi
call fcn.004d4e00
mov eax, dword [edi + 4]
test eax, eax
jne 0x4d4bfa
push 0x4985d8
mov ecx, edi
call fcn.004d4c40
mov eax, dword [edi + 4]
test eax, eax
jne 0x4d4bfa
push 0x4985d8
mov ecx, edi
call fcn.004d4e00
mov eax, dword [edi + 4]
test eax, eax
setne al
pop edi
ret
push 0x65fc50
call fcn.0060892a
add esp, 4
cmp dword [0x65fc50], 0xffffffff
jne 0x4d4ad3
cmp dword [edi + 4], 0
push 0x65fc50
sete byte [0x65fc4c]
call fcn.006088e0
add esp, 4
jmp 0x4d4ad3