joyce8/EMBER2024-capa huggingface dataset:
Function at 0x465ce8
Capabilities:
Get common file path

Disassembly:
push 0x23c
mov eax, 0x52ec54
call fcn.00506ba4
mov esi, ecx
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00506530
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jle 0x465d4c
cmp word [ebp + eax*2 - 0x21a], 0x5c
je 0x465d4c
push 0x563fc4
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00450d66
mov edi, 0x563fc8
mov dword [ebp - 4], ebx
push edi
call fcn.00450d3f
pop ecx
push eax
push edi
lea ecx, [ebp - 0x230]
call fcn.0045405e
lea ecx, [ebp - 0x230]
call fcn.004844c0
test al, al
jne 0x465da9
lea eax, [ebp - 0x218]
push eax
call fcn.00450d3f
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00450cc6
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [ebp - 0x230]
call fcn.00453fb8
mov eax, dword [0x5953a4]
test al, 1
jne 0x465e05
or eax, 1
mov dword [0x5953a4], eax
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.004803f4
push ecx
push eax
mov byte [ebp - 4], 2
call fcn.0047f62c
push ebx
push 1
lea ecx, [ebp - 0x248]
call fcn.0044ea00
push 0x53839b
call fcn.005029b9
pop ecx
mov byte [ebp - 4], bl
mov dword [0x59435c], 0x5953a8
call fcn.0047f736
push ebx
push 1
lea ecx, [ebp - 0x230]
call fcn.004510a8
xor eax, eax
call fcn.00506b53
ret

