joyce8/EMBER2024-capa huggingface dataset:
Function at 0x472f40
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x4e5830
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
push esi
push edi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x820]
mov dword fs:[0], eax
mov dword [esp + 0x828], 1
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
test edi, edi
je 0x4730a7
push 4
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x834
push eax
push 2
push edi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
cmp dword [esp + 0x844], 8
lea eax, [esp + 0x830]
push 0
cmovae eax, dword [esp + 0x834]
push 0
push 3
push 0
push 0
push 0x50
push eax
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ebx, eax
test ebx, ebx
jne 0x472ff4
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x4730a7
cmp dword [esp + 0x85c], 8
lea eax, [esp + 0x848]
push 0
cmovae eax, dword [esp + 0x84c]
push 0x4280000
push 0
push 0
push str.HTTP_1.1
push eax
push 0x4fdbac
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
test esi, esi
jne 0x47303c
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push edi
call esi
jmp 0x4730a7
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x24], ax
lea eax, [esp + 0x26]
push eax
call fcn.004cb9a0
add esp, 0xc
mov dword [esp + 0x14], 0x400
lea eax, [esp + 0x14]
push 0
push eax
lea eax, [esp + 0x24]
push eax
push 0x13
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
call ebx
push edi
call ebx
lea ecx, [esp + 0x1c]
call fcn.004954b0
push esi
cmp eax, 0xd2
jne 0x4730a5
call ebx
mov bl, 1
jmp 0x4730a9
call ebx
xor bl, bl
mov byte [esp + 0x828], 0
cmp dword [esp + 0x844], 8
jb 0x4730ca
push dword [esp + 0x830]
call fcn.004c515a
add esp, 4
xor eax, eax
mov dword [esp + 0x844], 7
mov dword [esp + 0x840], 0
mov word [esp + 0x830], ax
mov dword [esp + 0x828], 0xffffffff
cmp dword [esp + 0x85c], 8
jb 0x47310e
push dword [esp + 0x848]
call fcn.004c515a
add esp, 4
xor eax, eax
mov dword [esp + 0x85c], 7
mov word [esp + 0x848], ax
mov al, bl
mov dword [esp + 0x858], 0
mov ecx, dword [esp + 0x820]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80c]
xor ecx, esp
call fcn.004c515f
add esp, 0x81c
ret
Function at 0x473160
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4e5899
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
lea eax, [esi + 8]
mov dword [esi + 4], 0
mov dword [esp + 0xc], eax
mov dword [eax + 0xc], 0
mov dword [esp + 0x18], 1
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esp + 0x18], 4
lea ecx, [esi + 0x2c]
mov eax, dword [esp + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x28], eax
xor eax, eax
push 0xffffffffffffffff
mov dword [esi], vtable.RC::RCPackagesItemWnd.0
push eax
push dword [esp + 0x34]
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
call fcn.00403000
mov byte [esp + 0x18], 5
mov eax, dword [esp + 0x30]
mov dword [esi + 0x48], eax
mov dword [esi + 0x44], 0
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret 0x14
Function at 0x473870
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x34
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x38]
push ebx
push esi
push edi
mov esi, dword [edx + 4]
mov ebx, ecx
mov eax, dword [edx + 0xc]
mov edi, dword [edx]
sub eax, esi
push 1
push eax
mov eax, dword [edx + 8]
sub eax, edi
push eax
push esi
push edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esp + 0x1c]
xorps xmm0, xmm0
push eax
push dword [ebx + 4]
movdqu xmmword [esp + 0x24], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [sym.imp.USER32.dll_ClientToScreen]
lea eax, [esp + 0x1c]
push eax
push dword [ebx + 4]
call esi
lea eax, [esp + 0x24]
push eax
push dword [ebx + 4]
call esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
lea eax, [esp + 0xc]
push eax
push 0x3f8
push dword [ebx + 4]
xorps xmm0, xmm0
movdqu xmmword [esp + 0x18], xmm0
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
push 0x202
push eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x14]
sub eax, 0x56
push eax
push 0
push 0
push 0
push 0x3f8
push dword [ebx + 4]
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebx + 0x24]
lea edi, [ebx + 0x28]
push edi
call fcn.00473d00
push 4
push str.sohu
push dword [eax + 0x2c]
push ecx
lea ecx, [eax + 0x1c]
call fcn.00473d80
test eax, eax
je 0x47397a
mov ecx, dword [ebx + 0x24]
push edi
call fcn.00473d00
push 5
push str.iqiyi
push dword [eax + 0x2c]
push ecx
lea ecx, [eax + 0x1c]
call fcn.00473d80
test eax, eax
jne 0x4739c0
lea eax, [esp + 0x2c]
xorps xmm0, xmm0
push eax
push 0x40c
push dword [ebx + 4]
movdqu xmmword [esp + 0x38], xmm0
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
push 0x202
push eax
push 0x46
push 0
push 0
push 0
push 0x40c
push dword [ebx + 4]
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c515f
add esp, 0x34
ret 4
Function at 0x4739e0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push ebp
push esi
push edi
push 1
mov edi, ecx
push 0
push 0x40c
push dword [edi + 4]
call ebx
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
push eax
call esi
push 1
push 0
push 0x42c
push dword [edi + 4]
call ebx
push eax
call esi
mov ecx, dword [edi + 0x24]
lea ebp, [edi + 0x28]
push 0
push ebp
call fcn.00473d00
xor ecx, ecx
cmp byte [eax + 0xa4], cl
setne cl
push ecx
push 0xf1
push 0x3f7
push dword [edi + 4]
call ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call esi
mov ecx, dword [edi + 0x24]
push ebp
call fcn.00473d00
xor ecx, ecx
cmp byte [eax + 0xa5], cl
sete cl
push ecx
push 0x3f7
push dword [edi + 4]
call ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [edi + 0x48]
xor ecx, ecx
push 0
cmp byte [eax], cl
setne cl
push ecx
push 0xf1
push 0x42c
push dword [edi + 4]
call ebx
push eax
call esi
mov ecx, dword [edi + 0x24]
push ebp
call fcn.00473d00
cmp byte [eax + 0xa5], 0
je 0x473aa1
xor ecx, ecx
jmp 0x473ab5
mov ecx, dword [edi + 0x24]
push ebp
call fcn.00473d00
xor ecx, ecx
cmp byte [eax + 0xa4], cl
setne cl
push ecx
push 0x42c
push dword [edi + 4]
call ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [edi + 0x24]
push ebp
call fcn.00473d00
xor edx, edx
mov ecx, 5
cmp byte [eax + 0xa5], dl
cmovne ecx, edx
push ecx
push 0x41a
push dword [edi + 4]
call ebx
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
mov ecx, dword [edi + 0x24]
push ebp
call fcn.00473d00
xor ecx, ecx
cmp byte [eax + 0xa5], cl
mov eax, 5
cmovne ecx, eax
push ecx
push 0x41b
push dword [edi + 4]
call ebx
push eax
call esi
mov ecx, dword [edi + 0x24]
push ebp
call fcn.00473d00
cmp byte [eax + 0xa5], 0
je 0x473b5c
mov ecx, dword [edi + 0x24]
push ebp
call fcn.00473d00
cmp byte [eax + 0xa6], 0
je 0x473b46
push 0x4fdbcc
jmp 0x473b4b
push str.ck_W
push 0x41b
push dword [edi + 4]
call ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x474940
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 8], eax
mov edx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push esi
lea eax, [esp + 0x14]
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4749d2
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x474992
cmp eax, 2
jne 0x4749af
mov ecx, dword [esp + 8]
test esi, esi
je 0x4749cc
test ecx, ecx
je 0x4749c7
test cl, 1
jne 0x4749af
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x4749cc
pop edi
mov eax, 0xd
pop esi
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.004c515f
add esp, 0xc
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
mov ecx, dword [esp + 0x10]
pop edi
pop esi
xor ecx, esp
call fcn.004c515f
add esp, 0xc
ret 0xc
Function at 0x474c30
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
mov ebx, dword [esp + 0x124]
push esi
push edi
push 0x30
mov esi, ecx
push 0
push esi
call fcn.004cb9a0
push 0x110
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], 0x114
push 0
push eax
mov edi, 0x30
call fcn.004cb9a0
add esp, 0x18
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x474c91
cmp dword [esp + 0x10], 6
jae 0x474c96
mov edi, 0x2c
mov eax, dword [esp + 0x134]
mov dword [esi], edi
mov dword [esi + 4], 0
mov dword [esi + 8], ebx
mov dword [esi + 0xc], 1
test eax, eax
je 0x474cbd
movdqu xmm0, xmmword [eax]
movdqu xmmword [esi + 0x10], xmm0
mov eax, dword [0x70cb74]
mov ecx, dword [esp + 0x120]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x138]
pop edi
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], 0
pop esi
pop ebx
xor ecx, esp
call fcn.004c515f
add esp, 0x118
ret 0x18

