joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ae95c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
test dl, dl
je 0x4ae979
add esp, 0xfffffff0
call fcn.004037ec
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
xor eax, eax
push ebp
push 0x4aeb15
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004a5168
test al, al
jne 0x4ae9b6
mov ecx, 0x4aeb48
mov dl, 1
mov eax, dword [0x499864]
call fcn.0040c7d0
call fcn.00403d18
xor eax, eax
push ebp
push 0x4ae9e2
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.004a3c14
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.004a3b00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4aea02
mov eax, dword [ebp - 0x10]
mov edx, 0x4aeb84
call fcn.00404cac
je 0x4aea1f
mov eax, esi
mov edx, 0x4aeb84
call fcn.00404cac
jne 0x4aea43
mov eax, edi
mov edx, 0x4aeb94
call fcn.00404cac
je 0x4aea43
mov ecx, 0x4aeb6c
mov dl, 1
mov eax, dword [0x499b0c]
call fcn.0040c7d0
call fcn.00403d18
mov eax, edi
xor edx, edx
call fcn.00404cac
jne 0x4aea70
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.00404cac
je 0x4aea70
mov ecx, 0x4aeb6c
mov dl, 1
mov eax, dword [0x499b0c]
call fcn.0040c7d0
call fcn.00403d18
mov eax, dword [ebp - 0x10]
mov edx, 0x4aebd4
call fcn.00404cac
jne 0x4aeaa3
mov eax, edi
mov edx, 0x4aebe0
call fcn.00404cac
je 0x4aeaa3
mov ecx, 0x4aeb6c
mov dl, 1
mov eax, dword [0x499b0c]
call fcn.0040c7d0
call fcn.00403d18
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.004aca4c
lea eax, [ebx + 4]
mov edx, esi
call fcn.00404a40
lea eax, [ebx + 0x28]
mov edx, edi
call fcn.00404a40
lea eax, [ebx + 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.00404a40
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 0xc]
call fcn.00404a40
lea eax, [ebx + 8]
call fcn.00404a04
mov byte [ebx + 0xc], 2
xor eax, eax
mov dword [ebx + 0x30], eax
mov al, byte [ebp + 8]
mov byte [ebx + 0x34], al
mov ax, word [0x4aec2c]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aeb1c
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404a1c
ret
Function at 0x4b0410
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
test dl, dl
je 0x4b042d
add esp, 0xfffffff0
call fcn.004037ec
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x4b05c8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004a5168
test al, al
jne 0x4b046a
mov ecx, 0x4b05fc
mov dl, 1
mov eax, dword [0x499864]
call fcn.0040c7d0
call fcn.00403d18
xor eax, eax
push ebp
push 0x4b0496
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.004a3c14
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.004a3b00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b04b6
mov eax, edi
xor edx, edx
call fcn.00404cac
jne 0x4b04e3
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.00404cac
je 0x4b04e3
mov ecx, 0x4b0620
mov dl, 1
mov eax, dword [0x499b0c]
call fcn.0040c7d0
call fcn.00403d18
mov eax, dword [ebp - 0x10]
mov edx, 0x4b0638
call fcn.00404cac
jne 0x4b0516
mov eax, edi
mov edx, 0x4b0644
call fcn.00404cac
je 0x4b0516
mov ecx, 0x4b0620
mov dl, 1
mov eax, dword [0x499b0c]
call fcn.0040c7d0
call fcn.00403d18
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.004aca4c
lea eax, [ebx + 4]
mov edx, esi
call fcn.00404a40
lea eax, [ebx + 0x28]
mov edx, edi
call fcn.00404a40
lea eax, [ebx + 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.00404a40
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 0xc]
call fcn.00404a40
lea eax, [ebx + 8]
call fcn.00404a04
mov byte [ebx + 0xc], 1
mov dl, 1
mov eax, dword [0x41a610]
call fcn.00403490
mov dword [ebx + 0x38], eax
mov dl, 1
mov eax, dword [0x41a610]
call fcn.00403490
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x41a610]
call fcn.00403490
mov dword [ebx + 0x34], eax
push ebx
mov eax, dword [ebx + 0x38]
push eax
mov ax, word [0x4b0690]
push eax
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x49c888]
call fcn.004abca4
mov dword [ebx + 0x3c], eax
mov ax, word [0x4b0694]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b05cf
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404a1c
ret
Function at 0x4b3024
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x4b3046
add esp, 0xfffffff0
call fcn.004037ec
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
xor eax, eax
push ebp
push 0x4b31b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004a5168
test al, al
jne 0x4b3083
mov ecx, 0x4b31e4
mov dl, 1
mov eax, dword [0x499864]
call fcn.0040c7d0
call fcn.00403d18
push dword [0x4fc75c]
lea edx, [ebp - 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xbc]
push dword [ebp - 0x10]
push dword [0x4fc75c]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404c64
mov eax, dword [ebp - 0xc]
call fcn.004a5c40
test al, al
jne 0x4b3155
push dword [0x4fc758]
push dword [ebp + 8]
push dword [0x4fc758]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404c64
mov eax, dword [ebp - 0x14]
call fcn.004a5c40
test al, al
jne 0x4b3155
push dword [0x4fc75c]
lea edx, [ebp - 0x1c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xb8]
push dword [ebp - 0x1c]
push dword [0x4fc75c]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404c64
mov eax, dword [ebp - 0x18]
call fcn.004a5d58
test al, al
jne 0x4b3155
push dword [0x4fc758]
push edi
push dword [0x4fc758]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404c64
mov eax, dword [ebp - 0x20]
call fcn.004a5d58
test al, al
jne 0x4b3155
mov ecx, 0x4b31e4
mov dl, 1
mov eax, dword [0x499864]
call fcn.0040c7d0
call fcn.00403d18
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.004aca4c
lea eax, [ebx + 4]
mov edx, esi
call fcn.00404a40
lea eax, [ebx + 8]
call fcn.00404a04
lea eax, [ebx + 0x30]
mov edx, edi
call fcn.00404a40
lea eax, [ebx + 0x34]
mov edx, dword [ebp + 8]
call fcn.00404a40
mov byte [ebx + 0xc], 0xc
mov ax, word [0x4b3200]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b31b8
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.00404a1c
ret

Function at 0x4e7cb4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e7d2f
push dword fs:[eax]
mov dword fs:[eax], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x100]
push eax
push 0x59
call sub.kernel32.dll_GetThreadLocale_1
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x4e7d16
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.00404568
mov eax, dword [ebp - 0x104]
mov edx, ebx
call fcn.00408af0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e7d36
lea eax, [ebp - 0x104]
call fcn.004042f8
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x100010ad
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
push esi
push 3
push esi
push esi
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100010d4
xor al, al
jmp 0x100010fe
push esi
lea eax, [ebp - 4]
push eax
push 0x100
push 0x10013008
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
shr eax, 2
mov dword [0x10013914], eax
mov al, 1
pop edi
pop esi
leave
ret

Function at 0x100011cb
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
push 0
push 2
push 0
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10001215
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [0x10013914]
shl eax, 2
push eax
push 0x10013008
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x10001217
xor al, al
pop esi
leave
ret

Function at 0x100015fe
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push 0x40
push 0x10
push edi
call ebx
test eax, eax
jne 0x10001629
xor al, al
jmp 0x100016ac
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push 0x40
push 0x10
push esi
call ebx
test eax, eax
jne 0x1000164c
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 0x10
push edi
call ebx
xor al, al
jmp 0x100016ab
cmp byte [esi], 0xe9
jne 0x1000165a
mov eax, dword [esi + 1]
lea eax, [eax + esi + 5]
jmp 0x1000166c
lea eax, [esi + 5]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 8], 5
mov edx, dword [ebp - 8]
sub eax, edx
sub eax, edi
sub eax, 5
lea ecx, [edx + edi]
mov dword [ecx + 1], eax
mov eax, dword [ebp + 0x10]
sub eax, esi
sub eax, 5
mov byte [ecx], 0xe9
mov dword [esi + 1], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
mov byte [esi], 0xe9
push 0x10
push esi
call ebx
lea eax, [ebp - 4]
push eax
push 0x20
push 0x10
push edi
call ebx
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
mov al, 1
pop esi
pop edi
pop ebx
leave
ret