Function at 0x465e2a
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 0x1c]
push ebx
push esi
push 0x1c
mov esi, ecx
mov ebx, edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x465e4b
xor eax, eax
jmp 0x465eaa
cmp dword [ebp - 0xc], 0x10000
je 0x465e47
push edi
mov edi, dword [ebp - 0x18]
push 0x104
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x465ea7
mov ecx, dword [edi + 0x3c]
sub esi, dword [ebp - 0x18]
add ecx, edi
xor edi, edi
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
movzx ebx, word [ecx + 6]
add edx, eax
xor eax, eax
cmp ax, bx
jae 0x465ea7
mov eax, dword [edx + 8]
cmp dword [edx + 0x10], eax
mov ecx, dword [edx + 0xc]
cmova eax, dword [edx + 0x10]
cmp esi, ecx
jb 0x465e9e
add eax, ecx
cmp esi, eax
jbe 0x465eb0
inc edi
add edx, 0x28
cmp di, bx
jb 0x465e87
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
sub esi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
xor eax, eax
mov byte [ecx + 8], 0
inc eax
jmp 0x465ea9
Function at 0x4662da
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x318
mov eax, 0x52ed18
call fcn.00506ba4
push 0xffffffffffffffff
push str.LANG_EN
lea ecx, [ebp - 0x320]
call fcn.004963f4
xor ebx, ebx
lea ecx, [ebp - 0x320]
push str.LANG_RU
mov dword [ebp - 4], ebx
call fcn.0049658f
push 4
call fcn.0049eb70
lea eax, [ebp - 0x29c]
push eax
call fcn.00499ebe
pop ecx
pop ecx
mov byte [ebp - 4], 1
call fcn.0049a07d
dec eax
je 0x466476
dec eax
je 0x466439
dec eax
je 0x4663be
dec eax
jne 0x4664f3
push 0x5640cc
push 0x85
call fcn.0049a068
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4664f3
push esi
call fcn.0049a068
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4663b2
push esi
call fcn.0049a068
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x4663b2
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.0049eb7d
add esp, 0xc
push ebx
push ecx
mov eax, esp
mov dword [eax], 0x5640dc
call fcn.0046705e
mov ecx, eax
call fcn.004b88e8
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x4664f3
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00506530
sub esp, 0x78
lea eax, [ebp - 0x218]
lea esi, [ebp - 0x320]
push 0x21
pop ecx
mov edi, esp
push str.skin_s_skin_
rep movsd dword es:[edi], dword [esi]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x8c
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x29c]
push eax
call fcn.00496659
lea ecx, [ebp - 0x29c]
call fcn.00496aee
push eax
call fcn.0049eb27
mov dword [esp], 0x564084
push ecx
mov eax, esp
mov dword [eax], str.IDR_RES
jmp 0x4664e7
push str.skin_
lea ecx, [ebp - 0x29c]
call fcn.00496659
lea ecx, [ebp - 0x29c]
call fcn.00496aee
push eax
call fcn.0049eb27
push ebx
push 1
push str.res.zip
call fcn.0049ec0b
add esp, 0x10
push ebx
push ecx
mov eax, esp
mov dword [eax], 0x5640b8
jmp 0x4664e7
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00506530
sub esp, 0x78
lea eax, [ebp - 0x218]
lea esi, [ebp - 0x320]
push 0x21
pop ecx
mov edi, esp
push str...lib_skin_s_skin_
rep movsd dword es:[edi], dword [esi]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x8c
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x29c]
push eax
call fcn.00496659
lea ecx, [ebp - 0x29c]
call fcn.00496aee
push eax
call fcn.0049eb27
pop ecx
push ebx
push ecx
mov eax, esp
mov dword [eax], str.res.xml
call fcn.0046705e
mov ecx, eax
call fcn.004b88e8
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], bl
call fcn.004964f7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x320]
call fcn.004964f7
call fcn.00506b53
ret
Function at 0x467503
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x8c
mov eax, 0x52ee9c
call fcn.00506ba4
mov bl, dl
mov edi, ecx
xor esi, esi
mov dword [ebp - 4], esi
push str.3.0.5
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x94], esi
call fcn.00450d66
xor eax, eax
mov dword [ebp - 4], esi
inc eax
push 0x10
push eax
push esi
mov dword [ebp - 0x94], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4675fb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4675fb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
add esi, 0x28
je 0x4675fb
xor eax, eax
push 0x7e
push eax
mov word [ebp - 0x90], ax
lea eax, [ebp - 0x8e]
push eax
call fcn.00506530
add esp, 0xc
test bl, bl
je 0x4675bb
movzx eax, byte [esi + 0xc]
push eax
movzx eax, byte [esi + 0xe]
push eax
movzx eax, byte [esi + 8]
push eax
movzx eax, byte [esi + 0xa]
push eax
lea eax, [ebp - 0x90]
push 0x564464
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
jmp 0x4675df
movzx eax, byte [esi + 0xe]
push eax
movzx eax, byte [esi + 8]
push eax
movzx eax, byte [esi + 0xa]
push eax
lea eax, [ebp - 0x90]
push str._d._d._d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [ebp - 0x90]
push eax
call fcn.00450d3f
pop ecx
push eax
lea eax, [ebp - 0x90]
mov ecx, edi
push eax
call fcn.00450cc6
mov eax, edi
call fcn.00506b53
ret
Function at 0x46841d
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
mov dword [ebp - 8], ebx
cmp dword [ebx + 0x724], 0
je 0x46854a
mov eax, dword [ebx + 0x71c]
push esi
mov esi, dword [eax]
cmp eax, esi
je 0x468549
mov eax, dword [ebp + 8]
push edi
cmp dword [esi + 8], eax
jne 0x46853a
mov dword [ebp - 4], eax
lea edi, [ebx + 0x760]
lea eax, [ebp - 4]
mov ecx, edi
push eax
call fcn.00471368
test eax, eax
je 0x468491
lea eax, [esi + 0x19c]
cmp dword [eax + 0x14], 8
jb 0x46847a
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x468491
and dword [esi + 0x210], 0
jmp 0x468537
lea ecx, [esi + 8]
call fcn.004673c1
mov edx, dword [edi]
mov ecx, edx
mov ebx, dword [ebp + 8]
mov eax, dword [edx + 4]
cmp byte [eax + 0xd], 0
jne 0x4684b9
cmp dword [eax + 0x10], ebx
jge 0x4684b3
mov eax, dword [eax + 8]
jmp 0x4684a3
mov ecx, eax
mov eax, dword [eax]
jmp 0x4684a3
cmp ecx, edx
je 0x4684ca
cmp ebx, dword [ecx + 0x10]
jl 0x4684ca
mov dword [ebp - 0xc], ecx
lea eax, [ebp - 0xc]
jmp 0x4684d0
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x10]
mov eax, dword [eax]
cmp eax, edx
je 0x4684e2
push eax
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.0044d935
push 8
lea eax, [esi + 0x3c]
pop ecx
mov dword [ebp - 4], eax
cmp dword [eax + 0x14], ecx
jb 0x4684f5
mov eax, dword [eax]
mov dword [ebp - 4], eax
lea ebx, [esi + 0x84]
cmp dword [ebx + 0x14], ecx
jb 0x468502
mov ebx, dword [ebx]
lea edi, [esi + 0x24]
cmp dword [edi + 0x14], ecx
jb 0x46850c
mov edi, dword [edi]
lea edx, [esi + 0xc]
cmp dword [edx + 0x14], ecx
jb 0x468516
mov edx, dword [edx]
mov ecx, dword [ebp - 8]
push 0
push dword [ebp - 4]
mov ecx, dword [ecx + 0x724]
push ebx
push dword [esi + 8]
mov eax, dword [ecx]
push 0x564504
push edi
push edx
call dword [eax + 0xc]
mov ebx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov esi, dword [esi]
cmp dword [ebx + 0x71c], esi
jne 0x46844b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x46c79b
Capabilities:
Check os version
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push 0x15c
mov eax, 0x52f80c
call fcn.00506ba4
mov edi, ecx
cmp dword [edi + 0x6fc], 0
jne 0x46c7bc
mov al, 1
jmp 0x46c9d1
sub esp, 0x18
lea esi, [edi + 0x6ec]
mov ecx, esp
push esi
call fcn.0044f7a0
call fcn.00483971
add esp, 0x18
mov edx, 0x5659d0
mov ecx, esi
mov bl, al
call fcn.004650ee
test al, al
je 0x46c9cf
mov esi, 0x114
lea eax, [ebp - 0x158]
push esi
push 0
push eax
call fcn.00506530
add esp, 0xc
mov dword [ebp - 0x158], esi
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0x5659d8
push 0x69
push 0
call esi
mov dword [ebp - 0x15c], eax
test eax, eax
je 0x46c9cf
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push dword [ebp - 0x15c]
mov dword [ebp - 0x168], eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x164], eax
lea ecx, [ebp - 0x28]
lea eax, [edi + 0x640]
push 0x5659e0
mov edx, eax
mov dword [ebp - 0x160], eax
call fcn.00453de4
pop ecx
xor eax, eax
lea ecx, [ebp - 0x28]
push eax
push 0x80
push 4
push eax
mov dword [ebp - 4], eax
cmp dword [ebp - 0x14], 8
push eax
cmovae ecx, dword [ebp - 0x28]
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x46c8ca
and dword [ebp - 0x15c], 0
lea eax, [ebp - 0x15c]
push 0
push eax
push dword [ebp - 0x164]
push dword [ebp - 0x168]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5659f8
push 0x6d
xor edi, edi
push edi
call esi
mov esi, eax
test esi, esi
jne 0x46c8e2
push edi
jmp 0x46c9c5
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
xor esi, esi
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp - 0x160]
lea ecx, [ebp - 0x40]
push str.NFWCHK.exe.config
mov ebx, eax
call fcn.00453de4
pop ecx
push esi
push 0x80
push 4
push esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push esi
cmovae ecx, dword [ebp - 0x40]
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x46c958
and dword [ebp - 0x15c], 0
lea eax, [ebp - 0x15c]
push 0
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x154], 6
lea eax, [ebp - 0x28]
push ecx
mov ecx, esp
jae 0x46c97c
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00450b9d
call fcn.00483826
jmp 0x46c98f
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00450b9d
call fcn.004835ce
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp al, 1
lea eax, [ebp - 0x28]
sete bl
cmp dword [ebp - 0x14], 8
pop ecx
cmovae eax, dword [ebp - 0x28]
push eax
call esi
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call esi
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.004510a8
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004510a8
mov al, bl
call fcn.00506b53
ret
Function at 0x46c9d7
Capabilities:
Create process on windows