Function at 0x474f30
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e5c6b
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x54]
mov bl, 1
mov eax, ecx
and eax, 0xc
cmp al, 0xc
je 0x47507f
shr ecx, 2
test bl, cl
jne 0x47507f
cmp byte [esi + 0x5c], 0
je 0x474ffa
push 0x2c
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004cb9a0
add esp, 0xc
lea ecx, [esp + 0x10]
push dword [esi + 0x60]
call fcn.00401cd0
mov dword [esp + 0x48], 0
push ecx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [esp + 0x18]
call fcn.00475570
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x10], vtable.RC::RCCardConfigDialog.0
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x48], 0xffffffff
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x47507f
push ecx
call fcn.004c501b
jmp 0x47507f
push str.http:__jifen.2345.com__softpack
lea ecx, [esp + 0x14]
call fcn.004029f0
mov dword [esp + 0x48], 6
lea eax, [esp + 0x10]
cmp dword [esp + 0x24], 8
push 1
cmovae eax, dword [esp + 0x14]
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
test bl, bl
je 0x47504d
or byte [esi + 0x58], 2
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [esp + 0x48], 0xffffffff
cmp dword [esp + 0x24], 8
jb 0x475068
push dword [esp + 0x10]
call fcn.004c515a
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
mov al, bl
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004c515f
add esp, 0x40
ret
Function at 0x4750d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e5cce
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
lea eax, [esi + 8]
mov dword [esi + 4], 0
mov dword [esp + 0xc], eax
mov dword [eax + 0xc], 0
mov dword [esp + 0x18], 1
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esp + 0x18], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], eax
mov dword [esp + 0x18], 4
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x48], 0
mov al, byte [esi + 0x58]
and al, 0xe1
mov dword [esi + 0x4c], 0xff0000
or al, 1
mov dword [esi + 0x50], 0x800080
mov byte [esi + 0x58], al
lea eax, [esi + 0x38]
push eax
mov dword [esi + 0x54], 0
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret 4

