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

Disassembly:
push 0xffffffffffffffff
push 0x496702
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4b62b0]
xor eax, esp
mov dword [esp + 0x214], eax
mov eax, dword [0x4b62b0]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
mov ecx, esi
mov dword [esp + 8], esi
mov dword [esp + 4], 0
call fcn.00415ec0
push 0x208
lea eax, [esp + 0x12]
mov dword [esp + 0x228], 0
push 0
push eax
mov dword [esp + 0x10], 1
mov word [esp + 0x18], 0
call fcn.00472c50
add esp, 0xc
push 0
push 0x10
lea ecx, [esp + 0x14]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.00415f80
mov ecx, esi
call fcn.00432120
cmp eax, 1
jb 0x465fad
mov ecx, esi
call fcn.00432120
sub eax, 1
push eax
mov ecx, esi
call fcn.0042e080
movzx ecx, word [eax]
xor eax, eax
jmp 0x465f90
cmp cx, word [eax + 0x49faec]
je 0x465fad
add eax, 2
cmp eax, 4
jb 0x465f90
push 0x4a7bdc
mov ecx, esi
call fcn.00444570
mov eax, esi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00472710
add esp, 0x224
ret

Function at 0x465fe0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x496702
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4b62b0]
xor eax, esp
mov dword [esp + 0x214], eax
mov eax, dword [0x4b62b0]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
mov ecx, esi
mov dword [esp + 8], esi
mov dword [esp + 4], 0
call fcn.00415ec0
push 0x208
lea eax, [esp + 0x12]
mov dword [esp + 0x228], 0
push 0
push eax
mov dword [esp + 0x10], 1
mov word [esp + 0x18], 0
call fcn.00472c50
add esp, 0xc
push 0
push 0x19
lea ecx, [esp + 0x14]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.00415f80
mov ecx, esi
call fcn.00432120
cmp eax, 1
jb 0x4660bd
mov ecx, esi
call fcn.00432120
sub eax, 1
push eax
mov ecx, esi
call fcn.0042e080
movzx ecx, word [eax]
xor eax, eax
jmp 0x4660a0
cmp cx, word [eax + 0x49faec]
je 0x4660bd
add eax, 2
cmp eax, 4
jb 0x4660a0
push 0x4a7bdc
mov ecx, esi
call fcn.00444570
mov eax, esi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00472710
add esp, 0x224
ret
Function at 0x4660f0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x496702
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4b62b0]
xor eax, esp
mov dword [esp + 0x214], eax
mov eax, dword [0x4b62b0]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
mov ecx, esi
mov dword [esp + 8], esi
mov dword [esp + 4], 0
call fcn.00415ec0
push 0x208
lea eax, [esp + 0x12]
mov dword [esp + 0x228], 0
push 0
push eax
mov dword [esp + 0x10], 1
mov word [esp + 0x18], 0
call fcn.00472c50
add esp, 0xc
push 0
push 2
lea ecx, [esp + 0x14]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.00415f80
mov ecx, esi
call fcn.00432120
cmp eax, 1
jb 0x4661cd
mov ecx, esi
call fcn.00432120
sub eax, 1
push eax
mov ecx, esi
call fcn.0042e080
movzx ecx, word [eax]
xor eax, eax
jmp 0x4661b0
cmp cx, word [eax + 0x49faec]
je 0x4661cd
add eax, 2
cmp eax, 4
jb 0x4661b0
push 0x4a7bdc
mov ecx, esi
call fcn.00444570
mov eax, esi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00472710
add esp, 0x224
ret

Function at 0x466200
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x496702
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4b62b0]
xor eax, esp
mov dword [esp + 0x214], eax
mov eax, dword [0x4b62b0]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
mov ecx, esi
mov dword [esp + 8], esi
mov dword [esp + 4], 0
call fcn.00415ec0
push 0x208
lea eax, [esp + 0x12]
mov dword [esp + 0x228], 0
push 0
push eax
mov dword [esp + 0x10], 1
mov word [esp + 0x18], 0
call fcn.00472c50
add esp, 0xc
push 0
push 0x17
lea ecx, [esp + 0x14]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.00415f80
mov ecx, esi
call fcn.00432120
cmp eax, 1
jb 0x4662dd
mov ecx, esi
call fcn.00432120
sub eax, 1
push eax
mov ecx, esi
call fcn.0042e080
movzx ecx, word [eax]
xor eax, eax
jmp 0x4662c0
cmp cx, word [eax + 0x49faec]
je 0x4662dd
add eax, 2
cmp eax, 4
jb 0x4662c0
push 0x4a7bdc
mov ecx, esi
call fcn.00444570
mov eax, esi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00472710
add esp, 0x224
ret

