joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e1180
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58ae23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [0x594e34]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x4e1200
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58ae53
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x4e7aa4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
push dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4e7b27
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [ebp - 4]
mov edi, eax
lea eax, [ebp + 8]
push eax
push esi
call fcn.004e7a04
test eax, eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
je 0x4e7b05
push 0
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectPalette]
push edi
call dword [sym.imp.GDI32.dll_RealizePalette]
mov eax, dword [ebp + 8]
push 0
push esi
lea eax, [esi + eax*4]
add eax, dword [esi]
push eax
push 4
push esi
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
push edi
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
mov eax, esi
pop esi
leave
ret 0xc
Function at 0x4e8b56
Capabilities:
Get file version info

Disassembly:
mov eax, 0x58bf0c
call fcn.005589d4
sub esp, 0x43c
mov eax, dword [0x5f3edc]
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x438], ebx
xor eax, eax
mov byte [ebp - 0x424], bl
mov ecx, 0x104
lea edi, [ebp - 0x423]
rep stosd dword es:[edi], eax
push 0x410
lea eax, [ebp - 0x424]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x424]
push eax
mov dword [ebp - 0x434], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
jne 0x4e8bec
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x424]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
jne 0x4e8bec
mov ecx, dword [ebp + 8]
push 0x596834
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_6]
jmp 0x4e8cc4
lea eax, [ebp - 0x425]
push eax
push esi
lea ecx, [ebp - 0x448]
mov byte [ebp - 0x425], bl
call fcn.004e8b17
push dword [ebp - 0x444]
lea eax, [ebp - 0x424]
push esi
push ebx
push eax
mov dword [ebp - 4], ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4e8c4e
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x430]
push eax
push 0x597664
push dword [ebp - 0x444]
mov dword [ebp - 0x438], ebx
mov dword [ebp - 0x430], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x4e8c5e
mov ecx, dword [ebp + 8]
push 0x596834
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_6]
jmp 0x4e8cb9
lea ecx, [ebp - 0x42c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_7]
mov eax, dword [ebp - 0x430]
movzx ecx, word [eax + 0x14]
push ecx
movzx ecx, word [eax + 0x16]
push ecx
movzx ecx, word [eax + 0x10]
movzx eax, word [eax + 0x12]
push ecx
push eax
lea eax, [ebp - 0x42c]
push str._d._d._d._d
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format_1]
mov ecx, dword [ebp + 8]
add esp, 0x18
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
lea ecx, [ebp - 0x42c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [ebp - 0x448]
call fcn.004e8ad3
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.00558076
leave
ret 4
Function at 0x4eddbe
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x5f3edc]
push esi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x41c]
push eax
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4ede43
push edi
mov byte [ebp - 0x418], al
mov ecx, 0x104
lea edi, [ebp - 0x417]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x418]
push eax
push esi
push dword [ebp - 0x41c]
mov dword [ebp - 0x420], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 0x418]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
call fcn.00558076
leave
ret

Function at 0x4ee7d7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call sub.MFC71.DLL_AfxGetModuleState
push dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
push dword [ebp + 8]
mov dword [ebp - 8], esi
push esi
mov byte [ebp - 1], 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x4ee80d
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x4ee88e
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4ee820
xor al, al
jmp 0x4ee88d
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
test eax, eax
je 0x4ee833
push eax
call sub.MFC71.DLL_operator_delete_1
and dword [esi], 0
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [ebp + 8], eax
je 0x4ee88a
cmp dword [esi], 0
mov edi, dword [ebp + 0x14]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SizeofResource]
jne 0x4ee85a
push dword [ebp + 0xc]
push dword [ebp - 8]
call ebx
mov dword [edi], eax
mov eax, dword [edi]
test eax, eax
je 0x4ee889
push eax
call sub.MFC71.DLL_operator_new
pop ecx
push dword [ebp + 0xc]
mov dword [esi], eax
push dword [ebp - 8]
mov edi, dword [edi]
call ebx
cmp edi, eax
jl 0x4ee889
push edi
push dword [ebp + 8]
push dword [esi]
call sub.MSVCR71.dll_memcpy
add esp, 0xc
mov byte [ebp - 1], 1
pop ebx
mov al, byte [ebp - 1]
pop edi
pop esi
leave
ret 0x10
Function at 0x4f0d33
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, 0x58c822
call fcn.005589d4
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
and dword [ebp - 4], 0
push str.DrawThemeParentBackground
push eax
mov dword [esi], 0x5c0610
mov dword [esi + 4], eax
call edi
push str.OpenThemeData
push dword [esi + 4]
mov dword [esi + 8], eax
call edi
push str.EnableTheming
push dword [esi + 4]
mov dword [esi + 0xc], eax
call edi
push str.GetWindowTheme
push dword [esi + 4]
mov dword [esi + 0x10], eax
call edi
push str.DrawThemeBackground
push dword [esi + 4]
mov dword [esi + 0x14], eax
call edi
push str.DrawThemeText
push dword [esi + 4]
mov dword [esi + 0x18], eax
call edi
push str.DrawThemeIcon
push dword [esi + 4]
mov dword [esi + 0x1c], eax
call edi
push str.DrawThemeEdge
push dword [esi + 4]
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4f0dcc
push 1
call eax
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4f359d
Capabilities:
Get common file path

