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

Disassembly:
push 0xffffffffffffffff
push 0x52eea7
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58e700]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x7c]
mov ebx, dword [edi + 0x10]
cmp ebx, 0x100
jg 0x462d84
cmp dword [0x595334], 0x64
jae 0x462d84
push 0x564980
lea ecx, [esp + 0x20]
call fcn.00450d79
and dword [esp + 0x74], 0
mov esi, 0x564984
push esi
call fcn.00450d55
pop ecx
push eax
push 0
push esi
mov ecx, edi
call fcn.004608d0
mov ebp, str.___time_:_
movzx esi, ax
push ebp
call fcn.00450d55
pop ecx
push eax
push 0
push ebp
mov ecx, edi
call fcn.004608d0
push str.___data_:_
movzx ebp, ax
call fcn.00450d55
pop ecx
push eax
push 0
push str.___data_:_
mov ecx, edi
call fcn.004608d0
mov ecx, esi
movzx eax, ax
mov dword [esp + 0x18], ecx
cmp ecx, 0xffffffff
je 0x462d77
mov esi, ebp
cmp esi, 0xffffffff
je 0x462d77
mov ebp, eax
cmp ebp, 0xffffffff
je 0x462d77
lea eax, [ecx - 7]
mov ecx, edi
push eax
push 7
lea eax, [esp + 0x3c]
push eax
call fcn.004607b3
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 1
call fcn.00453e60
push 0
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x7c], 0
call fcn.004510af
mov ecx, dword [esp + 0x18]
mov eax, esi
sub eax, ecx
sub eax, 8
push eax
lea eax, [ecx + 8]
mov ecx, edi
push eax
lea eax, [esp + 0x54]
push eax
call fcn.004607b3
push 0x5649c8
mov edx, eax
mov byte [esp + 0x78], 2
lea ecx, [esp + 0x38]
call fcn.0046517b
pop ecx
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 3
call fcn.00453e60
push 0
push 1
lea ecx, [esp + 0x3c]
call fcn.004510af
push 0
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0x7c], 0
call fcn.004510af
mov eax, ebp
mov ecx, edi
sub eax, esi
sub eax, 0xa
push eax
lea eax, [esi + 0xa]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.004607b3
push 0x5649cc
mov edx, eax
mov byte [esp + 0x78], 4
lea ecx, [esp + 0x50]
call fcn.0046517b
pop ecx
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 5
call fcn.00453e60
push 0
push 1
lea ecx, [esp + 0x54]
call fcn.004510af
push 0
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x7c], 0
call fcn.004510af
sub ebx, esi
lea eax, [ebp + 0xa]
sub ebx, 5
mov ecx, edi
push ebx
push eax
lea eax, [esp + 0x54]
push eax
call fcn.004607b3
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 6
call fcn.00453e60
push 0
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0x7c], 0
call fcn.004510af
lea eax, [esp + 0x1c]
mov ecx, 0x595330
push eax
call fcn.00464eaf
push 0
push 1
lea ecx, [esp + 0x24]
call fcn.004510af
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.00502653
add esp, 0x64
ret 4
Function at 0x465e01
Capabilities:
Get common file path

Disassembly:
push 0x23c
mov eax, 0x52f68b
call fcn.00507844
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.005071d0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jle 0x465e65
cmp word [ebp + eax*2 - 0x21a], 0x5c
je 0x465e65
push 0x564d3c
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.00450d79
mov edi, 0x564d40
mov dword [ebp - 4], ebx
push edi
call fcn.00450d55
pop ecx
push eax
push edi
lea ecx, [ebp - 0x230]
call fcn.00453ef6
lea ecx, [ebp - 0x230]
call fcn.00484d01
test al, al
jne 0x465ec2
lea eax, [ebp - 0x218]
push eax
call fcn.00450d55
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00450ce8
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [ebp - 0x230]
call fcn.00453e60
mov eax, dword [0x596304]
test al, 1
jne 0x465f1e
or eax, 1
mov dword [0x596304], eax
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.00480cb6
push ecx
push eax
mov byte [ebp - 4], 2
call fcn.0047ffba
push ebx
push 1
lea ecx, [ebp - 0x248]
call fcn.0044ea77
push 0x539172
call fcn.00503659
pop ecx
mov byte [ebp - 4], bl
mov dword [0x5952dc], 0x596308
call fcn.004800bc
push ebx
push 1
lea ecx, [ebp - 0x230]
call fcn.004510af
xor eax, eax
call fcn.005077f3
ret

Function at 0x465f43
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 0x465f64
xor eax, eax
jmp 0x465fc3
cmp dword [ebp - 0xc], 0x10000
je 0x465f60
push edi
mov edi, dword [ebp - 0x18]
push 0x104
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x465fc0
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 0x465fc0
mov eax, dword [edx + 8]
cmp dword [edx + 0x10], eax
mov ecx, dword [edx + 0xc]
cmova eax, dword [edx + 0x10]
cmp esi, ecx
jb 0x465fb7
add eax, ecx
cmp esi, eax
jbe 0x465fc9
inc edi
add edx, 0x28
cmp di, bx
jb 0x465fa0
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 0x465fc2
Function at 0x4663ed
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
sub esp, 0x310
lea ebp, [esp - 4]
mov eax, dword [0x58e700]
xor eax, ebp
mov dword [ebp + 0x310], eax
push 4
mov eax, 0x52f74c
call fcn.00507811
push 0xffffffffffffffff
push str.LANG_EN
lea ecx, [ebp]
call fcn.0049666d
xor ebx, ebx
push 4
mov dword [ebp - 4], ebx
call fcn.0049ede6
lea eax, [ebp + 0x84]
push eax
call fcn.0049a134
pop ecx
pop ecx
mov byte [ebp - 4], 1
call fcn.0049a2f3
dec eax
je 0x466588
dec eax
je 0x46654b
dec eax
je 0x4664d3
dec eax
jne 0x466602
push 0x564e34
push 0x85
call fcn.0049a2de
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x466602
push esi
call fcn.0049a2de
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4664c7
push esi
call fcn.0049a2de
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x4664c7
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.0049edf3
add esp, 0xc
push ebx
push ecx
mov eax, esp
mov dword [eax], 0x564e44
call fcn.00467159
mov ecx, eax
call fcn.004b5809
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x466602
xor eax, eax
push 0x206
mov word [ebp + 0x108], ax
lea eax, [ebp + 0x10a]
push ebx
push eax
call fcn.005071d0
sub esp, 0x78
lea eax, [ebp + 0x108]
lea esi, [ebp]
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 + 0x108]
lea ecx, [ebp + 0x84]
push eax
call fcn.004968c5
lea ecx, [ebp + 0x84]
call fcn.00496864
push eax
call fcn.0049ed9d
mov dword [esp], 0x564dec
push ecx
mov eax, esp
mov dword [eax], str.IDR_RES
jmp 0x4665f6
push str.skin_
lea ecx, [ebp + 0x84]
call fcn.004968c5
lea ecx, [ebp + 0x84]
call fcn.00496864
push eax
call fcn.0049ed9d
push ebx
push 1
push str.res.zip
call fcn.0049ee81
add esp, 0x10
push ebx
push ecx
mov eax, esp
mov dword [eax], 0x564e20
jmp 0x4665f6
xor eax, eax
push 0x206
mov word [ebp + 0x108], ax
lea eax, [ebp + 0x10a]
push ebx
push eax
call fcn.005071d0
sub esp, 0x78
lea eax, [ebp + 0x108]
lea esi, [ebp]
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 + 0x108]
lea ecx, [ebp + 0x84]
push eax
call fcn.004968c5
lea ecx, [ebp + 0x84]
call fcn.00496864
push eax
call fcn.0049ed9d
pop ecx
push ebx
push ecx
mov eax, esp
mov dword [eax], str.res.xml
call fcn.00467159
mov ecx, eax
call fcn.004b5809
lea ecx, [ebp + 0x84]
mov byte [ebp - 4], bl
call fcn.00496770
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.00496770
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x310]
xor ecx, ebp
call fcn.00502653
lea esp, [ebp + 0x314]
pop ebp
ret
Function at 0x467562
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x52f876
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58e700]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov bl, dl
mov edi, ecx
xor ebp, ebp
mov dword [esp + 0xa8], ebp
push str.3.0.5
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebp
call fcn.00450d79
xor eax, eax
mov dword [esp + 0xa8], ebp
inc eax
push 0x10
push eax
push ebp
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x467678
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x467678
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
add esi, 0x28
je 0x467678
xor eax, eax
push 0x7e
mov word [esp + 0x20], ax
lea eax, [esp + 0x22]
push ebp
push eax
call fcn.005071d0
add esp, 0xc
test bl, bl
je 0x46763e
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, [esp + 0x2c]
push str._d._d._d._d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
jmp 0x467660
movzx eax, byte [esi + 0xe]
push eax
movzx eax, byte [esi + 8]
push eax
movzx eax, byte [esi + 0xa]
push eax
lea eax, [esp + 0x28]
push str._d._d._d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [esp + 0x1c]
push eax
call fcn.00450d55
pop ecx
push eax
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call fcn.00450ce8
mov eax, edi
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00502653
add esp, 0x98
ret
Function at 0x4683bf
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x52fb6c
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58e700]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x70c], 0
jne 0x46842a
cmp dword [0x5952dc], 0
je 0x4685b5
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._ERROR___d___function_interface_is_null.
push 1
push dword [0x5952dc]
call fcn.004801e7
add esp, 0x10
jmp 0x4685b5
mov eax, dword [edi + 0x704]
mov esi, dword [eax]
cmp eax, esi
je 0x46859c
mov eax, dword [esp + 0x7c]
cmp dword [esi + 0x21c], eax
jne 0x46858e
cmp dword [0x5952dc], 0
je 0x4684f8
lea edx, [esi + 0x3c]
lea ecx, [esp + 0x4c]
call fcn.00480cb6
mov ebp, eax
and dword [esp + 0x74], 0
lea edx, [esi + 0x84]
lea ecx, [esp + 0x34]
call fcn.00480cb6
mov ebx, eax
lea edx, [esi + 0x24]
mov byte [esp + 0x74], 1
lea ecx, [esp + 0x1c]
call fcn.00480cb6
mov byte [esp + 0x74], 2
cmp dword [ebp + 0x14], 0x10
jb 0x46849a
mov ebp, dword [ebp]
cmp dword [ebx + 0x14], 0x10
jb 0x4684a2
mov ebx, dword [ebx]
cmp dword [eax + 0x14], 0x10
jb 0x4684aa
mov eax, dword [eax]
push ebp
push ebx
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___WaeMgr_StartDownTask:__d___s___s___s
push 3
push dword [0x5952dc]
call fcn.004801e7
add esp, 0x20
lea ecx, [esp + 0x1c]
push 0
push 1
call fcn.0044ea77
push 0
push 1
lea ecx, [esp + 0x3c]
call fcn.0044ea77
or dword [esp + 0x74], 0xffffffff
lea ecx, [esp + 0x4c]
push 0
push 1
call fcn.0044ea77
lea eax, [esi + 0x3c]
cmp dword [eax + 0x14], 8
mov dword [esp + 0x18], eax
jb 0x46850b
mov eax, dword [eax]
mov dword [esp + 0x18], eax
lea ebp, [esi + 0x84]
cmp dword [ebp + 0x14], 8
jb 0x46851a
mov ebp, dword [ebp]
lea edx, [esi + 0x24]
cmp dword [edx + 0x14], 8
jb 0x468525
mov edx, dword [edx]
lea ebx, [esi + 0xc]
cmp dword [ebx + 0x14], 8
jb 0x468536
mov eax, dword [ebx]
mov dword [esp + 0x14], eax
jmp 0x46853a
mov dword [esp + 0x14], ebx
mov ecx, dword [edi + 0x70c]
push 0
push dword [esp + 0x1c]
mov eax, dword [ecx]
push ebp
push dword [esi + 8]
push 0x565264
push edx
push dword [esp + 0x2c]
call dword [eax + 0xc]
mov ebp, 0x5952f0
push ebp
mov dword [esp + 0x18], ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
mov ecx, 0x595310
mov dword [esp + 0x78], 3
call fcn.00464dd5
push ebp
inc dword [eax]
or dword [esp + 0x78], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x7c]
mov esi, dword [esi]
cmp dword [edi + 0x704], esi
jne 0x46843e
mov esi, 0x565268
push esi
call fcn.00450d55
pop ecx
push eax
push esi
lea ecx, [edi + 0x5b0]
call fcn.00450ce8
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.00502653
add esp, 0x64
ret 4
Function at 0x46860c
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x14
push edi
mov edi, ecx
cmp dword [edi + 0x70c], 0
je 0x46872b
mov eax, dword [edi + 0x704]
push esi
mov esi, dword [eax]
cmp eax, esi
je 0x46872a
push ebx
push ebp
mov ebp, dword [esp + 0x28]
cmp dword [esi + 8], ebp
jne 0x46871a
push ebp
mov ecx, edi
call fcn.004717ae
test al, al
je 0x468670
lea eax, [esi + 0x19c]
cmp dword [eax + 0x14], 8
jb 0x468659
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x468670
and dword [esi + 0x210], 0
jmp 0x46871a
lea ecx, [esi + 8]
call fcn.00467429
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x18]
lea ebx, [edi + 0x748]
push eax
mov ecx, ebx
call fcn.00471d2f
mov ecx, dword [ebx]
mov eax, dword [esp + 0x14]
cmp eax, ecx
je 0x4686a8
cmp ebp, dword [eax + 0x10]
jl 0x4686a8
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
jmp 0x4686b0
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x1c]
mov eax, dword [eax]
cmp eax, ecx
je 0x4686c3
push eax
lea eax, [esp + 0x24]
mov ecx, ebx
push eax
call fcn.0044da21
push 8
lea eax, [esi + 0x3c]
pop ecx
mov dword [esp + 0x10], eax
cmp dword [eax + 0x14], ecx
jb 0x4686d8
mov eax, dword [eax]
mov dword [esp + 0x10], eax
lea ebp, [esi + 0x84]
cmp dword [ebp + 0x14], ecx
jb 0x4686e6
mov ebp, dword [ebp]
lea ebx, [esi + 0x24]
cmp dword [ebx + 0x14], ecx
jb 0x4686f0
mov ebx, dword [ebx]
lea edx, [esi + 0xc]
cmp dword [edx + 0x14], ecx
jb 0x4686fa
mov edx, dword [edx]
mov ecx, dword [edi + 0x70c]
push 0
push dword [esp + 0x14]
mov eax, dword [ecx]
push ebp
push dword [esi + 8]
push 0x56526c
push ebx
push edx
call dword [eax + 0xc]
mov ebp, dword [esp + 0x28]
mov esi, dword [esi]
cmp dword [edi + 0x704], esi
jne 0x468636
pop ebp
pop ebx
pop esi
pop edi
add esp, 0x14
ret 4
Function at 0x46f6c7
Capabilities:
Create process on windows

Disassembly:
push 0x64
mov eax, 0x53086e
call fcn.00507844
lea ecx, [ebp - 0x40]
call fcn.00482162
xor ebx, ebx
lea ecx, [ebp - 0x58]
push str._startmodel:floatmode
mov dword [ebp - 4], ebx
call fcn.00450d79
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 [0x5952dc], ebx
je 0x46f787
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x70]
call fcn.00480cb6
mov esi, eax
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00480cb6
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 0x10
jb 0x46f746
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x46f74e
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 [0x5952dc]
call fcn.004801e7
add esp, 0x1c
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.0044ea77
push ebx
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.0044ea77
push str.prodstarttime
lea ecx, [ebp - 0x28]
call fcn.0044ea4a
push ebx
mov byte [ebp - 4], 4
call fcn.00503b6e
pop ecx
push edx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00462aa3
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0044ea77
push str.prodstartcode
lea ecx, [ebp - 0x28]
call fcn.0044ea4a
push edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
call fcn.00462a42
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0044ea77
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.004510af
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.004510af
call fcn.005077f3
ret
Function at 0x470246
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x530a92
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58e700]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x54]
lea eax, [edi + 0x538]
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x4c], ebx
push eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], ebx
call fcn.0044f814
xor ebp, ebp
mov dword [esp + 0x4c], ebx
inc ebp
mov dword [esp + 0x14], ebp
cmp dword [esi + 0x10], ebx
jne 0x4702c1
lea eax, [edi + 0x274]
mov ecx, esi
push eax
call fcn.0045105a
cmp dword [esi + 0x10], ebx
je 0x470361
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
push esi
call fcn.0044f814
sub esp, 0x18
mov dword [esp + 0x7c], ebp
mov ecx, esp
push str._localappdata_
call fcn.00450d79
mov byte [esp + 0x7c], bl
call fcn.004829ea
add esp, 0x30
test al, al
je 0x470306
lea ecx, [esp + 0x24]
call fcn.0048576a
push eax
mov ecx, esi
call fcn.00460790
jmp 0x470351
push 3
push ebx
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.004607b3
mov dword [esp + 0x4c], 2
lea eax, [esp + 0x24]
cmp dword [esp + 0x38], 8
cmovae eax, dword [esp + 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47034d
mov ebx, 0x5671f8
push ebx
call fcn.00450d55
pop ecx
push eax
push ebx
mov ecx, esi
call fcn.00450ce8
xor ebx, ebx
mov byte [esp + 0x4c], bl
push ebx
push ebp
lea ecx, [esp + 0x2c]
call fcn.004510af
cmp dword [esi + 0x10], ebx
jne 0x470380
lea eax, [esp + 0x24]
mov ecx, edi
push eax
call fcn.004703a3
push eax
mov ecx, esi
call fcn.00460790
push ebx
push ebp
lea ecx, [esp + 0x2c]
call fcn.004510af
mov eax, esi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00502653
add esp, 0x3c
ret 4
Function at 0x470595
Capabilities:
Create process on windows

Disassembly:
push 0x34
mov eax, 0x530b33
call fcn.00507844
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
call fcn.00470a72
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x30], ebx
je 0x470613
cmp dword [esi + 0x14], 8
jb 0x4705c1
mov ecx, dword [esi]
jmp 0x4705c3
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 0x56720c
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
cmp dword [0x5952dc], ebx
je 0x47067c
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.00480cb6
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x470603
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 0x47065e
cmp dword [esi + 0x14], 8
jb 0x47061d
mov eax, dword [esi]
jmp 0x47061f
mov eax, esi
push 4
push ebx
push ebx
push eax
push 0x567248
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
cmp dword [0x5952dc], ebx
je 0x47067c
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.00480cb6
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x470650
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 [0x5952dc]
call fcn.004801e7
add esp, 0x18
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.0044ea77
cmp byte [ebp + 0xc], 0
je 0x4706d9
push str.installpageopentime
lea ecx, [ebp - 0x28]
call fcn.0044ea4a
push ebx
mov byte [ebp - 4], 3
call fcn.00503b6e
pop ecx
push edx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00462aa3
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.0044ea77
push str.installpageopencode
lea ecx, [ebp - 0x28]
call fcn.0044ea4a
push edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
call fcn.00462a42
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0044ea77
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.004510af
cmp edi, 0x20
setg al
call fcn.005077f3
ret 8
Function at 0x470b95
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x530c54
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0x440], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58e700]
xor eax, esp
push eax
lea eax, [esp + 0x458]
mov dword fs:[0], eax
mov edi, dword [esp + 0x468]
xor ebx, ebx
mov esi, dword [esp + 0x46c]
xor eax, eax
mov dword [esp + 0x24], ebx
xor ebp, ebp
push 0x40e
mov word [esp + 0x48], ax
inc ebp
lea eax, [esp + 0x4a]
mov dword [esp + 0x2c], edi
push ebx
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebp
call fcn.005071d0
xor eax, eax
mov dword [esp + 0x28], 0x208
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ebx
mov word [edi], ax
mov dword [esp + 0x46c], ebx
lea ecx, [esp + 0x38]
push esi
mov edx, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths_
mov dword [esp + 0x34], ebp
call fcn.004651f7
add esp, 0x10
lea ecx, [esp + 0x20]
mov dword [esp + 0x460], ebp
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
push ecx
cmovae eax, dword [esp + 0x30]
lea ecx, [esp + 0x18]
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]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x470cb7
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x20]
push eax
push 0
push 0x5672e4
push dword [esp + 0x28]
call ebp
test eax, eax
jne 0x470cb7
lea eax, [esp + 0x44]
push eax
call esi
test eax, eax
jne 0x470d27
cmp dword [esp + 0x14], 0
je 0x470cc9
push dword [esp + 0x14]
call ebx
and dword [esp + 0x14], 0
cmp dword [esp + 0x40], 8
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x18]
push ecx
lea eax, [esp + 0x34]
cmovae eax, dword [esp + 0x34]
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 0x470d3f
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x20]
push eax
push 0
push 0x56733c
push dword [esp + 0x28]
call ebp
test eax, eax
jne 0x470d3f
lea eax, [esp + 0x44]
push eax
call esi
test eax, eax
je 0x470d3f
lea eax, [esp + 0x44]
push eax
call fcn.00450d55
pop ecx
push eax
lea eax, [esp + 0x48]
mov ecx, edi
push eax
call fcn.00450ce8
cmp dword [esp + 0x14], 0
je 0x470d51
push dword [esp + 0x14]
call ebx
and dword [esp + 0x14], 0
push 0
push 1
lea ecx, [esp + 0x34]
call fcn.004510af
mov eax, edi
mov ecx, dword [esp + 0x458]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x440]
xor ecx, esp
call fcn.00502653
add esp, 0x450
ret 8