joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a630
Capabilities:
Get file version info

Disassembly:
mov al, byte [0x48410c]
sub esp, 0x108
push ebx
xor ebx, ebx
cmp al, bl
jne 0x44a64f
mov eax, dword [0x4b5c90]
pop ebx
add esp, 0x108
ret
push ebp
push esi
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], bl
mov byte [0x48410c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
call fcn.00463fe7
mov ecx, dword [eax]
add esp, 4
lea edx, [esp + 0x18]
push ecx
push str._s..QQGame.exe
push 0xff
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x18]
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
jbe 0x44a75d
push esi
call sub.MFC42.DLL_operatornew
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x44a75d
push ebp
push esi
lea ecx, [esp + 0x20]
push ebx
push ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x44a754
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
push 0x4808a4
push ebp
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x44a754
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
mov edi, dword [ecx + 0xc]
mov esi, eax
and eax, 0xffff
mov ecx, edi
mov ebx, eax
shr ecx, 0x10
mov eax, 0x51eb851f
mul ecx
shr edx, 5
shr esi, 0x10
lea eax, [edx + edx*4]
lea eax, [eax + eax*4]
shl eax, 2
sub ecx, eax
lea eax, [esi + esi*4]
and edi, 0xffff
lea eax, [eax + eax*4]
lea eax, [ebx + eax*4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*2]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
lea eax, [ecx + edx*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [edi + eax*4]
mov dword [0x4b5c90], ecx
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [0x4b5c90]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret

Function at 0x44b3f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46e208
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
xor eax, eax
mov dword [esp], eax
mov dword [esp], 0x2a
mov dword [esp + 4], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], edx
call fcn.00462d70
lea eax, [esp]
push 3
push eax
push 0x2a
push 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0
call fcn.00462df0
lea ecx, [esp + 0xc]
push ecx
mov ecx, 0x4a9188
call fcn.00462c20
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00462db0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
Function at 0x44b490
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46e228
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov ecx, dword [esp + 0x30]
xor eax, eax
mov dword [esp], eax
push esi
mov dword [esp + 8], eax
mov dword [esp + 8], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x2c
call fcn.00462d70
lea edx, [esp + 4]
push 3
push edx
push 0x2b
push 1
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 0
call fcn.00462df0
lea eax, [esp + 0x10]
mov ecx, 0x4a9188
push eax
call fcn.00462c20
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00462db0
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 4

