joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b5b10
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f5668
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2c]
push edi
mov edi, ecx
test esi, esi
je 0x4b5c11
mov ebx, dword [esp + 0x34]
test ebx, ebx
jl 0x4b5c11
mov ebp, dword [esp + 0x38]
test ebp, ebp
jl 0x4b5c11
lea eax, [esp + 0x10]
push eax
push 0
push ebp
push ebx
call sub.MFC42.DLL_CListCtrl::GetSubItemRect
test eax, eax
je 0x4b5c11
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add eax, 0x64
mov dword [esp + 0x1c], eax
sub eax, ecx
push 0x40
push eax
mov eax, dword [esp + 0x18]
sub edx, eax
push edx
push ecx
push eax
push 0
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetWindowPos
push ebp
lea eax, [esp + 0x34]
push ebx
push eax
mov ecx, edi
call sub.MFC42.DLL_CListCtrl::GetItemText
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], 0
push ecx
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetFocus
mov edx, dword [esi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0xd
push 0xffffffffffffffff
push 0x153
push edx
call ebx
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x20]
push eax
push 0
push 0x158
push ecx
call ebx
test eax, eax
jge 0x4b5be8
xor eax, eax
mov edx, dword [esi + 0x20]
push 0
push eax
push 0x14e
push edx
call ebx
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], ebp
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc

Function at 0x4b6c20
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4f5840
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
xor eax, eax
mov dword [esp], vtable.CBitmap.0
mov dword [esp + 4], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 4]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x38]
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
lea ecx, [esp]
mov dword [edx], eax
call sub.MFC42.DLL_CGdiObject::Detach
mov dword [esp], vtable.CGdiObject.0
lea ecx, [esp]
mov dword [esp + 0x28], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
Function at 0x4b9260
Capabilities:
Get geographical location

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f5b3b
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
push ebp
mov ebp, dword [esp + 0x130]
push esi
mov esi, dword [esp + 0x138]
push edi
push esi
push ebp
call dword [sym.imp.USER32.dll_GetSubMenu]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x4b93af
mov eax, dword [esp + 0x134]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x4b93a2
cmp dword [esp + 0x14], ebx
jbe 0x4b93a2
mov esi, dword [sym.imp.USER32.dll_DeleteMenu]
push 0x400
push ebx
push edi
call esi
test eax, eax
je 0x4b92ea
push 0x400
push ebx
push edi
call esi
test eax, eax
jne 0x4b92dd
mov eax, dword [esp + 0x14]
xor esi, esi
cmp eax, ebx
jbe 0x4b93af
mov ebp, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [esp + 0x134]
lea edx, [esp + 0x18]
push edx
push esi
mov ecx, dword [eax]
push eax
mov dword [esp + 0x24], ebx
call dword [ecx + 0x10]
test eax, eax
jl 0x4b9393
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4b9393
lea ecx, [esp + 0x20]
push 0x104
push ecx
push 2
push eax
mov byte [esp + 0x30], bl
call ebp
lea edx, [esp + 0x20]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::CString_2
push 0x534660
push 0x534658
lea ecx, [esp + 0x18]
mov dword [esp + 0x134], ebx
call sub.MFC42.DLL_CString::Replace
mov eax, dword [esp + 0x10]
xor edx, edx
push eax
mov eax, dword [esp + 0x20]
cmp esi, eax
lea ecx, [esi + 0x17d4]
setne dl
dec edx
push ecx
and edx, 8
push edx
push edi
call dword [sym.imp.USER32.dll_AppendMenuA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x12c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jb 0x4b92fe
jmp 0x4b93af
push 0x403
push esi
push ebp
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x120
ret
Function at 0x4b93d0
Capabilities:
Get geographical location

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f5b5b
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
mov ebx, dword [esp + 0x130]
push esi
mov esi, dword [esp + 0x138]
push edi
push esi
push ebx
call dword [sym.imp.USER32.dll_GetSubMenu]
mov edi, eax
test edi, edi
je 0x4b956d
mov eax, dword [esp + 0x134]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x20]
mov ecx, dword [eax]
push edx
lea edx, [esp + 0x18]
push edx
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x4b9560
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x4b9560
mov esi, dword [sym.imp.USER32.dll_DeleteMenu]
push 0x400
push 2
push edi
call esi
test eax, eax
je 0x4b9460
push 0x400
push 2
push edi
call esi
test eax, eax
jne 0x4b9452
mov eax, dword [esp + 0x18]
test eax, eax
mov eax, 0x5346b8
jne 0x4b9472
mov eax, 0x5346ac
push eax
push 0x47e
push 0x400
push 0
push edi
call dword [sym.imp.USER32.dll_ModifyMenuA]
mov eax, dword [esp + 0x10]
xor esi, esi
test eax, eax
jbe 0x4b9549
mov ebx, dword [sym.imp.USER32.dll_AppendMenuA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [esp + 0x138]
lea edx, [esp + 0x18]
push edx
push esi
mov ecx, dword [eax]
push eax
mov dword [esp + 0x24], 0
call dword [ecx + 0x18]
test eax, eax
jl 0x4b953b
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4b953b
lea ecx, [esp + 0x24]
push 0x104
push ecx
push 2
push eax
mov byte [esp + 0x34], 0
call ebp
lea edx, [esp + 0x24]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::CString_2
push 0x534660
push 0x534658
lea ecx, [esp + 0x18]
mov dword [esp + 0x138], 0
call sub.MFC42.DLL_CString::Replace
mov eax, dword [esp + 0x10]
xor edx, edx
push eax
mov eax, dword [esp + 0x24]
cmp esi, eax
lea ecx, [esi + 0x17dd]
setne dl
dec edx
push ecx
and edx, 8
push edx
push edi
call ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x130], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jb 0x4b94a1
pop ebp
mov esi, dword [esp + 0x18]
xor eax, eax
test esi, esi
sete al
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
jmp 0x4b956d
push 0x403
push esi
push ebx
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x124
ret

