joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402140
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0040e7ef

Function at 0x403270
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4032c9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4032c9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4032ba
cmp esi, edx
jae 0x4032c9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x4032a8
cmp esi, edx
jae 0x4032c9
cmp word [esi], 0
je 0x4032c9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x4091be
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x409203
call fcn.00406751
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x409203
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x40921f
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00421d56
mov ebx, eax
test edi, edi
je 0x40921d
test esi, esi
je 0x40921d
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x409c3b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x409cf9
cmp dword [esi + 0x20], 0
je 0x409cf9
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x409cf9
cmp dword [ebp + 8], 0
je 0x409cf9
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.00406751
push str.AFX_DIALOG_LAYOUT
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x409cca
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x409cf9
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.004228ea
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x409cea
test edi, edi
je 0x409cea
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x409cf5
mov ecx, esi
call fcn.004099dd
mov eax, ebx
jmp 0x409cfb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40e1d4
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x55baea
call fcn.0053e110
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x40e1fa
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x40e25a
call fcn.00404e60
push eax
lea ecx, [ebp - 0x10]
call fcn.00403c55
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x569948]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.00544c0d
push eax
call fcn.00401f40
add esp, 0x14
test esi, esi
je 0x40e24d
push esi
call fcn.00542ea0
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004043ce
mov eax, ebx
call fcn.0053e0d9
ret 8

Function at 0x40e854
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.00406751
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40e88b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.0040e8aa
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x416c99
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
call fcn.00406751
push 0xf1
push dword [ebp + 8]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x416d82
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0xc], ebx
test ebx, ebx
je 0x416d82
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x416d82
movzx eax, word [edi + 6]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004039e8
pop ecx
movzx ecx, word [edi + 6]
xor esi, esi
xor edx, edx
mov dword [ebp - 4], eax
mov eax, ecx
cmp si, cx
jae 0x416d32
mov ebx, dword [ebp - 4]
lea ecx, [edi + 8]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov dword [ebx + edx*4], eax
inc edx
movzx esi, word [edi + 6]
cmp edx, esi
jl 0x416d1b
mov ebx, dword [ebp - 0xc]
mov eax, esi
mov ecx, dword [ebp - 8]
movzx eax, ax
push eax
push dword [ebp - 4]
call fcn.004173e8
push dword [ebp - 4]
mov esi, eax
call fcn.004039e3
pop ecx
test esi, esi
je 0x416d77
movzx ecx, word [edi + 4]
movzx esi, word [edi + 2]
push ecx
push esi
lea eax, [ecx + 7]
mov ecx, dword [ebp - 8]
lea edx, [esi + 7]
push eax
push edx
call fcn.004175b4
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.00416c48
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
jmp 0x416d84
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x418be8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [edi + 4]
call fcn.0040e11a
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
mov esi, eax
mov ecx, edi
and esi, 3
call fcn.00418e01
cmp esi, 3
je 0x418c26
mov dword [edi + 0xc], 1
cmp dword [edi], 0
je 0x418c6f
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x418c49
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00404a50
jmp 0x418c5a
push 0xff
mov ecx, esi
call fcn.00404340
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00404a73
jmp 0x418c93
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x418c93
push dword [esi]
push dword [ebp - 4]
call fcn.0041f32c
pop edi
pop esi
leave
ret 0xc

Function at 0x418d58
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.00418e01
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x418da0
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00404a50
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00404a73
jmp 0x418dab
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041f32c
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x41ac6e
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x41acc1
push esi
push dword [ebp + 8]
call fcn.0041ae57
mov edi, eax
test edi, edi
je 0x41acbc
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x41acbc
mov eax, dword [ebp - 8]
jmp 0x41acd3
mov eax, dword [ebp + 0x10]
jmp 0x41acd3
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc
Function at 0x425245
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
mov edi, dword [esi + 0xc]
jne 0x42529b
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x425274
call fcn.00420107
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x425289
call fcn.00420107
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x42529b
call fcn.00420107
call fcn.00406751
cmp dword [eax + 0x3c], 0
je 0x4252b0
push edi
mov ecx, ebx
call fcn.00424975
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00425482
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x4252d9
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x4252e5
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x42f815
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.00473468
call fcn.004067a5
cmp dword [eax + 0x14], 0
jne 0x42f830
mov ecx, esi
pop esi
jmp fcn.0042eb18
pop esi
ret