Function at 0x44b930
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x400
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 5]
mov byte [esp + 4], 0
lea edx, [esp + 4]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x40c]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x410]
push eax
push ecx
push 0x3ff
push 0x400
push edx
call dword [0x4806b8]
add esp, 0x14
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
add esp, 0x400
ret
Function at 0x44bcb0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x400
push ebx
push esi
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
mov edx, dword [esp + 0x41c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x410]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x41c]
push 0x400
push ecx
mov ecx, dword [esp + 0x420]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 0xc]
xor edi, edi
xor esi, esi
lea edx, [esp + 0xc]
test al, al
lea ecx, [esp + 0xc]
je 0x44bd36
cmp al, 0x20
je 0x44bd27
cmp al, 9
je 0x44bd27
test edi, edi
jne 0x44bd2e
mov edi, 1
mov edx, ecx
jmp 0x44bd2e
cmp edi, 1
jne 0x44bd2e
mov esi, ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x44bd12
mov ebx, dword [esp + 0x420]
test edx, edx
mov byte [ebx], 0
je 0x44bda5
test esi, esi
jne 0x44bd7f
test ebx, ebx
je 0x44bda5
mov esi, dword [esp + 0x424]
test esi, esi
jle 0x44bda5
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, esi
jae 0x44bda5
push edx
push esi
push ebx
call dword [0x4806cc]
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x400
ret 0x18
sub esi, edx
test ebx, ebx
je 0x44bda5
test esi, esi
jle 0x44bda5
mov eax, dword [esp + 0x424]
cmp eax, esi
jle 0x44bda5
push esi
push edx
push eax
push ebx
call dword [0x4806c8]
add esp, 0x10
mov byte [esi + ebx], 0
pop edi
pop esi
pop ebx
add esp, 0x400
ret 0x18
Function at 0x44bdc0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x108
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
mov ebx, dword [esp + 0x11c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push ebx
lea eax, [esp + 0x18]
push 0x104
push eax
push 0
push str.Path
push str.Redirect
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x14]
lea ecx, [esp + 0x14]
test edx, edx
je 0x44be2d
mov al, byte [esp + 0x14]
test al, al
je 0x44be2d
cmp al, 0x20
je 0x44be25
cmp al, 9
jne 0x44be70
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x44be1d
mov esi, dword [esp + 0x120]
test esi, esi
je 0x44be63
mov edx, dword [esp + 0x124]
test edx, edx
jle 0x44be63
test ebx, ebx
je 0x44be63
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, edx
jae 0x44be63
push ebx
push edx
push esi
call dword [0x4806cc]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc
lea eax, [esp + 0x14]
push 0x3a
push eax
call dword [sym.imp.MSVCRT.dll__mbschr]
add esp, 8
test eax, eax
jne 0x44bf36
cmp byte [esp + 0x14], 0x5c
je 0x44bf36
test ebx, ebx
je 0x44be63
mov edi, dword [esp + 0x120]
test edi, edi
je 0x44be63
mov ebp, dword [esp + 0x124]
test ebp, ebp
jle 0x44be63
mov esi, dword [sym.imp.MSVCRT.dll__mbsrchr]
push 0x5c
push ebx
call esi
add esp, 8
test eax, eax
jne 0x44bec7
push 0x2f
push ebx
call esi
add esp, 8
test eax, eax
mov byte [edi], 0
je 0x44beee
sub eax, ebx
inc eax
mov esi, eax
test esi, esi
jle 0x44bf19
cmp ebp, esi
jle 0x44bf19
push esi
push ebx
push ebp
push edi
call dword [0x4806c8]
add esp, 0x10
mov byte [esi + edi], 0
jmp 0x44bf19
mov esi, dword [esp + 0x10]
push ebp
push ebx
mov ecx, esi
call fcn.0044c120
test eax, eax
je 0x44bf0b
push ebx
push ebp
push edi
call dword [0x4806cc]
add esp, 0xc
push 0x4808a4
push ebp
push edi
mov ecx, esi
call fcn.0044c1d0
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push ebp
push edi
call fcn.0044c1d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc
mov edx, dword [esp + 0x124]
mov eax, dword [esp + 0x120]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.0044bdc0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc
Function at 0x44e590
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46e7d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push esi
push edi
push 0
push 0
mov edi, ecx
push 0
push 0x3e7
lea eax, [esp + 0x28]
push edi
lea esi, [edi + 0xaf34]
push eax
push 0x50800000
push 0x4872c8
mov ecx, esi
mov dword [esp + 0x38], 0x1cc
mov dword [esp + 0x3c], 0xf0
mov dword [esp + 0x40], 0x2b2
mov dword [esp + 0x44], 0x21c
call fcn.00462080
push 7
push 0x11
mov ecx, esi
call fcn.00461f80
push 1
mov ecx, esi
call fcn.00461cf0
lea ecx, [edi + 0xb010]
push ecx
mov ecx, esi
call fcn.00461d80
push 0xf6c7ad
push 6
mov ecx, esi
call fcn.00461f80
push 0
push 5
mov ecx, esi
call fcn.00461f80
push 0xa16606
push 0xc
mov ecx, esi
call fcn.00461f80
push 0xf6c7ad
push 4
mov ecx, esi
call fcn.00461f80
push 0
push 3
mov ecx, esi
call fcn.00461f80
push 0
push 0xe
mov ecx, esi
call fcn.00461f80
push 0x4d699b
push 0xf
mov ecx, esi
call fcn.00461f80
lea edx, [esp + 0x28]
mov eax, 0xa
push edx
mov ecx, esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0x3e8
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x34], 0x1e
mov dword [esp + 0x2c], eax
call fcn.00461e40
lea eax, [esp + 0xc]
push eax
call fcn.00463fe7
add esp, 4
push str.picplayerlisttitle_bg.bmp
lea ecx, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x50], 0
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], 2
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 8]
mov ecx, esi
push edx
push 2
call fcn.00461fb0
lea eax, [esp + 0x14]
push eax
call fcn.00463fe7
add esp, 4
push str.picplayerlisttitle_line.bmp
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x50], 3
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x48], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 2
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 8]
mov ecx, esi
push edx
push 1
call fcn.00461fb0
push 0x12
push 0
push 0x4872c8
mov ecx, esi
call fcn.00461e60
push 0x3c
push 0x481874
mov ecx, esi
call fcn.00461af0
push 0x3c
push 0x484e48
mov ecx, esi
call fcn.00461ac0
push 0x3c
push 0x484e40
mov ecx, esi
call fcn.00461af0
push 0x3c
push 0x484e38
mov ecx, esi
call fcn.00461ac0
push 0x3c
push 0x482d78
mov ecx, esi
call fcn.00461ac0
push 0x3c
push 0x484e2c
mov ecx, esi
call fcn.00461af0
push 2
push 3
mov ecx, esi
call fcn.00461e10
mov ecx, esi
call fcn.00461b50
push 4
mov ecx, esi
call fcn.00461eb0
push 1
mov ecx, esi
call fcn.00461ed0
push esi
lea ecx, [edi + 0xaf74]
call fcn.00462440
push 0xd200a3
push str.__L___s10_
mov ecx, esi
call fcn.00461d10
push 0xd200a3
push str.http:__qgamepailei.gamebbs.qq.com
mov ecx, esi
call fcn.00461d10
lea ecx, [esp + 8]
mov dword [esp + 0x44], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x40
ret
Function at 0x44eff0
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, ecx
push eax
mov ecx, 0x4a9190
call fcn.004464c0
mov esi, eax
test esi, esi
jne 0x44f00e
pop edi
pop esi
ret 8
test byte [esi + 0x20], 0x40
je 0x44f028
mov ecx, dword [esi]
add edi, 0xaf34
push 4
push ecx
mov ecx, edi
call fcn.00461c50
jmp 0x44f03a
mov edx, dword [esi]
add edi, 0xaf34
push 4
push edx
mov ecx, edi
call fcn.00461c80
mov eax, dword [esi + 0x20]
push 3
test eax, 0x10000000
je 0x44f052
mov eax, dword [esi]
mov ecx, edi
push eax
call fcn.00461c50
jmp 0x44f05c
mov ecx, dword [esi]
push ecx
mov ecx, edi
call fcn.00461c80
mov eax, dword [esi + 0x20]
push 2
test eax, 0x20000000
je 0x44f074
mov edx, dword [esi]
mov ecx, edi
push edx
call fcn.00461c50
jmp 0x44f07e
mov eax, dword [esi]
mov ecx, edi
push eax
call fcn.00461c80
mov eax, dword [esi + 0x20]
push 8
test eax, 0x40000000
je 0x44f096
mov ecx, dword [esi]
push ecx
mov ecx, edi
call fcn.00461c50
jmp 0x44f0a0
mov edx, dword [esi]
mov ecx, edi
push edx
call fcn.00461c80
mov eax, dword [esi + 0x20]
push 8
test eax, 0x80000000
je 0x44f0c0
mov eax, dword [esi]
mov ecx, edi
push eax
call fcn.00461c50
pop edi
mov eax, 1
pop esi
ret 8
mov ecx, dword [esi]
push ecx
mov ecx, edi
call fcn.00461c80
pop edi
mov eax, 1
pop esi
ret 8

