joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a4170
Capabilities:
Get geographical location

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e3ffb
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 0x4a42bf
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 0x4a42b2
cmp dword [esp + 0x14], ebx
jbe 0x4a42b2
mov esi, dword [sym.imp.USER32.dll_RemoveMenu]
push 0x400
push ebx
push edi
call esi
test eax, eax
je 0x4a41fa
push 0x400
push ebx
push edi
call esi
test eax, eax
jne 0x4a41ed
mov eax, dword [esp + 0x14]
xor esi, esi
cmp eax, ebx
jbe 0x4a42bf
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 0x4a42a3
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4a42a3
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 0x521e2c
push 0x521e24
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 0x4a420e
jmp 0x4a42bf
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 0x4a42e0
Capabilities:
Get geographical location

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e401b
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 0x4a447d
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 0x4a4470
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x4a4470
mov esi, dword [sym.imp.USER32.dll_RemoveMenu]
push 0x400
push 2
push edi
call esi
test eax, eax
je 0x4a4370
push 0x400
push 2
push edi
call esi
test eax, eax
jne 0x4a4362
mov eax, dword [esp + 0x18]
test eax, eax
mov eax, 0x521efc
jne 0x4a4382
mov eax, 0x521ef0
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 0x4a4459
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 0x4a444b
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4a444b
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 0x521e2c
push 0x521e24
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 0x4a43b1
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 0x4a447d
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 0x4a7ea0
Capabilities:
Hide graphical window

Disassembly:
push esi
call fcn.004a77e0
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 0x4a82a0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x4a82b1
mov eax, dword [ecx]
push 0
call dword [eax + 0x14]
mov ecx, esi
call fcn.004a77e0
test eax, eax
pop esi
je 0x4a82da
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x4a82d1
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 0x4a8b40
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 0x4a8bb6
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4a8bb6
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 0x4a8bb6
lea eax, [edx + 0x10]
mov edx, dword [eax]
mov esi, dword [eax - 8]
mov ebx, dword [eax - 4]
cmp edx, esi
ja 0x4a8ba4
mov edx, esi
cmp edi, ebx
jb 0x4a8bae
add edx, ebx
cmp edi, edx
jbe 0x4a8bc0
inc ebp
add eax, 0x28
cmp ebp, ecx
jb 0x4a8b96
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 0x4a8d10
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 [0x52c744]
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 0x4a90c7
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e46c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 4]
mov ecx, edi
call sub.MFC42.DLL_CString::CString_3
xor ebx, ebx
lea ecx, [esi + 0xc]
mov dword [esp + 0x18], ebx
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x24]
mov ecx, edi
push eax
mov byte [esp + 0x1c], 1
mov dword [esi], vtable.COptShellCtrl::CFolder.0
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 8], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], 0xffffffff
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10

Function at 0x4a9440
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e476b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CPlayListWnd::CPlayListWndMemDC.0
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x4a94d3
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x20]
mov ecx, edx
push ebx
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, edi
sub ecx, ebx
mov ebx, dword [esi + 0x1c]
cmp esi, ebp
je 0x4a9497
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
push edi
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
je 0x4a94b8
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [esi + 0x10]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, esi
call sub.MFC42.DLL_CDC::DeleteDC
jmp 0x4a94d9
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], vtable.CGdiObject.0
mov ecx, edi
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, esi
mov dword [edi], vtable.CObject.0
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CDC::CDC
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4aaa40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e486c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ebp, [esi + 4]
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_3
xor edi, edi
lea ecx, [esi + 8]
mov dword [esp + 0x1c], edi
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0xc]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString_3
lea ebx, [esi + 0x20]
mov byte [esp + 0x1c], 2
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_3
mov ecx, ebp
mov byte [esp + 0x1c], 3
mov dword [esi], vtable.CPlayListWnd::CFolder.0
call sub.MFC42.DLL_CString::Empty
or eax, 0xffffffff
push 0x5265c0
mov ecx, ebx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x10], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x1c], eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], 1
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4e48ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 4]
mov ecx, edi
call sub.MFC42.DLL_CString::CString_3
lea ebx, [esi + 8]
mov dword [esp + 0x1c], 0
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_3
lea ebp, [esi + 0xc]
mov byte [esp + 0x1c], 1
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x20]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x28]
mov ecx, edi
push eax
mov byte [esp + 0x20], 3
mov dword [esi], vtable.CPlayListWnd::CFolder.0
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, ebx
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [esp + 0x30]
mov ecx, ebp
push edx
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esi + 0x24], eax
xor eax, eax
mov dword [esi + 0x2c], ecx
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x48]
push ecx
lea ecx, [esi + 0x20]
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x10], edx
mov dword [esi + 0x1c], eax
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x18], edx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4b8980
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 0x4b89f5
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 0x4b89f5
mov ebx, dword [sym.imp.MSVCRT.dll__mbstok]
lea edx, [esp + 0x16]
push 0x523f5c
push edx
mov esi, 1
call ebx
add esp, 8
test eax, eax
je 0x4b89f5
mov ecx, esi
inc esi
cmp ecx, 1
je 0x4b8a02
push 0x523f5c
push 0
call ebx
add esp, 8
test eax, eax
jne 0x4b89dd
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 0x4b89f5
lea eax, [esp + 0x16]
push 0x523f5c
push eax
mov esi, 1
call ebx
add esp, 8
test eax, eax
je 0x4b89f5
mov ecx, esi
inc esi
cmp ecx, 2
je 0x4b8a8d
push 0x523f5c
push 0
call ebx
add esp, 8
test eax, eax
jne 0x4b8a6a
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
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x4b89f5
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4b89f5
push esi
push 0
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 0x4b9620
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e5d9f
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 0x4b9663
mov eax, dword [esi]
jmp 0x4b9665
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 0x4b9681
push 0x51dd48
push edi
push eax
call fcn.004cf736
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 0x4b96ee
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4b96ee
mov eax, dword [esi]
test eax, eax
je 0x4b96d5
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4b96e5
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 0x4b9df0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e5e8f
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 0x4b9e33
mov eax, dword [esi]
jmp 0x4b9e35
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 0x4b9e56
push 0x51dd48
push edi
push eax
call fcn.004cf736
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 0x4b9ec3
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4b9ec3
mov eax, dword [esi]
test eax, eax
je 0x4b9eaa
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4b9eba
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 0x4bce20
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x4e63b2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
push edi
push 0
push 0x524464
push 6
mov edi, ecx
push str..zip
push 0x524458
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 0x4bcfef
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 0x51a340
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 0x4bcfca
push esi
push 0
lea edx, [esp + 0x18]
push str.skin_
push edx
call fcn.00420140
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 0x4bcfa5
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.004ceb40
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 0x4bcfa5
push 0
push 0
push 0x52444c
mov ecx, edi
call sub.MFC42.DLL_CWnd::MessageBoxA
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [edi + 0x160]
call fcn.004bf520
test eax, eax
je 0x4bcfa5
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 0x4bcfdd
push 0x30
push 0x518420
push 0x524428
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 fcn.004ceab0
mov ecx, dword [esp + 0x210]
pop edi
mov dword fs:[0], ecx
add esp, 0x218
ret
Function at 0x4bf520
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e692c
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 0x51a340
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 0x4bf6f5
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 0x4bf610
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 0x4bf612
xor esi, esi
mov eax, dword [esp + 0xc]
mov ecx, edi
push eax
push esi
mov byte [esp + 0x58], bl
call fcn.004bee30
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.004ceb40
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