Disassembly:
mov eax, 0x58c9f0
call fcn.005589d4
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
call sub.MFC71.DLL_CWnd::CWnd
xor edi, edi
mov dword [esi], 0x5c0cb8
mov dword [ebp - 4], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x6c], 0x59aea4
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 1
call sub.MFC71.DLL_CPtrArray::CPtrArray
lea ecx, [esi + 0x8c]
mov byte [ebp - 4], 2
call sub.MFC71.DLL_CStringArray::CStringArray
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
push 0xf
mov byte [ebp - 4], 3
call ebx
push 8
mov dword [esi + 0x54], eax
call ebx
push 0xffffffffffffffff
push edi
lea ecx, [esi + 0x78]
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0x74], edi
call sub.MFC71.DLL_CPtrArray::SetSize
push 0xffffffffffffffff
push edi
lea ecx, [esi + 0x8c]
call sub.MFC71.DLL_CStringArray::SetSize
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_7]
push 0x410
push 0x411
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::ReleaseBuffer]
push str.winhlp32.exe
lea ecx, [ebp - 0x10]
call dword [0x59434c]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
cmp ebx, edi
je 0x4f36a7
push 0x6a
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
cmp eax, edi
je 0x4f36a7
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [esi + 0xa8], eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4f5775
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
lea eax, [ebp - 4]
push eax
push 1
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
cmp edi, ebx
mov eax, dword [ebp + 0x10]
mov byte [eax], bl
jne 0x4f57f3
push esi
mov esi, dword [ebp + 0x14]
lea eax, [ebp + 0xf]
push eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp + 8], esi
mov byte [ebp + 0xf], bl
call fcn.004f5736
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x10]
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov edi, eax
cmp edi, ebx
jne 0x4f57ea
push esi
push dword [ebp - 0x10]
push dword [ebp + 0x10]
call dword [sym.imp.MSVCR71.dll__mbsnbcpy]
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x14]
call fcn.004692d0
pop esi
mov eax, edi
pop edi
pop ebx
leave
ret 0x10
Function at 0x4f5a26
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x4f62e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x5fdd74]
sub esp, 0xc
test eax, eax
mov dword [0x5fdd70], 0
je 0x4f62fc
xor eax, eax
add esp, 0xc
ret
mov eax, 0x5fdd80
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4f6304
sub eax, edx
push esi
mov dword [esp + 0xc], eax
jne 0x4f63a1
lea eax, [esp + 4]
push eax
push 1
xor esi, esi
push esi
push str.CLSID0280750F_22B0_46fd_BCCA_99B3BF28765EInprocServer32
push SysReAllocString
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4f6385
lea ecx, [esp + 0xc]
push ecx
push 0x5fdd80
lea edx, [esp + 0x10]
push edx
push eax
push eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4f6376
cmp dword [esp + 8], 1
jne 0x4f6376
mov esi, 1
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4f63a1
mov eax, dword [0x5fdd70]
test eax, eax
jle 0x4f6397
mov word [0x5fdd72], 0x8007
mov eax, 0x80004005
pop esi
add esp, 0xc
ret
push 0x5fdd80
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x5fdd74], eax
je 0x4f6385
xor eax, eax
pop esi
add esp, 0xc
ret