Function at 0x466b40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
call fcn.0041ba20
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
ret
Function at 0x466c60
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x497816
mov eax, dword fs:[0]
push eax
sub esp, 0x66c
mov eax, dword [0x4b62b0]
xor eax, esp
mov dword [esp + 0x668], eax
push ebx
push esi
mov eax, dword [0x4b62b0]
xor eax, esp
push eax
lea eax, [esp + 0x678]
mov dword fs:[0], eax
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call esi
test eax, eax
je 0x466e35
xor ebx, ebx
push 6
push ebx
mov dword [esp + 0x34], vtable.QMTShortCut.0
mov dword [esp + 0x38], vtable.CQMTInitializeCOMThread.0
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, ebx
jne 0x466cd5
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 1
push edi
mov dword [esp + 0x684], ebx
call esi
test eax, eax
je 0x466d97
lea eax, [esp + 0x2c]
call fcn.00469e40
test eax, eax
jl 0x466d97
mov eax, dword [esp + 0x3c]
push ebx
mov dword [esp + 0x44], 1
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push edi
push eax
call edx
push edi
mov esi, eax
lea eax, [esp + 0x48]
push 0x104
push eax
call fcn.0047583f
add esp, 0xc
cmp esi, ebx
jl 0x466d97
push 0x208
lea ecx, [esp + 0x25a]
push ebx
push ecx
mov word [esp + 0x260], bx
call fcn.00472c50
lea edx, [esp + 0x260]
add esp, 0xc
test edx, edx
je 0x466d8e
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
push ebx
push ebx
push 0x104
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
jl 0x466d8e
lea ecx, [esp + 0x254]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x466e2c
lea esi, [esp + 0x2c]
call fcn.0046a0c0
call fcn.0046a400
cmp eax, 6
jne 0x466dd6
push str.WIN7
mov esi, 0x4ba4f8
call fcn.00458e60
add esp, 4
push ebx
push ebx
push ebx
push edi
push str.startunpin
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x2c]
call fcn.00469dd0
mov eax, 1
jmp 0x466e6d
push 0x208
lea edx, [esp + 0x46a]
push ebx
push edx
mov word [esp + 0x470], bx
call fcn.00472c50
add esp, 0xc
lea eax, [esp + 0x10]
push eax
call fcn.0046a470
lea ecx, [esp + 0x464]
push ecx
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x688], 1
call fcn.0046aa20
test eax, eax
lea ecx, [esp + 0x10]
jge 0x466e39
mov byte [esp + 0x680], bl
call fcn.0046a520
lea ecx, [esp + 0x2c]
call fcn.00469dd0
xor eax, eax
jmp 0x466e6d
lea eax, [esp + 0x464]
push eax
push ecx
mov ecx, edi
call fcn.0046a5a0
xor edx, edx
test eax, eax
setge dl
lea ecx, [esp + 0x10]
mov byte [esp + 0x680], bl
mov esi, edx
call fcn.0046a520
lea ecx, [esp + 0x2c]
call fcn.00469dd0
mov eax, esi
mov ecx, dword [esp + 0x678]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x668]
xor ecx, esp
call fcn.00472710
add esp, 0x678
ret
Function at 0x4671b0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x497761
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x4b62b0]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b62b0]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov ebx, ecx
test ebx, ebx
je 0x467367
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
call ebp
test eax, eax
je 0x467367
push str.CreateSoftMgrInstallDirShortCut
mov esi, 0x4ba4f8
call fcn.00458e60
add esp, 4
push ebx
lea ecx, [esp + 0x18]
call fcn.00415f20
lea esi, [esp + 0x14]
mov dword [esp + 0x280], 0
call fcn.00466730
push 0x4a92e4
mov edi, esi
call fcn.004669d0
push ebx
lea ecx, [esp + 0x34]
call fcn.00415f20
lea esi, [esp + 0x30]
mov byte [esp + 0x280], 1
call fcn.00466730
push str.QQPCSoftMgr.exe
mov edi, esi
call fcn.004669d0
mov ecx, esi
call fcn.0041ba20
push eax
call ebp
test eax, eax
je 0x467355
lea ecx, [esp + 0x14]
call fcn.0041ba20
push eax
call ebp
test eax, eax
je 0x4672a5
mov ecx, esi
call fcn.00432550
lea ecx, [esp + 0x14]
call fcn.00432550
mov eax, 1
jmp 0x467369
lea esi, [esp + 0x4c]
call fcn.00469d70
mov ebx, 2
lea ecx, [esp + 0x14]
mov byte [esp + 0x280], bl
call fcn.0041ba20
mov esi, eax
lea eax, [esp + 0x4c]
call fcn.00469e40
test eax, eax
jl 0x46734c
push esi
lea eax, [esp + 0x68]
push 0x104
push eax
mov dword [esp + 0x6c], ebx
call fcn.0047583f
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.0041ba20
mov edx, eax
lea ecx, [esp + 0x4c]
call fcn.0046a010
test eax, eax
jl 0x46734c
lea ecx, [esp + 0x4c]
call fcn.00469f60
test eax, eax
jl 0x46734c
lea ecx, [esp + 0x4c]
call fcn.00469eb0
test eax, eax
jl 0x46734c
lea esi, [esp + 0x4c]
call fcn.0046a0c0
xor ecx, ecx
test eax, eax
setge cl
mov esi, ecx
lea ecx, [esp + 0x4c]
call fcn.00469dd0
lea ecx, [esp + 0x30]
call fcn.00432550
lea ecx, [esp + 0x14]
call fcn.00432550
mov eax, esi
jmp 0x467369
lea ecx, [esp + 0x4c]
call fcn.00469dd0
lea ecx, [esp + 0x30]
call fcn.00432550
lea ecx, [esp + 0x14]
call fcn.00432550
xor eax, eax
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.00472710
add esp, 0x270
ret
Function at 0x467660
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4988e8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4b62b0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x4b62b0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
test ebx, ebx
je 0x467758
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x467758
xor esi, esi
push ebx
lea ecx, [esp + 0x14]
call fcn.00415f20
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0
call fcn.00432120
cmp eax, 1
jb 0x467703
lea ecx, [esp + 0x10]
call fcn.00432120
sub eax, 1
push eax
lea ecx, [esp + 0x14]
call fcn.0042e080
movzx ecx, word [eax]
xor eax, eax
cmp cx, word [eax + 0x49faec]
je 0x467703
add eax, 2
cmp eax, 4
jb 0x4676e4
push 0x4a7bdc
lea ecx, [esp + 0x14]
call fcn.00444570
mov eax, dword [esi + 0x4b7724]
push eax
lea edi, [esp + 0x14]
call fcn.004669d0
mov ecx, edi
call fcn.0041ba20
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x467734
mov ecx, edi
call fcn.0041ba20
mov edi, eax
call fcn.00466c60
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.00432550
add esi, 4
cmp esi, 0xc
jb 0x4676a9
mov eax, 1
jmp 0x46775a
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00472710
add esp, 0x30
ret
Function at 0x467b70
Capabilities:
Get storage device properties

Disassembly:
push 0xffffffffffffffff
push 0x4953f2
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x4b62b0]
xor eax, esp
mov dword [esp + 0x418], eax
push esi
push edi
mov eax, dword [0x4b62b0]
xor eax, esp
push eax
lea eax, [esp + 0x428]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x430], edi
push 0x4a8a64
mov ecx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], edi
call fcn.0040f650
push edi
push edi
push 3
push edi
push 3
push edi
mov dword [esp + 0x448], edi
push str..PhysicalDrive0
mov dword [esp + 0x28], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x467c6c
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push 0x400
mov dword [esp + 0x24], eax
lea eax, [esp + 0x28]
push edi
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call fcn.00472c50
add esp, 0xc
push edi
lea ecx, [esp + 0x14]
push ecx
push 0x400
lea edx, [esp + 0x30]
push edx
push 0xc
lea eax, [esp + 0x2c]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x467c65
mov edi, dword [esp + 0x34]
movsx ecx, byte [esp + edi + 0x24]
lea edi, [esp + edi + 0x24]
push ecx
call fcn.00477ff2
add esp, 4
test eax, eax
je 0x467c65
push edi
mov ecx, ebx
call fcn.0040f710
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [esp + 0x428]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.00472710
add esp, 0x428
ret
Function at 0x467f30
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x49769c
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x4b62b0]
xor eax, esp
mov dword [esp + 0xac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b62b0]
xor eax, esp
push eax
lea eax, [esp + 0xc4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xd4]
xor esi, esi
cmp ebp, esi
jne 0x467f7f
xor eax, eax
jmp 0x4680da
lea ebx, [esp + 0x14]
call fcn.00467b70
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0xd0], esi
call fcn.00467ca0
add esp, 4
lea ecx, [esp + 0x20]
call fcn.0040f5f0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0xd4], 2
call fcn.00467da0
add esp, 8
mov byte [esp + 0xcc], 3
mov ecx, ebx
mov dword [esp + 0x24], 0x67452301
mov dword [esp + 0x28], 0xefcdab89
mov dword [esp + 0x2c], 0x98badcfe
mov dword [esp + 0x30], 0x10325476
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call fcn.00402ac0
mov esi, eax
mov ecx, esi
call fcn.00401490
test al, al
je 0x468012
mov eax, dword [esi + 4]
push eax
mov ecx, ebx
call fcn.00411700
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x14]
call fcn.0040f780
push eax
push esi
lea edi, [esp + 0x2c]
call fcn.0046e170
add esp, 8
lea ecx, [esp + 0x1c]
call fcn.00402ac0
mov esi, eax
mov ecx, esi
call fcn.00401490
test al, al
je 0x468050
mov ecx, dword [esi + 4]
push ecx
lea ecx, [esp + 0x20]
call fcn.00411700
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
call fcn.0040f780
push eax
push esi
lea edi, [esp + 0x2c]
call fcn.0046e170
add esp, 8
lea ecx, [esp + 0x18]
call fcn.00402ac0
mov esi, eax
mov ecx, esi
call fcn.00401490
test al, al
je 0x46808e
mov edx, dword [esi + 4]
push edx
lea ecx, [esp + 0x1c]
call fcn.00411700
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x18]
call fcn.0040f780
push eax
push esi
lea edi, [esp + 0x2c]
call fcn.0046e170
push ebp
mov esi, edi
call fcn.0046e230
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.004023a0
lea ecx, [esp + 0x20]
call fcn.004023a0
lea ecx, [esp + 0x1c]
call fcn.004023a0
lea ecx, [esp + 0x14]
call fcn.004023a0
mov eax, 1
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.00472710
add esp, 0xbc
ret
Function at 0x46a110
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x4b62b0]
xor eax, esp
mov dword [esp + 0x20c], eax
cmp dword [0x4ba5c0], 0
jne 0x46a1a3
push esi
push 0x208
lea eax, [esp + 0xa]
push 0
push eax
mov word [esp + 0x10], 0
call fcn.00472c50
add esp, 0xc
push 0x104
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0xffffffffffffffff
push 0x4a97b0
lea edx, [esp + 0xc]
push 0x104
push edx
call fcn.0047595b
add esp, 0x10
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x46a1a2
push str.GetLocaleInfoEx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
neg eax
sbb eax, eax
add eax, 2
push esi
mov dword [0x4ba5c0], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
mov ecx, dword [esp + 0x20c]
xor eax, eax
cmp dword [0x4ba5c0], 1
sete al
xor ecx, esp
call fcn.00472710
add esp, 0x210
ret
Function at 0x46a1d0
Capabilities:
Check os version

Disassembly:
sub esp, 0x124
mov eax, dword [0x4b62b0]
xor eax, esp
mov dword [esp + 0x120], eax
push edi
push 0x118
lea eax, [esp + 0x10]
push 0
push eax
call fcn.00472c50
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
mov dword [esi], 0
mov dword [esp + 0xc], 0x11c
call edi
test eax, eax
jne 0x46a243
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], 0x114
call edi
test eax, eax
jne 0x46a243
xor eax, eax
pop edi
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.00472710
add esp, 0x124
ret
push 0x80
lea eax, [esp + 0x20]
push str.Service_Pack_1
push eax
call fcn.004782a8
add esp, 0xc
test eax, eax
jne 0x46a263
or dword [esi], 1
jmp 0x46a2c1
push 0x80
lea ecx, [esp + 0x20]
push str.Service_Pack_2
push ecx
call fcn.004782a8
add esp, 0xc
test eax, eax
jne 0x46a283
or dword [esi], 2
jmp 0x46a2c1
push 0x80
lea edx, [esp + 0x20]
push str.Service_Pack_3
push edx
call fcn.004782a8
add esp, 0xc
test eax, eax
jne 0x46a2a3
or dword [esi], 3
jmp 0x46a2c1
push 0x80
lea eax, [esp + 0x20]
push str.Service_Pack_4
push eax
call fcn.004782a8
add esp, 0xc
test eax, eax
jne 0x46a2c1
or dword [esi], 4
shl dword [esi], 0x10
call fcn.0046a110
test eax, eax
je 0x46a2fc
cmp dword [esp + 0x18], 2
jne 0x46a22b
cmp dword [esp + 0xc], 6
jne 0x46a22b
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x46a32d
test eax, eax
jne 0x46a22b
or dword [esi], 8
jmp 0x46a3e0
mov eax, dword [esp + 0x18]
sub eax, 0
je 0x46a3e0
sub eax, 1
je 0x46a3ba
sub eax, 1
jne 0x46a3e0
mov eax, dword [esp + 0xc]
cmp eax, 6
jne 0x46a345
mov eax, dword [esp + 0x10]
cmp eax, 1
jne 0x46a335
or dword [esi], 9
jmp 0x46a3e0
test eax, eax
jne 0x46a3e0
or dword [esi], 8
jmp 0x46a3e0
cmp eax, 5
jne 0x46a36e
mov eax, dword [esp + 0x10]
cmp eax, 2
jne 0x46a35b
or dword [esi], 7
jmp 0x46a3e0
cmp eax, 1
jne 0x46a365
or dword [esi], 6
jmp 0x46a3e0
test eax, eax
jne 0x46a3e0
or dword [esi], 5
jmp 0x46a3e0
cmp eax, 4
ja 0x46a3e0
or dword [esi], 4
cmp eax, 4
jne 0x46a3e0
lea ecx, [esp + 0x1c]
push str.Service_Pack_6
push ecx
call fcn.004722da
add esp, 8
test eax, eax
jne 0x46a3e0
lea edx, [esp + 4]
push edx
push 1
push eax
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionHotfixQ246009
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x46a3e0
cmp dword [esp + 0xc], 4
jne 0x46a3e0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x46a3ce
or dword [esi], 1
jmp 0x46a3e0
cmp eax, 0xa
jne 0x46a3d8
or dword [esi], 2
jmp 0x46a3e0
cmp eax, 0x5a
jne 0x46a3e0
or dword [esi], 3
mov ecx, dword [esp + 0x124]
pop edi
xor ecx, esp
mov eax, 1
call fcn.00472710
add esp, 0x124
ret
Function at 0x46afc0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x495238
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b62b0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
lea ecx, [esp + 0x14]
call fcn.0040f5f0
mov eax, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x24], esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x46b000
sub eax, edx
sar eax, 1
mov ebx, eax
cmp ebx, esi
jg 0x46b042
lea eax, [esp + 0x14]
push eax
mov ecx, dword [esp + 0x30]
call fcn.0040f6e0
lea ecx, [esp + 0x14]
call fcn.004023a0
mov al, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
lea edi, [ebx + ebx]
push edi
lea ecx, [esp + 0x18]
call fcn.00410be0
test ebx, ebx
mov ebp, eax
jle 0x46b079
jmp 0x46b060
mov eax, dword [esp + 0x30]
cmp word [eax + esi*2], 0x80
jae 0x46b08a
mov cl, byte [eax + esi*2]
mov byte [esi + ebp], cl
add esi, 1
cmp esi, ebx
jl 0x46b060
push ebx
lea ecx, [esp + 0x18]
call fcn.00429000
lea edx, [esp + 0x14]
push edx
jmp 0x46b01a
lea ecx, [esp + 0x18]
push ecx
push 0
sub edi, esi
push edi
lea edx, [esi + ebp]
push edx
mov ecx, ebx
sub ecx, esi
push ecx
lea edx, [eax + esi*2]
push edx
push 0
push 0x3a8
mov dword [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
jg 0x46b0e4
xor edi, edi
cmp esi, ebx
jge 0x46b0e4
mov eax, dword [esp + 0x30]
cmp word [eax + esi*2], 0x80
jb 0x46b0d4
mov byte [edi + ebp], 0x3f
jmp 0x46b0da
mov al, byte [eax + esi*2]
mov byte [edi + ebp], al
add esi, 1
add edi, 1
cmp esi, ebx
jl 0x46b0c2
lea ecx, [edi + esi]
push ecx
lea ecx, [esp + 0x18]
call fcn.00429000
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x14]
push edx
call fcn.0040f6e0
lea ecx, [esp + 0x14]
call fcn.004023a0
test edi, edi
setg al
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x46b250
Capabilities:
Check for time delay via gettickcount
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x4b62b0]
xor eax, esp
mov dword [esp + 0x20c], eax
cmp dword [esi + 4], 0
jne 0x46b2f8
push edi
push 0x208
lea eax, [esp + 0xa]
push 0
push eax
mov word [esp + 0x10], 0
call fcn.00472c50
add esp, 0xc
push 0x104
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [esp + 4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0xc
push 0x4a9940
lea eax, [esp + 0xc]
push 0x104
push eax
call fcn.0047595b
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x10
call edi
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 4], eax
call edi
cmp dword [esi + 4], 0
pop edi
jne 0x46b2f8
or dword [esi + 0x1c], 1
xor eax, eax
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00472710
add esp, 0x210
ret
mov ecx, dword [esp + 0x20c]
xor ecx, esp
mov eax, 1
call fcn.00472710
add esp, 0x210
ret