Function at 0x44ffc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46e938
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
xor eax, eax
mov dword [esp], eax
mov dword [esp], 0xf
mov dword [esp + 4], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], edx
call fcn.00462d70
lea eax, [esp]
push 2
push eax
push 0xf
push 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0
call fcn.00462df0
lea ecx, [esp + 0xc]
push ecx
mov ecx, 0x4a9188
call fcn.00462c20
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00462db0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 8

Function at 0x4501e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46e998
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
xor eax, eax
mov dword [esp], eax
mov dword [esp], 0x10
mov dword [esp + 4], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], edx
call fcn.00462d70
lea eax, [esp]
push 2
push eax
push 0x10
push 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0
call fcn.00462df0
lea ecx, [esp + 0xc]
push ecx
mov ecx, 0x4a9188
call fcn.00462c20
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00462db0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
Function at 0x452500
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46eb58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov ecx, dword [esp + 0x30]
xor eax, eax
mov dword [esp], eax
push esi
mov dword [esp + 8], eax
mov dword [esp + 8], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0xe
call fcn.00462d70
lea edx, [esp + 4]
push 0xffffffffffffffff
push edx
push 0xe
push 1
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 0
call fcn.00462df0
lea eax, [esp + 0x10]
mov ecx, 0x4a9188
push eax
call fcn.00462c20
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00462db0
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x45ea50
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebp
push esi
push 0x48142c
push eax
xor ebp, ebp
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x45ea80
push eax
push eax
push str.Fail_to_open_file
call sub.MFC42.DLL_AfxMessageBox_1
mov eax, ebp
pop esi
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push edi
mov edi, dword [esp + 0x1c]
push esi
push 1
push 4
push edi
call ebx
mov eax, dword [edi]
add esp, 0x10
test eax, eax
jbe 0x45eadf
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x1c]
add esp, 4
test eax, eax
mov dword [ecx], eax
je 0x45ead4
mov edx, dword [edi]
push esi
push 1
push edx
push eax
call ebx
add esp, 0x10
mov ebp, 1
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, ebp
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
push 0
push 0
push str.new_data_failed
jmp 0x45eae8
push 0
push 0
push str.not_right_data_size
call sub.MFC42.DLL_AfxMessageBox_1
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, ebp
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x462080
Capabilities:
Check os version
Create process on windows