Function at 0x4faec4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ecx], 0xffffffff
mov eax, dword [0x5f3edc]
mov dword [ebp - 4], eax
je 0x4faf02
call fcn.004fad0d
push 7
lea ecx, [ebp - 0xc]
push ecx
movzx eax, ax
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x4faf02
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
pop ecx
jmp 0x4faf04
xor eax, eax
mov ecx, dword [ebp - 4]
call fcn.00558076
leave
ret
Function at 0x4fafa8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 0xc]
push ebx
push 0x596834
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
xor ebx, ebx
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push 1
push ebx
push ebx
push ebx
push dword [ebp + 8]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4fb055
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [0x5f2f3c]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4fb055
cmp dword [ebp - 0xc], 1
jne 0x4fb055
mov eax, dword [ebp - 8]
cmp eax, ebx
jbe 0x4fb055
push esi
lea esi, [eax + 1]
push edi
push esi
call sub.MFC71.DLL_operator_new
pop ecx
mov edi, eax
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [0x5f2f3c]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0x2c
push edi
mov byte [edi + esi - 1], bl
call dword [sym.imp.MSVCR71.dll__mbschr]
cmp eax, ebx
pop ecx
pop ecx
je 0x4fb042
mov byte [eax], bl
mov ecx, dword [ebp + 0xc]
push eax
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push edi
call sub.MFC71.DLL_operator_delete
pop ecx
pop edi
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop ebx
leave
ret
Function at 0x4fbb33
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5f3edc]
push edi
push 0
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jne 0x4fbb61
mov edi, dword [ebp + 8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 8]
jmp 0x4fbbec
push esi
push edi
call dword [sym.imp.MSVCR71.dll_malloc]
mov esi, eax
test esi, esi
pop ecx
jne 0x4fbb7c
mov edi, dword [ebp + 8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 8]
jmp 0x4fbbeb
push esi
push edi
push 0
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4fbba3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x597664
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x4fbbb8
push esi
call dword [sym.imp.MSVCR71.dll_free]
mov edi, dword [ebp + 8]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 8]
jmp 0x4fbbea
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + 0x14]
push ecx
movzx ecx, word [eax + 0x16]
push ecx
movzx ecx, word [eax + 0x10]
movzx eax, word [eax + 0x12]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00463f90
push esi
call dword [sym.imp.MSVCR71.dll_free]
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x10]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop ecx
pop esi
mov ecx, dword [ebp - 4]
pop edi
call fcn.00558076
leave
ret
Function at 0x50d310
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58dca8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x24]
mov ebp, dword [esi + 0x28]
mov ebx, dword [esi + 0x30]
add ecx, eax
push edi
mov edi, dword [esi + 0x20]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, eax
add ebp, eax
lea eax, [esi + 0x10]
mov dword [esp + 0x1c], ecx
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 0
call fcn.0050cfc0
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x14], eax
cmp edi, dword [esp + 0x18]
jbe 0x50d37f
cmp ebp, dword [esp + 0x1c]
ja 0x50d418
mov ecx, dword [esi + 0x30]
mov edx, dword [esi]
mov eax, dword [esi + 0x34]
sub edx, ecx
add edx, ebx
cmp edx, eax
jbe 0x50d3a2
add eax, eax
push eax
push ecx
mov dword [esi + 0x34], eax
call dword [sym.imp.MSVCR71.dll_realloc]
add esp, 8
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x10]
and eax, 1
jne 0x50d3e3
cmp edi, dword [esp + 0x18]
ja 0x50d3e3
mov ecx, dword [esp + 0x14]
shr ecx, 0x10
lea eax, [esp + 0x20]
and ecx, 0xfffe
push eax
push ecx
mov ecx, dword [esi + 0xc]
mov edx, edi
sub edx, ecx
push edx
mov ecx, esi
call fcn.0050c940
mov eax, dword [esi]
push eax
push ebx
push edi
mov ecx, esi
call fcn.0050baf0
mov edi, eax
jmp 0x50d3fc
cmp eax, 1
jne 0x50d3fc
cmp ebp, dword [esp + 0x1c]
ja 0x50d3fc
mov ecx, dword [esi]
push ecx
push ebx
push ebp
mov ecx, esi
call fcn.0050baf0
mov ebp, eax
mov edx, dword [esi]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ebx, edx
mov edx, dword [esp + 0x40]
inc ecx
mov dword [esp + 0x10], ecx
add eax, edx
jmp 0x50d36b
mov eax, dword [esp + 0x24]
test eax, eax
pop edi
pop esi
pop ebp
pop ebx
je 0x50d42d
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, dword [esp]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4

Function at 0x517779
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x58e132
call fcn.005589d4
push ecx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esi], 0x5c3714
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov dword [esi], 0x5c38c8
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
lea eax, [edi + 0x10]
push eax
lea ecx, [esi + 0x10]
mov dword [ebp - 0x10], esi
call fcn.0051628f
and dword [ebp - 4], 0
lea eax, [edi + 0x20]
push eax
lea ecx, [esi + 0x20]
call fcn.0051628f
add edi, 0x30
push edi
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call fcn.0051628f
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x537070
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x591226
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
push 1
push eax
mov eax, dword [esp + 0x28]
mov esi, ecx
mov ecx, dword [esp + 0x30]
push ebp
push ecx
push edx
push eax
mov ecx, esi
mov dword [esp + 0x24], esi
call fcn.00536cd0
xor edi, edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
lea eax, [esi + 0xa4]
push eax
mov dword [esp + 0x1c], edi
mov dword [esi], 0x5c75b8
mov dword [esi + 0xc], 0x5c7570
mov dword [esi + 0x10], 0x5c7558
mov dword [esi + 0xa0], 0x5c7548
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push edi
push 1
push 1
push edi
mov byte [esp + 0x28], 1
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc0], edi
mov dword [esi + 0xc4], edi
mov dword [esi + 0xc8], edi
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd0], edi
mov dword [esi + 0xd4], edi
mov dword [esi + 0xd8], edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp eax, edi
mov dword [esi + 0xbc], eax
jne 0x53715b
call fcn.005318a0
cmp eax, edi
jge 0x537145
mov dword [ebp], eax
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14
mov byte [esi + 0x25], 1
jmp 0x537145