Function at 0x4bd1b0
Capabilities:
Hide graphical window

Disassembly:
push esi
call fcn.004bc810
mov esi, eax
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push esi
call dword [sym.imp.USER32.dll_SetParent]
pop esi
ret
Function at 0x4bd4b0
Capabilities:
Hide graphical window

Disassembly:
call fcn.004bc810
test eax, eax
je 0x4bd4d6
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x4bd4cd
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret 4
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret 4

Function at 0x4bdea0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
lea eax, [esp]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x30]
push 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4bdf1c
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
push edx
push eax
push esi
mov dword [ecx], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4bdf1c
mov eax, dword [esi + 0x3c]
xor ecx, ecx
add eax, esi
sub edi, esi
xor ebp, ebp
mov cx, word [eax + 0x14]
lea edx, [ecx + eax + 0x18]
xor ecx, ecx
mov cx, word [eax + 6]
test ecx, ecx
jbe 0x4bdf1c
lea eax, [edx + 0x10]
mov edx, dword [eax]
mov esi, dword [eax - 8]
mov ebx, dword [eax - 4]
cmp edx, esi
ja 0x4bdf0a
mov edx, esi
cmp edi, ebx
jb 0x4bdf14
add edx, ebx
cmp edi, edx
jbe 0x4bdf26
inc ebp
add eax, 0x28
cmp ebp, ecx
jb 0x4bdefc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
inc ebp
sub edi, ebx
mov dword [edx], ebp
mov dword [eax], edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret

Function at 0x4bdf50
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x404
lea eax, [esp + 0x40c]
lea edx, [esp + 4]
push esi
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_wvsprintfA]
mov edx, dword [0x53c3d8]
mov esi, eax
lea eax, [esp + 4]
push 0
push eax
lea ecx, [esp + 0x10]
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, esi
pop esi
add esp, 0x404
ret
Function at 0x4bdfa0
Capabilities:
Get file version info