Disassembly:
push 0x74
mov eax, 0x52f864
call fcn.00506ba4
mov esi, ecx
push 8
lea eax, [esi + 0x2a4]
pop ebx
cmp dword [eax + 0x14], ebx
jb 0x46c9f5
mov eax, dword [eax]
push eax
call fcn.005053ef
pop ecx
mov ecx, dword [esi + 0x71c]
mov esi, dword [ecx]
jmp 0x46ca0d
cmp dword [esi + 8], eax
je 0x46ca19
mov esi, dword [esi]
cmp ecx, esi
jne 0x46ca06
xor al, al
call fcn.00506b53
ret
lea eax, [esi + 0x13c]
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x7c], eax
call fcn.0044f7a0
xor edx, edx
lea edi, [esi + 0x1b4]
mov dword [ebp - 4], edx
cmp dword [ebp - 0x34], edx
je 0x46ca6e
cmp dword [edi + 0x14], ebx
jb 0x46ca44
mov edx, dword [edi]
jmp 0x46ca46
mov edx, edi
cmp dword [ebp - 0x30], ebx
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
add esi, 0x1e4
cmp dword [esi + 0x14], ebx
jb 0x46ca5f
mov ecx, dword [esi]
jmp 0x46ca61
mov ecx, esi
xor ebx, ebx
inc ebx
push ebx
push edx
push eax
push ecx
push 0
push 0
jmp 0x46ca97
cmp dword [edi + 0x14], ebx
jb 0x46ca77
mov ecx, dword [edi]
jmp 0x46ca79
mov ecx, edi
add esi, 0x1e4
cmp dword [esi + 0x14], ebx
jb 0x46ca88
mov eax, dword [esi]
jmp 0x46ca8a
mov eax, esi
xor ebx, ebx
inc ebx
push ebx
push ecx
push eax
push str.explorer.exe
push edx
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [0x59435c], 0
mov dword [ebp - 0x78], eax
je 0x46cb41
mov edx, edi
lea ecx, [ebp - 0x74]
call fcn.004803f4
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x7c]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], bl
call fcn.004803f4
mov edi, eax
mov edx, esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004803f4
mov ecx, dword [ebp - 0x80]
mov byte [ebp - 4], 3
cmp dword [ecx + 0x14], 0x10
jb 0x46cae7
mov ecx, dword [ecx]
cmp dword [edi + 0x14], 0x10
jb 0x46caef
mov edi, dword [edi]
cmp dword [eax + 0x14], 0x10
jb 0x46caf7
mov eax, dword [eax]
mov esi, dword [ebp - 0x78]
push ecx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___startup_ret__d_:_n_product__s___n_arg__s___n_dir__s_
push 3
push dword [0x59435c]
call fcn.0047f863
add esp, 0x20
lea ecx, [ebp - 0x2c]
push 0
push ebx
call fcn.0044ea00
push 0
push ebx
lea ecx, [ebp - 0x5c]
call fcn.0044ea00
push 0
push ebx
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0
call fcn.0044ea00
jmp 0x46cb44
mov esi, dword [ebp - 0x78]
push 0x565a84
lea ecx, [ebp - 0x2c]
call fcn.0044e9d1
push 0
mov byte [ebp - 4], 4
call fcn.00502ece
pop ecx
push edx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00462d90
push 0
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.0044ea00
push 0x565a94
lea ecx, [ebp - 0x2c]
call fcn.0044e9d1
push esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 5
push eax
call fcn.00462d2f
push 0
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.0044ea00
push esi
call fcn.0045f7ae
mov ecx, eax
call fcn.004606bb
push 0
push ebx
lea ecx, [ebp - 0x44]
call fcn.004510a8
cmp esi, 0x20
setg al
jmp 0x46ca13
Function at 0x46f18f
Capabilities:
Create process on windows