Function at 0x10001926
Capabilities:
Create thread

Disassembly:
push ecx
xor eax, eax
cmp byte [0x1001392c], al
jne 0x10001952
lea ecx, [esp]
push ecx
push eax
push eax
push 0x100016b0
push eax
push eax
mov byte [0x1001392c], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop ecx
ret 0xc
Function at 0x10013074
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x10013083
pop dword [ebp - 0x50]
mov eax, 0xc6d91c37
add eax, 0x4928144c
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x29c74d27
add dword [ebp - 0x60], 0x248af824
mov dword [ebp - 0x5c], 0x42bc61a6
add dword [ebp - 0x5c], 0xef76ea9f
mov dword [ebp - 0x58], 0xecccd415
sub dword [ebp - 0x58], 0xa0808fe7
mov dword [ebp - 0x54], 0x1403031a
add dword [ebp - 0x54], 0xebfcfce6
lea eax, [ebp - 0x60]
push eax
mov eax, 0x1bade28d
add eax, 0xf4536e0b
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x2a2887b1
add dword [ebp - 0x60], 0x4a49e1a5
mov dword [ebp - 0x5c], 0x7dd7adbb
add dword [ebp - 0x5c], 0xc394b3ba
mov dword [ebp - 0x58], 0xe029250
sub dword [ebp - 0x58], 0xaa9325e4
mov dword [ebp - 0x54], 0xb09b216a
add dword [ebp - 0x54], 0x4f64de96
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x6c21fdfd
add eax, 0xa3df529f
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x3bd2c
push 0
call eax
mov ecx, 0x54bf
xor ebx, ebx
add ebx, eax
mov esi, 0x10041c00
add esi, dword [ebp - 0x50]
mov edi, 0x42c9d2c1
sub edi, 0x2515b1da
mov dword [ebp - 0x44], 0xdcf818f0
mov edx, dword [esi]
xor dword [ebp - 0x34], eax
add edx, edi
sub dword [ebp - 0x4c], ecx
mov dword [ebx], edx
add dword [ebp - 0x24], eax
add ebx, 0xd27bae63
sub ebx, 0xd27bae5f
add esi, 0x795f6972
sub esi, 0x795f696e
loop 0x1001319b
add eax, 0x145cf
xor ebx, ebx
add ebx, eax
add eax, 0xf7107e26
add eax, 0x8ef81df
mov ecx, 0x10000000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40393e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403955
pop esi
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x40398a
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x403986
cmp edi, eax
jae 0x40398a
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x403978
cmp edi, eax
jb 0x40398e
xor eax, eax
jmp 0x403997
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret

Function at 0x4055ff
Capabilities:
Encode data using base64

Disassembly:
push 0x14
mov eax, 0x504822
call fcn.004d9926
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x18], 0
cmp dword [eax + 0x14], 0x10
jb 0x40561f
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
jmp 0x405622
mov dword [ebp - 0x14], eax
mov edi, dword [ebp + 8]
mov eax, dword [eax + 0x10]
and dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
and dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x18], 1
test eax, eax
je 0x40575f
dec eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [ebp + esi + 0xc], al
mov bl, byte [ebp + 0xd]
inc esi
inc dword [ebp - 0x14]
cmp esi, 3
jne 0x4056bd
mov al, byte [ebp + 0xc]
shr al, 2
mov byte [ebp - 0x10], al
mov al, byte [ebp + 0xc]
and al, 3
shl al, 4
mov cl, bl
shr cl, 4
add al, cl
mov cl, byte [ebp + 0xe]
mov byte [ebp - 0xf], al
mov al, bl
and al, 0xf
shl al, 2
shr cl, 6
add al, cl
mov byte [ebp - 0xe], al
mov al, byte [ebp + 0xe]
and al, 0x3f
mov byte [ebp - 0xd], al
xor esi, esi
movzx eax, byte [ebp + esi - 0x10]
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x1c], al
push dword [ebp - 0x1c]
mov ecx, edi
push 1
call fcn.00408d56
inc esi
cmp esi, 4
jl 0x40569b
xor esi, esi
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x40564b
test esi, esi
je 0x40575f
cmp esi, 3
jge 0x4056e9
push 3
pop ecx
sub ecx, esi
push ecx
lea eax, [ebp + esi + 0xc]
push 0
push eax
call fcn.004d8c50
mov bl, byte [ebp + 0xd]
add esp, 0xc
mov al, byte [ebp + 0xc]
mov cl, al
shr cl, 2
mov byte [ebp - 0x10], cl
and al, 3
mov cl, bl
shl al, 4
shr cl, 4
add al, cl
mov byte [ebp - 0xf], al
mov al, byte [ebp + 0xe]
and bl, 0xf
mov cl, al
shl bl, 2
shr cl, 6
add bl, cl
mov byte [ebp - 0xe], bl
and al, 0x3f
lea ebx, [esi + 1]
xor edi, edi
mov byte [ebp - 0xd], al
test ebx, ebx
jle 0x405744
movzx eax, byte [ebp + edi - 0x10]
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ecx, dword [ebp + 8]
mov byte [ebp + 0xc], al
push dword [ebp + 0xc]
push 1
call fcn.00408d56
inc edi
cmp edi, ebx
jl 0x405724
push 3
pop edi
cmp esi, edi
jge 0x40575c
sub edi, esi
mov ecx, dword [ebp + 8]
push 0x3d
push 1
call fcn.00408d56
dec edi
jne 0x40574d
mov edi, dword [ebp + 8]
mov eax, edi
call fcn.004d99fe
ret
Function at 0x40e7d1
Capabilities:
Get system information on windows