Disassembly:
mov eax, 0x200c
call fcn.004e0dc0
mov al, byte [0x537100]
push esi
push edi
mov byte [esp + 0x14], al
mov ecx, 0x7ff
xor eax, eax
lea edi, [esp + 0x15]
mov esi, dword [esp + 0x201c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
test esi, esi
stosb byte es:[edi], al
je 0x4bdfd3
mov byte [esi], 0
mov edi, dword [esp + 0x2018]
lea ecx, [esp + 0xc]
push ecx
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
je 0x4be083
cmp eax, 0x1fff
ja 0x4be083
lea edx, [esp + 0x14]
push edx
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4be083
lea eax, [esp + 0x10]
lea ecx, [esp + 8]
push eax
push ecx
lea edx, [esp + 0x1c]
push 0x529918
push edx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4be083
mov edx, dword [esp + 0x2020]
push ebx
mov ecx, edx
xor eax, eax
mov ebx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov cx, word [eax + 0xc]
push ecx
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
push ecx
xor ecx, ecx
mov cx, word [eax + 8]
mov eax, dword [eax + 8]
shr eax, 0x10
push ecx
push eax
dec edx
push str._d._d._d._d
push edx
push esi
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x1c
mov eax, 1
pop ebx
pop edi
pop esi
add esp, 0x200c
ret
pop edi
xor eax, eax
pop esi
add esp, 0x200c
ret
Function at 0x4c40a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x30c
push ebx
push ebp
mov ebp, dword [esp + 0x318]
push esi
test ebp, ebp
push edi
je 0x4c4115
push 0x104
lea eax, [esp + 0x14]
push ebp
push eax
call dword [sym.imp.MSVCRT.dll__mbsnbcpy]
push 6
lea ecx, [esp + 0x20]
push str.res:__
push ecx
call dword [sym.imp.MSVCRT.dll__mbsnbicmp]
add esp, 0x18
test eax, eax
jne 0x4c4115
mov ebx, dword [sym.imp.MSVCRT.dll__mbstok]
lea edx, [esp + 0x16]
push 0x52aed4
push edx
mov esi, 1
call ebx
add esp, 8
test eax, eax
je 0x4c4115
mov ecx, esi
inc esi
cmp ecx, 1
je 0x4c4122
push 0x52aed4
push 0
call ebx
add esp, 8
test eax, eax
jne 0x4c40fd
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x30c
ret
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x114]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x104
mov eax, ecx
mov esi, edi
mov edi, edx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.MSVCRT.dll__mbsnbcpy]
push 6
lea edx, [esp + 0x20]
push str.res:__
push edx
call dword [sym.imp.MSVCRT.dll__mbsnbicmp]
add esp, 0x18
test eax, eax
jne 0x4c4115
lea eax, [esp + 0x16]
push 0x52aed4
push eax
mov esi, 1
call ebx
add esp, 8
test eax, eax
je 0x4c4115
mov ecx, esi
inc esi
cmp ecx, 2
je 0x4c41ad
push 0x52aed4
push 0
call ebx
add esp, 8
test eax, eax
jne 0x4c418a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30c
ret
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x218]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x218]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x114]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
and eax, 0xffff
push eax
call fcn.004c3eb0
mov ecx, eax
call fcn.004c3f70
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x4c4115
push esi
call fcn.004c3eb0
mov ecx, eax
call fcn.004c3f70
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4c4115
push esi
call fcn.004c3eb0
mov ecx, eax
call fcn.004c3f70
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x324]
push edi
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30c
ret
Function at 0x4c4d60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f6c5f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 1
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x4c4da3
mov eax, dword [esi]
jmp 0x4c4da5
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
push eax
push edi
call dword [ecx + 0x6c]
test eax, eax
jge 0x4c4dc1
push 0x52ea80
push edi
push eax
call fcn.004e109e
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, edi
mov word [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
test esi, esi
mov byte [esp + 0x24], 0
je 0x4c4e2e
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4c4e2e
mov eax, dword [esi]
test eax, eax
je 0x4c4e15
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4c4e25
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 8

Function at 0x4c5530
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f6d2f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 1
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x4c5573
mov eax, dword [esi]
jmp 0x4c5575
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x38]
push edx
push eax
push edi
call dword [ecx + 0x74]
test eax, eax
jge 0x4c5596
push 0x52ea80
push edi
push eax
call fcn.004e109e
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, edi
mov word [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
test esi, esi
mov byte [esp + 0x24], 0
je 0x4c5603
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4c5603
mov eax, dword [esi]
test eax, eax
je 0x4c55ea
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4c55fa
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x4ca870
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x4f7202
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
push edi
push 0
push 0x5350d4
push 6
mov edi, ecx
push str..zip
push 0x5350c8
push 1
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CFileDialog::CFileDialog
lea ecx, [esp + 0x14]
mov dword [esp + 0x218], 0
call sub.MFC42.DLL_CFileDialog::DoModal
cmp eax, 1
jne 0x4caa3f
lea eax, [esp + 4]
push ebx
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CFileDialog::GetPathName
lea ecx, [esp + 0xc]
push 4
push ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0x224], 1
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x52c8a8
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
lea ecx, [esp + 0xc]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4caa1a
push esi
push 0
lea edx, [esp + 0x18]
push str.skin_
push edx
call fcn.00426810
add esp, 0xc
push 0x5c
lea ecx, [esp + 0x10]
mov byte [esp + 0x224], 2
call sub.MFC42.DLL_CString::ReverseFind
lea ecx, [esp + 0x10]
mov esi, eax
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0xc]
mov bl, 3
mov byte [esp + 0x220], bl
mov ecx, dword [eax - 8]
cmp esi, ecx
jge 0x4ca9f5
mov eax, ecx
lea ecx, [esp + 0xc]
sub eax, esi
dec eax
push eax
lea eax, [esp + 0x1c]
push eax
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x224], 4
call fcn.004e0496
lea ecx, [esp + 0x18]
mov byte [esp + 0x220], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
push 1
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x4ca9f5
push 0
push 0
push 0x5350bc
mov ecx, edi
call sub.MFC42.DLL_CWnd::MessageBoxA
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [edi + 0x160]
call fcn.004cdb70
test eax, eax
je 0x4ca9f5
mov edx, dword [edi + 0x180]
push eax
push 9
push 0x110b
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x220], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x220], 1
call sub.MFC42.DLL_CString::CString
pop esi
jmp 0x4caa2d
push 0x30
push 0x535038
push 0x535098
mov ecx, edi
call sub.MFC42.DLL_CWnd::MessageBoxA
lea ecx, [esp + 8]
mov byte [esp + 0x21c], 0
call sub.MFC42.DLL_CString::CString
pop ebx
lea ecx, [esp + 0xc4]
mov dword [esp + 0x218], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x218], 0xffffffff
call sub.MFC42.DLL_CDialog::CDialog
mov ecx, dword [esp + 0x210]
pop edi
mov dword fs:[0], ecx
add esp, 0x218
ret
Function at 0x4cdb70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f780c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push edi
mov edi, ecx
mov dword [esp + 0x14], 0xffff0003
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x18], 0x27
mov eax, dword [edi + 0x4c]
push ecx
mov dword [esp + 0x14], eax
mov eax, 1
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0xc]
xor ebx, ebx
push 4
push edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x54], ebx
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x52c8a8
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
lea ecx, [esp + 0xc]
test eax, eax
sete byte [esp + 0x54]
call sub.MFC42.DLL_CString::CString
cmp byte [esp + 0x54], bl
je 0x4cdd45
push esi
push 0x1c
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
cmp esi, ebx
mov byte [esp + 0x50], 1
je 0x4cdc60
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 4]
mov byte [esp + 0x50], 2
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 8]
mov byte [esp + 0x50], 3
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0xc]
mov byte [esp + 0x50], 4
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x10]
mov byte [esp + 0x50], 5
call sub.MFC42.DLL_CString::CString_3
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], vtable.CBitmap.0
jmp 0x4cdc62
xor esi, esi
mov eax, dword [esp + 0xc]
mov ecx, edi
push eax
push esi
mov byte [esp + 0x58], bl
call fcn.004cd480
neg eax
sbb eax, eax
push 0x5c
and eax, esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], eax
call sub.MFC42.DLL_CString::ReverseFind
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x58]
mov ecx, dword [ecx - 8]
sub ecx, eax
dec ecx
push ecx
push edx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Right
push 0x2e
lea ecx, [esp + 0x5c]
mov byte [esp + 0x54], 6
call sub.MFC42.DLL_CString::ReverseFind
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x54], 7
call fcn.004e0496
lea ecx, [esp + 0x10]
mov byte [esp + 0x50], 6
call sub.MFC42.DLL_CString::CString
push 0x208
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::GetBuffer
push 0xffffffffffffffff
lea ecx, [esp + 0x5c]
mov dword [esp + 0x30], eax
call sub.MFC42.DLL_CString::ReleaseBuffer
mov edx, dword [edi + 0x20]
lea ecx, [esp + 0x14]
push ecx
push ebx
push 0x1100
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x58]
mov esi, eax
mov byte [esp + 0x50], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x50], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret 4
lea ecx, [esp + 8]
mov dword [esp + 0x4c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x44]
pop edi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret 4
Function at 0x4ce2f0
Capabilities:
Initialize iwebbrowser2

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f78d0
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebp
push esi
mov esi, dword [esp + 0x5c]
xor ebp, ebp
cmp esi, ebp
push edi
jne 0x4ce32b
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 4
mov dword [esp + 0x60], ebp
lea eax, [esp + 0x60]
mov dword [esp + 0x58], ebp
push eax
push 0x52bea8
push 7
push ebp
push 0x52be98
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebp
jge 0x4ce37f
mov eax, dword [esp + 0x60]
mov dword [esp + 0x58], 0xffffffff
cmp eax, ebp
je 0x4ce497
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 4
mov eax, dword [esp + 0x60]
push 0xffffffffffffffff
push eax
mov edx, dword [eax]
call dword [edx + 0xa4]
cmp eax, ebp
jge 0x4ce3c2
mov eax, dword [esp + 0x60]
mov dword [esp + 0x58], 0xffffffff
cmp eax, ebp
je 0x4ce497
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 4
push ebx
push 0xffffffffffffffff
push esi
call fcn.004048e0
mov edi, eax
add esp, 8
mov dword [esp + 0x10], edi
push 0x537100
lea ecx, [esp + 0x48]
mov byte [esp + 0x60], 1
mov word [esp + 0x48], bp
call fcn.004281a0
push 0x537100
lea ecx, [esp + 0x38]
mov byte [esp + 0x60], 2
mov word [esp + 0x38], bp
call fcn.004281a0
mov ebx, 3
push 0x537100
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], bl
mov word [esp + 0x28], bp
call fcn.004281a0
mov word [esp + 0x14], bx
mov dword [esp + 0x1c], 0xe
lea ecx, [esp + 0x44]
mov eax, dword [esp + 0x64]
push ecx
lea ecx, [esp + 0x38]
mov edx, dword [eax]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x64], 5
push ecx
lea ecx, [esp + 0x20]
push ecx
push edi
push eax
call dword [edx + 0x2c]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0x14]
push edx
mov ebx, eax
call esi
lea eax, [esp + 0x24]
push eax
call esi
lea ecx, [esp + 0x34]
push ecx
call esi
lea edx, [esp + 0x44]
push edx
call esi
cmp ebx, ebp
pop ebx
push edi
jge 0x4ce4ad
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x58], 0xffffffff
cmp eax, ebp
je 0x4ce497
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 4
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x58], 0xffffffff
cmp eax, ebp
je 0x4ce4c9
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x50]
pop edi
pop esi
mov al, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x50
ret 4