Function at 0x4414fb
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.004032d0
call fcn.004067a5
cmp dword [eax + 0x14], 0
jne 0x441516
mov ecx, esi
pop esi
jmp fcn.00440d77
pop esi
ret

Function at 0x44ea68
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
push edi
test esi, esi
jne 0x44ea82
call fcn.00406751
mov esi, dword [eax + 0xc]
push 0x5777dc
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x44ead8
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x44ead8
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x44eab7
xor esi, esi
jmp 0x44eacd
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0044eae1
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
jmp 0x44eada
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4758ec
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.0054d71a
pop ecx
test eax, eax
jne 0x47592e
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00406382
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4758f4
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
leave
ret
Function at 0x100013d0
Capabilities:
Parse url

Disassembly:
push ebp
lea ebp, [esp - 0x3004]
mov eax, 0x3004
call fcn.1003c230
push 0xffffffffffffffff
push 0x1006de53
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10095dec]
xor eax, ebp
mov dword [ebp + 0x3000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x3c
pop edi
push edi
xor ebx, ebx
lea eax, [ebp - 0x5c]
push ebx
push eax
mov esi, ecx
call fcn.1003c260
lea ecx, [ebp]
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp + 0x2000]
lea eax, [ebp + 0x1000]
mov dword [ebp - 0x30], ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 0x58], eax
mov eax, 0x800
add esp, 0xc
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x2c], eax
cmp ecx, ebx
je 0x10001456
mov eax, dword [ecx]
jmp 0x10001458
xor eax, eax
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x1000145b
sub eax, edi
sar eax, 1
cmp ecx, ebx
je 0x10001472
mov ecx, dword [ecx]
jmp 0x10001474
xor ecx, ecx
lea edx, [ebp - 0x5c]
push edx
push ebx
push eax
push ecx
call dword [sym.imp.wininet.dll_InternetCrackUrlW]
mov ax, word [ebp - 0x44]
mov word [esi + 0x1c], ax
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.100010b1
mov edi, eax
push 0x10072870
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.100010b1
mov ebx, eax
lea eax, [ebp + 0x1000]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.100010b1
push ebx
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.1000138c
push edi
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.1000138c
push eax
lea ecx, [esi + 0x18]
call fcn.10001289
mov ecx, dword [ebp - 0x18]
xor edi, edi
cmp ecx, edi
je 0x100014f6
call fcn.10001238
mov dword [ebp - 0x18], edi
mov ecx, dword [ebp - 0x14]
cmp ecx, edi
je 0x10001505
call fcn.10001238
mov dword [ebp - 0x14], edi
mov ecx, dword [ebp - 0x1c]
cmp ecx, edi
je 0x10001514
call fcn.10001238
mov dword [ebp - 0x1c], edi
mov ecx, dword [ebp - 0x20]
cmp ecx, edi
je 0x10001523
call fcn.10001238
mov dword [ebp - 0x20], edi
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp ecx, edi
je 0x10001536
call fcn.10001238
mov dword [ebp - 0x10], edi
lea eax, [ebp]
push eax
lea ecx, [esi + 0x14]
call fcn.100012bc
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x10001586
cmp eax, 1
je 0x10001586
xor ecx, ecx
cmp word [ebp + eax*2 + 0x1ffe], 0x2f
sete cl
sub eax, 2
cmp word [ebp + eax*2 + 0x2000], 0x2f
je 0x1000156d
dec eax
jmp 0x1000155f
cmp ecx, edi
lea ecx, [esi + 0xc]
je 0x1000157d
lea eax, [ebp + eax*2 + 0x2000]
jmp 0x1000158f
lea eax, [ebp + eax*2 + 0x2002]
jmp 0x1000158f
lea eax, [ebp + 0x2000]
lea ecx, [esi + 0xc]
push eax
call fcn.100012bc
add esi, 0x10
mov ecx, esi
cmp dword [ebp - 0x2c], edi
je 0x100015a4
push dword [ebp - 0x30]
jmp 0x100015a9
push 0x10072878
call fcn.100012bc
cmp dword [ebp - 0x24], edi
je 0x100015bd
push dword [ebp - 0x28]
mov ecx, esi
call fcn.100012bc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x3000]
xor ecx, ebp
call fcn.1003c09c
add ebp, 0x3004
leave
ret
Function at 0x10002200
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0xff8]
mov eax, 0x1078
call fcn.1003c230
mov eax, dword [0x10095dec]
xor eax, ebp
mov dword [ebp + 0xff4], eax
mov eax, dword [ebp + 0x1004]
push ebx
push esi
mov esi, dword [ebp + 0x1000]
push edi
push esi
mov dword [ebp - 0x78], eax
call dword [sym.imp.GDI32.dll_SaveDC]
push 2
push esi
mov dword [ebp - 0x74], eax
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
push 1
xor ebx, ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_ModifyWorldTransform]
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push esi
call edi
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
push 0x5a
push esi
fstp dword [ebp - 0x70]
call edi
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fstp dword [ebp - 0x6c]
fld dword [ebp - 0x70]
fmul qword [0x10072e40]
fld qword [0x10072e38]
fdiv st(1), st(0)
fxch st(1)
call fcn.1003ca30
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x1008]
imul eax, eax, 0xa
mov dword [ebp - 0x70], eax
fild dword [ebp - 0x70]
fmul dword [ebp - 0x6c]
fdivrp st(1)
call fcn.1003ca30
mov dword [ebp - 0x7c], eax
push 1
lea eax, [ebp - 0x80]
push eax
push esi
call dword [sym.imp.GDI32.dll_DPtoLP]
fild dword [ebp - 0x7c]
fabs
fdiv qword [0x10072e30]
fadd qword [0x10072e28]
call fcn.1003ca30
neg eax
mov dword [ebp - 0x68], eax
mov eax, 0x800
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0x1002
push eax
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
call dword [sym.imp.kernel32.dll_GetLocaleInfoW]
push 5
lea eax, [ebp - 0xc]
push 0x10072dd0
push eax
call fcn.100374fc
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x4c]
jne 0x1000232e
push 0x10072ddc
jmp 0x10002331
push dword [ebp - 0x78]
push 0x20
push eax
call fcn.100374fc
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push dword [ebp - 0x74]
mov edi, eax
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [ebp + 0xff4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003c09c
add ebp, 0xff8
leave
ret 0xc
Function at 0x1000a420
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x794]
sub esp, 0x814
mov eax, dword [0x10095dec]
xor eax, ebp
mov dword [ebp + 0x790], eax
push esi
lea eax, [ebp - 0x74]
push eax
push 0x20019
xor esi, esi
push esi
push 0x10073e80
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x74], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000a494
push edi
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x70]
push eax
push esi
push esi
push str.Allow_Unsigned_Installers
push dword [ebp - 0x74]
mov dword [ebp - 0x7c], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x74]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
pop edi
jne 0x1000a494
xor eax, eax
inc eax
jmp 0x1000a4bf
push str.TOOLKIT_ALLOW_UNSIGNED
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.1003dcfa
add esp, 0xc
test eax, eax
jne 0x1000a4bd
cmp dword [ebp - 0x78], esi
je 0x1000a4bd
push dword [ebp - 0x78]
call fcn.100374fc
pop ecx
jmp 0x1000a48f
xor eax, eax
mov ecx, dword [ebp + 0x790]
xor ecx, ebp
pop esi
call fcn.1003c09c
add ebp, 0x794
leave
ret

