joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a2c2
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x4b9cc0
call fcn.0045a988
xor edi, edi
mov dword [ebp - 0x20], edi
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call ebx
cmp word [eax], 0x5a4d
jne 0x45a302
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x45a302
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x45a31a
cmp eax, 0x20b
je 0x45a307
mov dword [ebp - 0x1c], edi
jmp 0x45a32e
cmp dword [ecx + 0x84], 0xe
jbe 0x45a302
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x45a328
cmp dword [ecx + 0x74], 0xe
jbe 0x45a302
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x4e39c0], 0xffffffff
or dword [0x4e39c4], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x4e0164]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x4e0160]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x4e39bc], eax
call fcn.0045aa00
call fcn.0045aaa0
cmp dword [0x4d75a0], edi
jne 0x45a38e
push fcn.0045aaa0
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.0045aa8e
push 0x4d7240
push 0x4d723c
call sub.MSVCR71.dll__initterm
push 0x45aa44
call fcn.0045a6a0
mov eax, dword [0x4e015c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x4e0158]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___wgetmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, edi
jge 0x45a3e2
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x4d7238
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__wcmdln]
mov esi, dword [eax]
cmp esi, edi
jne 0x45a40c
or dword [ebp - 4], 0xffffffff
mov eax, 0xff
jmp 0x45a4c6
mov dword [ebp - 0x24], esi
mov ax, word [esi]
cmp ax, 0x20
ja 0x45a47b
cmp ax, di
je 0x45a422
cmp dword [ebp - 0x20], edi
jne 0x45a47b
mov ax, word [esi]
cmp ax, di
je 0x45a437
cmp ax, 0x20
ja 0x45a437
inc esi
inc esi
mov dword [ebp - 0x24], esi
jmp 0x45a422
mov dword [ebp - 0x58], edi
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x58], 1
je 0x45a453
movzx eax, word [ebp - 0x54]
jmp 0x45a456
push 0xa
pop eax
push eax
push esi
push edi
push edi
call ebx
push eax
call fcn.00491530
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], edi
jne 0x45a473
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x45a4c0
cmp ax, 0x22
jne 0x45a48c
xor eax, eax
cmp dword [ebp - 0x20], edi
sete al
mov dword [ebp - 0x20], eax
inc esi
inc esi
jmp 0x45a40c
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0045a9c3
ret
Function at 0x45cde0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x4d757c]
push ebx
push esi
mov dword [esp + 0x130], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x2c]
push edi
mov edi, dword [eax + 0x20]
and edi, 0xff3fffff
and esi, 0xfffffffe
mov ebx, ecx
mov dword [eax + 0x20], edi
mov dword [eax + 0x2c], esi
call sub.MFC71U.DLL_CFieldExchange::Default
mov dword [esp + 0x10], eax
xor eax, eax
mov ecx, 0x44
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x45ce49
cmp dword [esp + 0x1c], 5
jbe 0x45cec6
push str.UxTheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x45ce8b
push str.SetWindowTheme
push esi
call edi
test eax, eax
je 0x45ce84
test ebx, ebx
jne 0x45ce74
xor ecx, ecx
jmp 0x45ce77
mov ecx, dword [ebx + 0x20]
push 0x4ae4c0
push 0x4ae4c0
push ecx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.dwmapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x45cec6
push str.DwmSetWindowAttribute
push esi
call edi
test eax, eax
je 0x45cebf
mov edx, dword [ebx + 0x20]
push 4
lea ecx, [esp + 0x18]
push ecx
push 2
push edx
mov dword [esp + 0x24], 1
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, ebx
call fcn.0045c940
test eax, eax
mov eax, dword [esp + 0x10]
je 0x45cedf
mov dword [ebx + 0x418], 1
mov ecx, dword [esp + 0x134]
call fcn.0045a4fd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x45e460
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x49cd29
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0xcc]
test eax, eax
jne 0x45e513
push esi
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call dword [sym.imp.MFC71U.DLL_CRecordset::GetBoundParamIndex]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_CDC::ReleaseAttribDC]
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call dword [0x4ad5c0]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x45e501
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorW]
test eax, eax
je 0x45e501
mov dword [edi + 0xcc], eax
mov byte [edi + 0x144], 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x45e530
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x4d757c]
mov ecx, dword [esp + 0x21c]
mov edx, dword [esp + 0x218]
push esi
mov dword [esp + 0x214], eax
lea eax, [esp + 4]
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x45e5a4
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ecx, dword [esp + 0x224]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
call fcn.0045a4fd
add esp, 0x214
ret 0xc