Disassembly:
push 0x64
mov eax, 0x52fe3d
call fcn.00506ba4
lea ecx, [ebp - 0x40]
call fcn.004818d3
xor ebx, ebx
lea ecx, [ebp - 0x58]
push str._startmodel:floatmode
mov dword [ebp - 4], ebx
call fcn.00450d66
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x40]
push 1
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x2c], 8
push ebx
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
cmp dword [0x59435c], ebx
je 0x46f24f
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x70]
call fcn.004803f4
mov esi, eax
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.004803f4
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 0x10
jb 0x46f20e
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x46f216
mov eax, dword [eax]
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___startup_wcc_ret__d_:_n_product__s___n_arg__s_
push 3
push dword [0x59435c]
call fcn.0047f863
add esp, 0x1c
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.0044ea00
push ebx
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.0044ea00
push str.prodstarttime
lea ecx, [ebp - 0x28]
call fcn.0044e9d1
push ebx
mov byte [ebp - 4], 4
call fcn.00502ece
pop ecx
push edx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00462d90
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0044ea00
push str.prodstartcode
lea ecx, [ebp - 0x28]
call fcn.0044e9d1
push edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
call fcn.00462d2f
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0044ea00
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.004510a8
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.004510a8
call fcn.00506b53
ret
Function at 0x46fbd5
Capabilities:
Check if file exists