Function at 0x475a20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e5d55
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x5c], eax
push esi
push edi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov esi, ecx
test byte [esi + 0x58], 8
je 0x475a65
push dword [esi + 0x30]
call dword [sym.imp.GDI32.dll_DeleteObject]
and byte [esi + 0x58], 0xf7
mov edi, dword [esi + 0x34]
test edi, edi
jne 0x475a76
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edi, eax
mov dword [esp + 0x74], 0
lea eax, [esp + 0x10]
push 0x58
push 0
push eax
mov dword [esp + 0x18], 0
call fcn.004cb9a0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push 0x5c
push edi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esi + 0x54]
and eax, 0x30
cmp al, 0x30
jne 0x475ab9
mov dword [esp + 0x1c], 0x2bc
jmp 0x475ace
test byte [esi + 0x54], 1
mov ecx, 1
movzx eax, byte [esp + 0x21]
cmove eax, ecx
mov byte [esp + 0x21], al
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
or byte [esi + 0x58], 8
mov dword [esi + 0x30], eax
mov dword [esp + 0x74], 0xffffffff
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.004c515f
add esp, 0x6c
ret
Function at 0x476920
Capabilities:
Create process on windows

Disassembly:
cmp dword [esp + 0x18], 0
push esi
push edi
mov esi, ecx
jne 0x4769d5
mov eax, dword [esp + 0x10]
cmp eax, 0x110
jne 0x476966
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 1
push eax
sub esp, 0xc
call fcn.00476d70
cmp dword [esp + 0x18], 0
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
je 0x4769d5
pop edi
mov eax, 1
pop esi
ret 0x18
cmp eax, 0x138
jne 0x4769dc
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
cmp eax, 0x402
jne 0x4769cb
mov edi, dword [esp + 0x14]
push 0x808080
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [esi + 0x80], 0
jne 0x4769ac
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esi + 0x80], eax
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x80]
pop edi
pop esi
mov dword [eax], ecx
mov eax, 1
ret 0x18
mov eax, dword [esp + 0x1c]
mov dword [eax], 0
pop edi
xor eax, eax
pop esi
ret 0x18
cmp eax, 0x135
je 0x47696d
cmp eax, 0x111
jne 0x476a59
mov eax, dword [esp + 0x14]
mov ecx, 0x404
cmp cx, ax
jne 0x476a24
push 1
push 0
push 0
push str.http:__wangpai.2345.cn_forumdisplay.php_fid12
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
mov dword [eax], 0
mov eax, 1
ret 0x18
mov esi, 1
movzx eax, ax
cmp eax, esi
je 0x476a39
cmp eax, 2
je 0x476a39
xor esi, esi
jmp 0x476a41
push 1
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [esp + 0x1c]
mov dword [eax], 0
test esi, esi
je 0x4769d5
pop edi
mov eax, 1
pop esi
ret 0x18
cmp eax, 0x113
jne 0x476a93
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 1
push eax
push ecx
push dword [esp + 0x1c]
push ecx
call fcn.00476df0
cmp dword [esp + 0x18], 0
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
je 0x4769d5
pop edi
mov eax, 1
pop esi
ret 0x18
cmp eax, 0x10
jne 0x4769d5
push 1
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
mov dword [eax], 0
mov eax, 1
ret 0x18
Function at 0x477880
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x10
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
push esi
push edi
mov edi, ecx
mov bl, 1
mov ecx, dword [edi + 0x54]
mov eax, ecx
and eax, 0xc
cmp al, 0xc
jne 0x4778f0
mov eax, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [esp + 0x10], eax
call esi
push dword [edi + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0xfffffffe
call esi
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [esp + 0xc]
push ecx
push esi
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.004c515f
add esp, 0x10
ret
shr ecx, 2
test cl, 1
je 0x477933
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [edi + 4]
movzx ecx, si
push ecx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.004c515f
add esp, 0x10
ret
push 1
push 0
push 0
push dword [edi + 0x28]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
test bl, bl
je 0x477964
or byte [edi + 0x58], 2
push 1
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esp + 0x18]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c515f
add esp, 0x10
ret