Function at 0x1000aaed
Capabilities:
Hash data using fnv

Disassembly:
mov ecx, dword [esp + 4]
mov eax, 0x811c9dc5
jmp 0x1000ab06
movzx edx, word [ecx]
imul eax, eax, 0x1000193
xor eax, edx
add ecx, 2
cmp ecx, dword [esp + 8]
jne 0x1000aaf8
ret
Function at 0x1000bab6
Capabilities:
Query or enumerate registry value
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x37c4]
mov eax, 0x3844
call fcn.1003c230
mov eax, dword [0x10095dec]
xor eax, ebp
mov dword [ebp + 0x37c0], eax
push ebx
xor ebx, ebx
cmp dword [0x100973a4], ebx
je 0x1000bca9
push esi
push edi
xor eax, eax
mov esi, 0xffe
push esi
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x3e]
push ebx
push eax
call fcn.1003c260
xor eax, eax
push esi
mov word [ebp + 0xfc0], ax
lea eax, [ebp + 0xfc2]
push ebx
push eax
call fcn.1003c260
push 0x7ff
lea eax, [ebp + 0x2fc1]
push ebx
push eax
mov byte [ebp + 0x2fc0], bl
call fcn.1003c260
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0x24
lea eax, [ebp - 0x78]
push eax
push 0x20019
push ebx
push 0x100739d8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], 0x800
call edi
test eax, eax
jne 0x1000bca7
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x40]
push eax
push ebx
push ebx
push 0x10073a30
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x40]
push eax
push 0x10073a50
push 0x10073aa8
lea eax, [ebp + 0xfc0]
push 0x1000
push eax
call fcn.1000b9fb
add esp, 0x14
cmp dword [ebp - 0x74], ebx
jne 0x1000bc9e
lea eax, [ebp - 0x80]
push eax
push 0x20019
push ebx
lea eax, [ebp + 0xfc0]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x1000bc9e
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x2fc0]
push eax
push ebx
push ebx
push 0x10073ab4
push dword [ebp - 0x80]
mov edi, 0x800
mov dword [ebp - 0x7c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000bc9e
push esi
mov word [ebp + 0x1fc0], ax
lea eax, [ebp + 0x1fc2]
push ebx
push eax
call fcn.1003c260
lea eax, [ebp + 0x2fc0]
push eax
push str._slib_bundles
lea eax, [ebp + 0x1fc0]
push 0x1000
push eax
call fcn.1000b9fb
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x1fc0]
push eax
call fcn.100374fc
add esp, 0x24
test eax, eax
jne 0x1000bc95
push str._requested.list
lea eax, [ebp + 0x1fc0]
push edi
push eax
mov dword [ebp - 0x74], ebx
call fcn.100374fc
push 0x10073b08
lea eax, [ebp + 0x1fc0]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.100374fc
add esp, 0x18
test eax, eax
jne 0x1000bc95
mov ecx, dword [0x100973a4]
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x1000bc6f
push dword [ebp - 0x74]
sub eax, esi
sar eax, 1
push eax
push 2
push ecx
call fcn.1003e7a9
push dword [ebp - 0x74]
call fcn.1003e5de
add esp, 0x14
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov ecx, dword [ebp + 0x37c0]
xor ecx, ebp
pop ebx
call fcn.1003c09c
add ebp, 0x37c4
leave
ret
Function at 0x1000e262
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x138
mov eax, dword [0x10095dec]
xor eax, ebp
mov dword [ebp + 0x70], eax
movzx eax, word [ebp + 0x7c]
push esi
mov esi, dword [0x1009857c]
push 0xf0
push eax
push esi
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x98], 1
call dword [sym.imp.kernel32.dll_FindResourceW]
test eax, eax
je 0x1000e3e6
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x1000e3e6
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1000e3e6
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push edi
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x1000e3e4
mov ecx, dword [esi + 4]
mov edi, eax
movzx eax, word [esi + 2]
mov dword [ebp - 0xa0], ecx
mov ecx, 0x403
add esi, 8
cmp cx, ax
jne 0x1000e359
push 3
lea eax, [ebp - 0x90]
push esi
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x94], eax
call fcn.100374fc
push dword [ebp - 0x94]
mov eax, dword [ebp - 0x9c]
push 0
push 0x143
push edi
push dword [eax + 4]
call ebx
cmp eax, 0xffffffff
jne 0x1000e339
and dword [ebp - 0x98], 0
lea eax, [ebp - 0x90]
cmp dword [ebp - 0x94], eax
je 0x1000e3d1
push dword [ebp - 0x94]
call fcn.100374fc
pop ecx
jmp 0x1000e3d1
mov ecx, 0x1234
cmp cx, ax
jne 0x1000e3d1
or dword [ebp - 0xc0], 0xffffffff
push 3
lea eax, [ebp - 0x90]
push esi
lea ecx, [ebp - 0x94]
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0x94], eax
call fcn.100374fc
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0xbc], eax
cmp eax, ecx
je 0x1000e3ab
push eax
call fcn.100374fc
pop ecx
lea eax, [ebp - 0xc4]
push eax
mov eax, dword [ebp - 0x9c]
push 0
push 0x40b
push edi
push dword [eax + 4]
call ebx
cmp eax, 0xffffffff
jne 0x1000e3d1
and dword [ebp - 0x98], 0
add esi, dword [ebp - 0xa0]
cmp dword [ebp - 0x98], 0
jne 0x1000e2d0
pop edi
pop ebx
mov ecx, dword [ebp + 0x70]
mov eax, dword [ebp - 0x98]
xor ecx, ebp
pop esi
call fcn.1003c09c
add ebp, 0x74
leave
ret 4