Disassembly:
push 0x30
mov eax, 0x53002b
call fcn.00506ba4
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [edi + 0x538]
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x30], ebx
call fcn.0044f7a0
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], 1
cmp dword [esi + 0x10], ebx
jne 0x46fc2c
lea eax, [edi + 0x274]
cmp esi, eax
je 0x46fc23
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.00450ff3
cmp dword [esi + 0x10], ebx
je 0x46fcc6
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x34], esp
push esi
call fcn.0044f7a0
sub esp, 0x18
mov dword [ebp - 4], 1
mov ecx, esp
push str._localappdata_
call fcn.00450d66
mov byte [ebp - 4], bl
call fcn.00482166
add esp, 0x30
test al, al
je 0x46fc71
lea ecx, [ebp - 0x2c]
call fcn.00484f55
push eax
mov ecx, esi
call fcn.00460da2
jmp 0x46fcb6
push 3
push ebx
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.00453a7c
mov dword [ebp - 4], 2
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46fcb3
mov ebx, 0x566570
push ebx
call fcn.00450d3f
pop ecx
push eax
push ebx
mov ecx, esi
call fcn.00450cc6
xor ebx, ebx
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.004510a8
cmp dword [esi + 0x10], ebx
jne 0x46fce4
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.0046fcee
push eax
mov ecx, esi
call fcn.00460da2
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.004510a8
mov eax, esi
call fcn.00506b53
ret 4
Function at 0x46fe92
Capabilities:
Create process on windows

Disassembly:
push 0x34
mov eax, 0x5300c6
call fcn.00506ba4
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
call fcn.004702fb
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x30], ebx
je 0x46ff10
cmp dword [esi + 0x14], 8
jb 0x46febe
mov ecx, dword [esi]
jmp 0x46fec0
mov ecx, esi
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 4
cmovae eax, dword [ebp - 0x40]
push ebx
push ecx
push eax
push 0x566584
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
cmp dword [0x59435c], ebx
je 0x46ff79
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.004803f4
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x46ff00
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___priority_browser_open_url__s___ret__d_.
jmp 0x46ff5b
cmp dword [esi + 0x14], 8
jb 0x46ff1a
mov eax, dword [esi]
jmp 0x46ff1c
mov eax, esi
push 4
push ebx
push ebx
push eax
push 0x5665c0
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
cmp dword [0x59435c], ebx
je 0x46ff79
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.004803f4
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x46ff4d
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___browser_open_url__s___ret__d_.
push 3
push dword [0x59435c]
call fcn.0047f863
add esp, 0x18
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.0044ea00
cmp byte [ebp + 0xc], 0
je 0x46ffd6
push str.installpageopentime
lea ecx, [ebp - 0x28]
call fcn.0044e9d1
push ebx
mov byte [ebp - 4], 3
call fcn.00502ece
pop ecx
push edx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00462d90
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.0044ea00
push str.installpageopencode
lea ecx, [ebp - 0x28]
call fcn.0044e9d1
push edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
call fcn.00462d2f
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0044ea00
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.004510a8
cmp edi, 0x20
setg al
call fcn.00506b53
ret 8
Function at 0x47041e
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0x444
mov eax, 0x5301e1
call fcn.00506ba4
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x44c], ebx
push 0x40e
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push ebx
push eax
mov dword [ebp - 0x450], edi
mov dword [ebp - 0x43c], ebx
mov dword [ebp - 0x448], ebx
mov dword [ebp - 0x440], 1
call fcn.00506530
xor eax, eax
mov dword [ebp - 0x444], 0x208
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ebx
mov word [edi], ax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x438]
push esi
mov edx, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths_
mov dword [ebp - 0x44c], 1
call fcn.00465110
add esp, 0x10
lea ecx, [ebp - 0x448]
mov dword [ebp - 4], 1
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
push ecx
cmovae eax, dword [ebp - 0x438]
lea ecx, [ebp - 0x43c]
push ecx
push ebx
push 0x20019
push ebx
push ebx
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x470537
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x440]
push eax
push 0
push 0x56665c
push dword [ebp - 0x43c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x470537
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
jne 0x4705c5
cmp dword [ebp - 0x43c], 0
je 0x47054f
push dword [ebp - 0x43c]
call ebx
and dword [ebp - 0x43c], 0
cmp dword [ebp - 0x424], 8
lea ecx, [ebp - 0x448]
push ecx
lea ecx, [ebp - 0x43c]
push ecx
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
xor ecx, ecx
push ecx
push 0x20219
push ecx
push ecx
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4705e1
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x440]
push eax
push 0
push 0x5666b4
push dword [ebp - 0x43c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4705e1
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
je 0x4705e1
lea eax, [ebp - 0x420]
push eax
call fcn.00450d3f
pop ecx
push eax
lea eax, [ebp - 0x420]
mov ecx, edi
push eax
call fcn.00450cc6
cmp dword [ebp - 0x43c], 0
je 0x4705f9
push dword [ebp - 0x43c]
call ebx
and dword [ebp - 0x43c], 0
push 0
push 1
lea ecx, [ebp - 0x438]
call fcn.004510a8
mov eax, edi
call fcn.00506b53
ret 8