Disassembly:
push 0x14c
mov eax, 0x5076a0
call fcn.004d998f
lea ecx, [ebp - 0x88]
call fcn.0040eaf4
lea eax, [ebp - 0x34]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
mov byte [ebp - 0x139], bl
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x34], 9
je 0x40e80e
cmp word [ebp - 0x34], 6
jne 0x40e815
mov byte [ebp - 0x139], 1
xor eax, eax
cmp byte [ebp - 0x139], bl
sete al
dec eax
and eax, 0x20
add eax, 0x20
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov eax, dword [ebp - 0x138]
cdq
push 0xffffffffffffffc4
pop ecx
idiv ecx
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00428265
pop ecx
lea esi, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.0040ea0b
lea edi, [ebp - 0x158]
mov byte [ebp - 4], 2
call fcn.004048ae
mov dword [ebp - method.DuiLib::CControlUI.virtual_372], vtable.sensors_analytics::PropertiesNode.0
push 0xf
pop edi
mov byte [ebp - 4], 3
push 6
push str.ostype
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00402366
push str.windows
lea esi, [ebp - 0x2c]
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 4
call fcn.004043fd
push ebx
push 1
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0040241d
push 0xa
push str.os_version
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00402366
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x2c]
lea edi, [ebp - 0x158]
mov byte [ebp - 4], 5
call fcn.0040435d
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0040241d
push 0xf
pop esi
push 5
push str.osbit
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00402366
mov byte [ebp - 4], 6
push dword [ebp - 0x140]
lea edi, [ebp - 0x2c]
lea ecx, [ebp - 0x158]
call fcn.00404143
push ebx
push 1
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.0040241d
push 6
push str.oslang
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00402366
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x2c]
lea edi, [ebp - 0x158]
mov byte [ebp - 4], 7
call fcn.0040435d
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0040241d
push 6
push str.oszone
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00402366
push dword [ebp - 0x144]
lea edi, [ebp - 0x2c]
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 8
call fcn.00404143
xor esi, esi
push ebx
inc esi
push esi
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.0040241d
mov eax, dword [0x5500a8]
cmp eax, ebx
je 0x40e9d4
mov edx, dword [eax]
lea edi, [ebp - 0x158]
call fcn.0040486f
lea eax, [ebp - 0x154]
push eax
mov byte [ebp - 4], 2
call fcn.0040738b
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.0040241d
push ebx
push esi
lea ecx, [ebp - 0x6c]
call fcn.0040241d
push ebx
push esi
lea ecx, [ebp - 0x88]
call fcn.00403da4
call fcn.004d9a12
ret
Function at 0x40eaf4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x9c
lea ebp, [esp - 4]
mov eax, dword [0x54b3f0]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push 0x18
mov eax, 0x50323e
call fcn.004d9926
xor ebx, ebx
mov dword [ebp - 4], ebx
xor eax, eax
mov dword [ebp - 0x20], ebx
push 0x7e
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
mov esi, ecx
push ebx
push eax
mov dword [ebp - 0x14], esi
call fcn.004d8c50
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x20019
push ebx
push ebx
push ebx
push str.Control_PanelDesktopMuiCached
push reloc.gdiplus.dll_Ordinal_1
mov dword [ebp - 0x18], 0x40
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40eb97
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push str.MachinePreferredUILanguages
push dword [ebp - 0x10]
mov dword [ebp - 0x24], 7
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0x1c]
push eax
mov ecx, esi
call fcn.0040edaa
push ebx
xor edi, edi
push 0x535f00
mov dword [ebp - 4], ebx
inc edi
push esi
mov dword [ebp - 0x20], edi
call fcn.0040ec22
cmp eax, 0xffffffff
je 0x40ebe1
push eax
push ebx
push esi
lea esi, [ebp]
call fcn.0040ec4d
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0x14]
mov esi, eax
call fcn.0040ec7b
push ebx
push 1
lea ecx, [ebp]
call fcn.00403da4
mov esi, edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x9c]
xor ecx, ebp
call fcn.004d574b
add ebp, 0xa0
leave
ret
Function at 0x4125cc
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x54b3f0]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 0x1c
mov eax, 0x505fc6
call fcn.004d9926
xor eax, eax
push 0x206
mov word [ebp + 0x1c], ax
xor ebx, ebx
lea eax, [ebp + 0x1e]
push ebx
push eax
call fcn.004d8c50
add esp, 0xc
lea eax, [ebp + 0x1c]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, ebx
jle 0x412634
cmp word [ebp + eax*2 + 0x1a], 0x5c
je 0x412634
push 0x535228
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
xor eax, eax
mov word [ebp], ax
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
mov dword [ebp + 0x14], 7
mov dword [ebp + 0x10], ebx
call fcn.0040ed85
push 0x53522c
lea ecx, [ebp]
mov dword [ebp - 4], ebx
call fcn.004116a2
lea eax, [ebp]
push eax
call fcn.0042ba09
pop ecx
test al, al
jne 0x41267a
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
call fcn.0040ed85
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [ebp]
call fcn.004116e5
test byte [0x550a54], 1
jne 0x4126ca
or dword [0x550a54], 1
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.00428265
pop ecx
push eax
mov byte [ebp - 4], 2
call fcn.00427360
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0040241d
push 0x509095
call fcn.004d7c69
pop ecx
mov byte [ebp - 4], bl
mov dword [0x5500d4], 0x5509d8
call fcn.00427463
push ebx
push 1
lea ecx, [ebp]
call fcn.00403da4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.004d574b
add ebp, 0x228
leave
ret

Function at 0x412709
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, eax
push 0x1c
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x412727
xor eax, eax
jmp 0x412795
cmp dword [ebp - 0x14], 0x10000
je 0x412723
push edi
mov edi, dword [ebp - 0x20]
push 0x104
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x412792
mov eax, dword [edi + 0x3c]
sub esi, dword [ebp - 0x20]
and dword [ebp - 4], 0
add eax, edi
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
movzx eax, word [eax + 6]
xor edx, edx
mov dword [ebp - 8], eax
cmp dx, ax
jae 0x412792
mov edx, dword [ecx + 0x10]
mov edi, dword [ecx + 8]
mov eax, dword [ecx + 0xc]
cmp edx, edi
ja 0x412778
mov edx, edi
cmp esi, eax
jb 0x412782
add edx, eax
cmp esi, edx
jbe 0x412798
inc dword [ebp - 4]
mov ax, word [ebp - 4]
add ecx, 0x28
cmp ax, word [ebp - 8]
jb 0x412769
xor eax, eax
pop edi
pop esi
leave
ret
sub esi, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ecx]
mov dword [ebx], eax
mov eax, dword [ecx + 4]
mov dword [ebx + 4], eax
xor eax, eax
mov byte [ebx + 8], 0
inc eax
jmp 0x412794