Function at 0x45e7c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4d757c]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0
mov ebx, ecx
mov ecx, dword [ebp + 8]
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
cmp esi, 0x20
ja 0x45e8ee
lea edx, [ebp - 0x414]
push edx
push str..htm
push closesocket
mov ecx, ebx
call fcn.0045e530
test eax, eax
jne 0x45e8ee
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str._shellopencommand
lea eax, [ebp - 0x414]
push eax
call edi
lea ecx, [ebp - 0x414]
push ecx
mov edx, ecx
push edx
push closesocket
mov ecx, ebx
call fcn.0045e530
test eax, eax
jne 0x45e8ee
lea eax, [ebp - 0x414]
push str.__1_
push eax
call dword [sym.imp.MSVCR71.dll_wcsstr]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
add esp, 8
test esi, esi
jne 0x45e89a
lea ecx, [ebp - 0x414]
push 0x4ba744
push ecx
call dword [sym.imp.MSVCR71.dll_wcsstr]
mov esi, eax
add esp, 8
test esi, esi
jne 0x45e89a
lea edx, [ebp - 0x414]
push edx
call ebx
lea esi, [ebp + eax*2 - 0x416]
jmp 0x45e89f
mov word [esi], 0
push 0x4ba740
push esi
call edi
mov eax, dword [ebp + 8]
push eax
push esi
call edi
call dword [0x4d7250]
lea ecx, [ebp - 0x414]
push ecx
mov edi, eax
call ebx
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and eax, 0xfffffffc
call fcn.0045a520
mov eax, esp
push edi
push esi
lea edx, [ebp - 0x414]
push edx
push eax
call fcn.0045e5c0
mov ecx, dword [ebp + 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x45e8f0
mov eax, esi
lea esp, [ebp - 0x420]
mov ecx, dword [ebp - 4]
call fcn.0045a4fd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x462ef0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x49d08b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x200
mov eax, dword [0x4d757c]
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0x208], eax
mov dword [esp + 0x10], esi
mov dword [esi + 4], edi
mov dword [esi], 0x4bb14c
mov dword [esp + 0x214], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
lea ebx, [esi + 0x34]
mov dword [ebx + 4], edi
mov dword [ebx], 0x4affc4
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
lea ecx, [esi + 0x50]
mov byte [esp + 0x214], 4
call sub.MFC71U.DLL_CHttpFile::CHttpFile
lea ecx, [esi + 0x58]
mov byte [esp + 0x214], 5
call sub.MFC71U.DLL_CHttpFile::CHttpFile
lea ecx, [esi + 0x60]
mov byte [esp + 0x214], 6
call sub.MFC71U.DLL_CHttpFile::CHttpFile
push edi
lea eax, [esp + 0x18]
push eax
push 0x1f4
push 0x29
mov byte [esp + 0x224], 7
mov dword [esi + 8], edi
mov dword [esi + 0xc], 0xffffffff
mov dword [esp + 0x24], 0x1f4
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea ecx, [esp + 0xf4]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
mov ecx, ebx
call sub.MFC71U.DLL_CDC::Attach
push 0x14
call sub.MFC71U.DLL_CWordArray::CWordArray
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, edi
mov byte [esp + 0x214], 8
je 0x462fef
mov ecx, eax
call fcn.0046f4b0
jmp 0x462ff1
xor eax, eax
mov dword [esi + 0x10], eax
xor eax, eax
lea ebx, [esi + 0x68]
mov dword [ebx], eax
xor ecx, ecx
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x20c]
xor edx, edx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x200]
pop ebx
call fcn.0045a4fd
add esp, 0x20c
ret
Function at 0x469800
Capabilities:
Access peb ldr_data
Extract resource via kernel32 functions
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x49d559
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov edi, dword [eax + 0xc]
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
push 0x4bbd50
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0
call dword [sym.imp.MFC71U.DLL_CWinThread::CommonConstruct]
test eax, eax
jne 0x4698ac
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x469884
movzx edx, word [esp + 0x24]
lea ecx, [esp + 0xc]
push ecx
push edx
push edi
mov dword [esi], 0x4aecd0
mov dword [esp + 0x18], 0
call sub.gdiplus.dll_GdipCreateBitmapFromResource
mov dword [esi + 8], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 4], eax
jmp 0x469886
xor esi, esi
mov ecx, dword [esp + 0x2c]
mov dword [ecx], esi
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
push ebx
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
movzx edx, word [esp + 0x28]
push eax
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x4698e9
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4698cb
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
mov esi, edi
mov edi, eax
mov eax, ecx
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 + 0x14]
push ecx
push 0
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov edi, dword [esp + 0x14]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x46996b
lea edx, [esp + 0x10]
push edx
push edi
mov dword [esi], 0x4aecd0
mov dword [esp + 0x18], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 4], eax
jmp 0x46996d
xor esi, esi
mov ecx, dword [esp + 0x30]
push ebx
mov dword [ecx], esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x18]
pop ebx
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x46acb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49d641
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
mov ebx, dword [esp + 0x40]
push esi
xor esi, esi
cmp ebx, esi
jne 0x46acee
mov eax, dword [esp + 0x3c]
mov dword [eax], esi
mov dword [eax + 4], esi
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
push edi
push esi
push esi
push esi
push 0x4bbdac
call dword [sym.imp.GDI32.dll_CreateDCW]
mov edi, eax
lea eax, [esp + 0x10]
push eax
push edi
mov dword [esp + 0x18], esi
call sub.gdiplus.dll_GdipCreateFromHDC
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
push edi
mov dword [esp + 0x3c], esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [esp + 0x44]
push edx
lea ecx, [esp + 0x4c]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
push 0x4ae4c0
push 0x4bbda8
lea ecx, [esp + 0x50]
mov byte [esp + 0x40], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Replace]
push 0x4ae4c0
push 0x4bbda4
lea ecx, [esp + 0x50]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Replace]
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_CHtmlView::GetLeft]
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x18]
push ecx
push ebx
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [esp + 0x30]
call fcn.00469da0
fld dword [esp + 0x28]
call fcn.0045a7d4
fld dword [esp + 0x2c]
mov edi, eax
call fcn.0045a7d4
mov esi, dword [esp + 0x40]
lea ecx, [esp + 0xc]
mov dword [esi], edi
mov dword [esi + 4], eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x48]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov edx, dword [esp + 0x18]
push edx
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [esp + 0x30]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x475ff6
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49e899
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.004798d0
lea ecx, [esi + 0x14]
mov dword [esp + 0x10], 0
mov dword [esi], 0x4bc81c
call fcn.00469c80
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 1
call fcn.00469c80
lea ecx, [esi + 0x4c]
mov byte [esp + 0x10], 2
call fcn.00469c80
push str.CUIComboBoxDraw
lea ecx, [esi + 0x10]
mov byte [esp + 0x14], 3
mov dword [esi + 8], 5
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_3]
mov eax, dword [esi + 8]
push eax
mov ecx, esi
call fcn.00479890
mov ecx, dword [esp + 8]
mov dword [esi + 0xc], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x477000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov al, byte [esp + 0x1c]
test al, 6
push ebp
push esi
push edi
jne 0x47702b
test al, 0x40
je 0x477017
lea eax, [ecx + 0x150]
jmp 0x477031
test al, 1
je 0x477023
lea eax, [ecx + 0x1cc]
jmp 0x477031
lea eax, [ecx + 0xd4]
jmp 0x477031
lea eax, [ecx + 0x248]
mov edx, dword [eax + 0xc]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
add ecx, edx
add esi, dword [eax + 0x10]
mov edx, edi
sub edx, ecx
test edx, edx
jle 0x47709f
mov edx, ebp
sub edx, esi
test edx, edx
jle 0x47709f
mov edx, dword [eax + 4]
test edx, edx
je 0x47709f
mov edx, dword [eax + 0x78]
push 0
push 0
push edx
lea edx, [eax + 0x1c]
push edx
xor edx, edx
mov dl, byte [eax + 9]
movzx eax, byte [eax + 8]
push edx
push eax
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [esp + 0x4c]
mov dword [edx + 4], esi
mov dword [edx + 8], edi
mov dword [edx + 0xc], ebp
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
mov eax, dword [esp + 0x3c]
push eax
call fcn.0046a5c0
add esp, 0x30
pop edi
pop esi
pop ebp
ret 0x1c