Disassembly:
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
sub esp, 0x2e0
push esi
push edi
push eax
mov eax, dword [esp + 0x304]
push edx
mov edx, dword [esp + 0x304]
push eax
mov eax, dword [esp + 0x304]
push edx
mov edx, dword [esp + 0x304]
push eax
mov eax, dword [esp + 0x304]
push edx
mov edx, dword [esp + 0x304]
push eax
push edx
push 0x474f78
call sub.MFC42.DLL_CWnd::CreateControl
test eax, eax
je 0x4620e0
pop edi
mov eax, 1
pop esi
add esp, 0x2e0
ret 0x20
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xe1]
mov byte [esp + 0xe0], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xe0]
push 0x103
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov esi, dword [sym.imp.MSVCRT.dll__mbsrchr]
lea ecx, [esp + 0xe0]
push 0x5c
push ecx
call esi
add esp, 8
test eax, eax
je 0x462278
lea edx, [esp + 0xe0]
push 0x5c
push edx
mov byte [eax], 0
call esi
add esp, 8
test eax, eax
je 0x462278
mov byte [eax], 0
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1e5]
mov byte [esp + 0x1e4], 0
mov esi, dword [sym.imp.MSVCRT.dll__snprintf]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xe0]
push str.ClientCommon1013RegDll.exe
push eax
push 0x48067c
lea ecx, [esp + 0x1f0]
push 0x103
push ecx
call esi
lea edx, [esp + 0x1f8]
push 0
push edx
call dword [sym.imp.MSVCRT.dll__access]
add esp, 0x1c
test eax, eax
jne 0x462278
lea eax, [esp + 0x1e4]
lea ecx, [esp + 0xe0]
push eax
push str.__s_
push 0x103
push ecx
call esi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x18]
add esp, 0x10
rep stosd dword es:[edi], eax
mov ecx, 0x27
lea edi, [esp + 0x44]
mov dword [esp + 0x10], eax
lea edx, [esp + 0xe0]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x44]
mov dword [esp + 8], 0x3c
push eax
mov dword [esp + 0x10], 0x40
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], str.Regedit
mov dword [esp + 0x24], 0x4872c8
mov dword [esp + 0x28], 1
mov dword [esp + 0x48], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x462278
cmp dword [esp + 0x54], 2
jne 0x462244
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], str.runas
cmp eax, 6
jae 0x46224c
mov dword [esp + 0x14], str.open
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov edx, dword [esp + 0x40]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push 0x486a00
push 0x4869dc
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
xor eax, eax
pop esi
add esp, 0x2e0
ret 0x20
Function at 0x4624b0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46fae0
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x1c]
lea ebx, [esi + 0x14]
sub eax, ecx
jne 0x4624ff
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x24]
sub ecx, eax
jne 0x4624ff
mov edx, dword [esi]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
mov eax, dword [esi]
push edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi]
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov eax, dword [esi + 0x10]
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub ecx, eax
push 1
push ecx
mov ecx, dword [esp + 0x1c]
sub edx, ecx
push edx
push eax
mov eax, dword [esi]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
lea edi, [esi + 0x44]
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::DeleteObject
push ebx
mov ebx, dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
call ebx
push eax
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::Attach
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x473490
lea ecx, [esi + 0x24]
mov dword [esp + 0x2c], 0
push ecx
call ebx
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
neg eax
sbb eax, eax
and eax, edx
test edi, edi
jne 0x4625a3
xor ecx, ecx
jmp 0x4625a6
mov ecx, dword [edi + 4]
mov edx, dword [esi + 0x48]
push 2
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CombineRgn]
test edi, edi
je 0x4625bb
mov edi, dword [edi + 4]
mov eax, dword [esi]
push 1
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov ecx, dword [esi]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esp + 0xc], 0x471e68
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x462ce0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46fb18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.00462d70
mov ecx, dword [esp + 0x30]
xor eax, eax
mov dword [esp + 4], eax
lea edx, [esp + 4]
push 0xffffffffffffffff
mov dword [esp + 0xc], eax
push edx
mov dword [esp + 0x10], ecx
push 0xb
push 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0
mov dword [esp + 0x14], 0xb
call fcn.00462df0
mov eax, dword [esi]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call dword [eax + 4]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00462db0
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x4643cd
Capabilities:
Get file version info