Function at 0x4783e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e523e
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 4], ecx
lea eax, [ecx + 8]
mov dword [ecx + 4], 0
mov dword [esp + 8], eax
mov dword [eax + 0xc], 0
mov dword [esp + 0x14], 1
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [esp + 0x14], 4
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + 0x24], eax
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x28], eax
mov eax, dword [esp + 0x28]
mov dword [ecx], vtable.RC::RCPackagesOptionWnd.0
mov dword [ecx + 0x2c], eax
mov dword [ecx + 0x30], 0
mov dword [esp + 0x14], 0xffffffff
mov eax, ecx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x14
ret 0x10
Function at 0x478480
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e528e
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.RC::RCPackagesOptionWnd.0
mov dword [esp + 0x14], 0
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4784cb
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x30], 0
mov dword [esp + 0x14], 0xffffffff
lea eax, [esi + 8]
mov dword [esp + 8], eax
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4784ef
push eax
call fcn.004c501b
test byte [esp + 0x1c], 1
je 0x4784ff
push esi
call fcn.004c515a
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4

Function at 0x478520
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x404
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x400], eax
cmp byte [esp + 0x408], 0
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, ecx
je 0x4785e4
push 1
push 0x3fa
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebx
push 1
push 0x40e
push dword [esi + 4]
call edi
push eax
call ebx
xor eax, eax
push 0x1fe
push eax
mov word [esp + 0x14], ax
lea eax, [esp + 0x16]
push eax
call fcn.004cb9a0
add esp, 0xc
lea eax, [esp + 0xc]
push 0xff
push eax
push 0x40e
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, 0x4fdf30
lea ecx, [esp + 0xc]
call fcn.00495610
test al, al
jne 0x4785ce
push 0x4fdf30
push 0x40e
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 1
push 0x3f9
push dword [esi + 4]
call edi
push eax
call ebx
push 1
jmp 0x478682
push 0
push 0x3fa
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebx
push 0
push 0x40e
push dword [esi + 4]
call edi
push eax
call ebx
xor eax, eax
push 0x1fe
push eax
mov word [esp + 0x214], ax
lea eax, [esp + 0x216]
push eax
call fcn.004cb9a0
add esp, 0xc
lea eax, [esp + 0x20c]
push 0xff
push eax
push 0x40e
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, 0x4fdf30
lea ecx, [esp + 0x20c]
call fcn.00495610
test al, al
jne 0x478671
push 0x4fdf30
push 0x40e
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 0x3f9
push dword [esi + 4]
call edi
push eax
call ebx
push 0
push 0x40d
push dword [esi + 4]
call edi
push eax
call ebx
mov ecx, dword [esp + 0x40c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c515f
add esp, 0x404
ret 8
Function at 0x47a0e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e6383
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x10], ebx
lea eax, [ebx + 8]
mov dword [ebx + 4], 0
mov dword [esp + 0x14], eax
mov dword [eax + 0xc], 0
mov dword [esp + 0x20], 1
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [esp + 0x20], 4
lea esi, [ebx + 0x3c]
mov dword [ebx + 0x20], vtable.RC::IPackageWndToItemWnd.0
push ecx
mov dword [ebx], vtable.RC::RCPackagesWnd.1.0
mov ecx, esi
mov dword [ebx + 0x20], vtable.RC::RCPackagesWnd.0
mov dword [ebx + 0x30], 0
mov dword [esp + 0x18], esi
call fcn.004750d0
mov byte [esp + 0x20], 5
mov edi, dword [esp + 0x2c]
mov dword [esi], vtable.RC::RCPackagesLink.0
mov byte [esi + 0x5c], 0
mov dword [esi + 0x60], edi
mov byte [esp + 0x20], 6
lea esi, [ebx + 0xa0]
push ecx
mov ecx, esi
mov dword [esp + 0x30], esi
call fcn.004750d0
mov byte [esp + 0x20], 7
mov dword [esi], vtable.RC::RCPackagesLink.0
mov byte [esi + 0x5c], 1
mov dword [esi + 0x60], edi
mov byte [esp + 0x20], 8
lea esi, [ebx + 0x11c]
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x104], 0
mov dword [ebx + 0x114], eax
mov dword [ebx + 0x118], edi
mov dword [esp + 0x2c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0047f320
mov dword [esi], eax
mov byte [esp + 0x20], 0xd
xor eax, eax
mov dword [ebx + 0x140], 7
mov dword [ebx + 0x13c], 0
mov word [ebx + 0x12c], ax
mov byte [esp + 0x20], 0xe
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x108], 0x46
mov dword [ebx + 0x10c], eax
mov dword [ebx + 0x110], eax
mov dword [ebx + 0x125], 0x1010101
mov byte [ebx + 0x124], 1
mov byte [ebx + 0x144], 1
mov word [ebx + 0x151], ax
mov dword [ebx + 0x148], 0xf
mov dword [ebx + 0x14c], eax
mov byte [ebx + 0x150], al
mov dword [ebx + 0x154], eax
mov dword [esp + 0x20], 0xffffffff
mov eax, ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 8