Function at 0x47b9e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x7c
mov eax, dword [0x4d757c]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x20]
push esi
push eax
call fcn.0047bbe0
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
push ecx
push edx
lea eax, [esp + 0x30]
push eax
call fcn.0047c570
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.0047c640
mov eax, dword [esp + 0xa4]
add esp, 0x18
mov byte [esp + 4], 0x30
mov byte [esp + 5], 0x31
mov byte [esp + 6], 0x32
mov byte [esp + 7], 0x33
mov byte [esp + 8], 0x34
mov byte [esp + 9], 0x35
mov byte [esp + 0xa], 0x36
mov byte [esp + 0xb], 0x37
mov byte [esp + 0xc], 0x38
mov byte [esp + 0xd], 0x39
mov byte [esp + 0xe], 0x61
mov byte [esp + 0xf], 0x62
mov byte [esp + 0x10], 0x63
mov byte [esp + 0x11], 0x64
mov byte [esp + 0x12], 0x65
mov byte [esp + 0x13], 0x66
xor esi, esi
lea esp, [esp]
movzx ecx, byte [esp + esi + 0x14]
mov edx, ecx
shr edx, 4
movzx edx, byte [esp + edx + 4]
mov byte [eax], dl
and ecx, 0xf
movzx ecx, byte [esp + ecx + 4]
mov byte [eax + 1], cl
movzx ecx, byte [esp + esi + 0x15]
add eax, 1
mov edx, ecx
shr edx, 4
movzx edx, byte [esp + edx + 4]
mov byte [eax + 1], dl
and ecx, 0xf
movzx ecx, byte [esp + ecx + 4]
add eax, 1
mov byte [eax + 1], cl
movzx ecx, byte [esp + esi + 0x16]
add eax, 1
mov edx, ecx
shr edx, 4
movzx edx, byte [esp + edx + 4]
mov byte [eax + 1], dl
add eax, 1
and ecx, 0xf
movzx ecx, byte [esp + ecx + 4]
mov byte [eax + 1], cl
movzx ecx, byte [esp + esi + 0x17]
add eax, 1
mov edx, ecx
shr edx, 4
movzx edx, byte [esp + edx + 4]
add eax, 1
and ecx, 0xf
movzx ecx, byte [esp + ecx + 4]
mov byte [eax], dl
add eax, 1
mov byte [eax], cl
add esi, 4
add eax, 1
cmp esi, 0x10
jl 0x47ba80
mov ecx, dword [esp + 0x7c]
pop esi
call fcn.0045a4fd
add esp, 0x7c
ret
Function at 0x47bbe0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x47fa80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x47fa99
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x47faad
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x47face
cmp esi, eax
jae 0x47faa7
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x47fac0
cmp esi, eax
jae 0x47faa7
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x47fba0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49f16b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd80
mov eax, dword [0x4d757c]
push ebx
push esi
mov ebx, ecx
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0xd84], eax
mov dword [esp + 0xc], 0
call fcn.004567d0
mov cx, word [ebx + 0x30]
mov dx, word [ebx + 0x32]
mov eax, dword [ebx + 0xc]
mov word [esp + 0x24], cx
mov ecx, dword [ebx + 0x3c]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx + 0x94]
mov word [esp + 0x26], dx
mov dl, byte [ebx + 0x88]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x90]
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x30], dl
mov edx, dword [ebx + 0x98]
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], edx
lea esi, [ebx + 0x40]
mov ecx, 8
lea edi, [esp + 0x44]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea esi, [ebx + 0x61]
mov ecx, 8
lea edi, [esp + 0x65]
rep movsd dword es:[edi], dword [esi]
push 0x200
lea eax, [ebx + 0x9c]
push eax
lea ecx, [esp + 0xf2]
movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.MSVCR71.dll_wcsncpy]
push ecx
call esi
push 0x40
lea edx, [ebx + 0x49e]
push edx
lea eax, [esp + 0x500]
push eax
call esi
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x520]
mov edx, dword [ebx + 0x524]
add esp, 0x18
test eax, eax
mov dword [esp + 0x570], ecx
mov dword [esp + 0x574], edx
je 0x47fccd
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x47fccd
call fcn.004503c0
mov dword [esp + 0x578], eax
lea eax, [esp + 0x20]
push eax
lea ecx, [ebx + 0x528]
mov dword [esp + 0x580], edx
call fcn.004857a0
mov byte [esp + 0x580], 0
xor eax, eax
mov ecx, 0x1ff
lea edi, [esp + 0x581]
rep stosd dword es:[edi], eax
push 1
stosw word es:[edi], ax
push 0x800
lea ecx, [esp + 0x588]
push ecx
lea ecx, [esp + 0x1c]
stosb byte es:[edi], al
call fcn.00455250
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0xd98], 0
call fcn.004567f0
lea ecx, [esp + 0x10]
call fcn.00455270
push eax
lea eax, [esp + 0x584]
push eax
call fcn.00484720
add esp, 8
test eax, eax
je 0x47fd89
mov ecx, eax
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x47fd40
mov ebx, dword [ebp + 0x10]
sub ecx, esi
mov edi, ecx
movzx ecx, word [ebx]
cmp edi, ecx
jge 0x47fd7f
cmp edi, 0x500
jg 0x47fd7f
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0xc], 1
mov byte [edx], 0
mov ecx, eax
sub esi, eax
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
test dl, dl
jne 0x47fd72
mov word [ebx], di
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0xd94], 0xffffffff
call fcn.00426080
mov ecx, dword [esp + 0xd8c]
mov eax, dword [esp + 0xc]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xd84]
call fcn.0045a4fd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10