Disassembly:
mov eax, 0x46fc58
call fcn.00469a4c
sub esp, 0x24
push ebx
push esi
xor ebx, ebx
lea ecx, [ebp + 8]
push ebx
push ebx
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::GetBuffer
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
lea ecx, [ebp - 0x18]
mov esi, eax
call sub.MFC42.DLL_CString::CString_2
cmp esi, ebx
mov byte [ebp - 4], 1
jne 0x46440b
or esi, 0xffffffff
jmp 0x464497
lea eax, [esi + 2]
push edi
push eax
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp - 0x10], eax
push eax
push esi
push ebx
push ebx
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4808a4
push dword [ebp - 0x10]
call sub.VERSION.dll_VerQueryValueA
mov ecx, dword [ebp - 0x14]
push 0x64
xor edx, edx
pop ebx
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov esi, eax
mov edi, ecx
and eax, 0xffff
push dword [ebp - 0x10]
shr edi, 0x10
mov dword [ebp - 0x2c], eax
mov eax, edi
div ebx
and ecx, 0xffff
shr esi, 0x10
mov dword [ebp - 0x20], ecx
mov ebx, eax
imul eax, eax, 0x64
sub edi, eax
call sub.MFC42.DLL_operatordelete
imul esi, esi, 0x64
add esi, dword [ebp - 0x2c]
pop ecx
lea eax, [esi + esi*4]
lea esi, [ebx + eax*2]
imul esi, esi, 0x64
add esi, edi
pop edi
imul esi, esi, 0x64
add esi, dword [ebp - 0x20]
xor ebx, ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x466643
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
lea eax, [ebp + 0xc]
push esi
push eax
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x46669f
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x104
push eax
lea eax, [ebp - 0x104]
push eax
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push dword [ebp + 0x14]
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret