joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427590
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4db8fc
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x5134a8]
xor eax, esp
mov dword [esp + 0x290], eax
mov eax, dword [0x5134a8]
xor eax, esp
push eax
lea eax, [esp + 0x298]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x96]
push ecx
mov word [esp + 0x98], ax
call fcn.004728d0
add esp, 0xc
push 0x104
lea edx, [esp + 0x90]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 8]
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_void_]
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0xc]
push str.__s_
push ecx
mov dword [esp + 0x2ac], 0
call dword [sym.imp.LibDui.dll_public:_int___cdecl_DuiLib::CDuiString::Format_wchar_t_const__]
add esp, 0xc
lea edx, [esp + 4]
push edx
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42767b
push 0x104
lea ecx, [esp + 0xc]
call dword [sym.imp.LibDui.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
push eax
mov eax, dword [esp + 0xc]
push 1
push 0
push str.Soft_LeiBaoJsq
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 8]
mov dword [esp + 0x2a0], 0xffffffff
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
xor eax, eax
mov ecx, dword [esp + 0x298]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.00460640
add esp, 0x2a0
ret

Function at 0x4276c0
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
sub esp, 0x10c
mov eax, dword [0x5134a8]
xor eax, esp
mov dword [esp + 0x108], eax
push 0x103
lea eax, [esp + 9]
push 0
push eax
mov byte [esp + 0x10], 0
call fcn.004728d0
add esp, 0xc
push 0x104
lea ecx, [esp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp]
push edx
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x427737
mov eax, dword [esp]
push str.Soft_LeiBaoJsq
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x108]
xor ecx, esp
xor eax, eax
call fcn.00460640
add esp, 0x10c
ret
Function at 0x427750
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesRasManParameters
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4277ba
mov dword [esp + 4], eax
mov eax, 4
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 4]
lea edx, [esp + 8]
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14]
push eax
push 0
push str.ProhibitIpSec
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4277ba
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 4]
add esp, 0x10
ret
xor eax, eax
add esp, 0x10
ret

Function at 0x4277c0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
push 0x20006
push 0
push str.SYSTEMCurrentControlSetServicesRasManParameters
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42780d
mov edx, dword [esp]
push 4
lea ecx, [esp + 8]
push ecx
push 4
push eax
push str.ProhibitIpSec
push edx
mov dword [esp + 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 8
ret

Function at 0x427940
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x4dc2d8
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x5134a8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x427a14
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [esp + 0x34]
inc eax
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [esp + 0x38], 0x10
mov ecx, dword [esp + 0x24]
jae 0x4279a2
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x38]
inc ecx
push ecx
push eax
call fcn.00469ce0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esp + 0x14], 0xffffffff
cmp dword [esp + 0x38], 0x10
jb 0x4279e4
mov edx, dword [esp + 0x24]
push edx
call fcn.00460940
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00401050
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret
mov dword [esp + 0x14], 0xffffffff
cmp dword [esp + 0x38], 0x10
jb 0x427a30
mov eax, dword [esp + 0x24]
push eax
call fcn.00460940
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00401050
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x431c80
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push ecx
push fcn.00427d50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret

Function at 0x431ca0
Capabilities:
Create thread

Disassembly:
push ecx
test edi, edi
je 0x431cf0
mov ecx, dword [0x51c9ac]
cmp dword [ecx + 0x1da8], 0
jne 0x431cf0
push esi
mov esi, dword [sym.imp.LibDui.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push 0
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [0x51c9ac]
call esi
push eax
call fcn.004446a0
mov ecx, dword [0x51c9ac]
add esp, 4
push 1
mov dword [ecx + 0x1da8], eax
push 1
mov ecx, eax
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_]
pop esi
lea edx, [esp]
push edx
push 0
push edi
push 0x42c450
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret

Function at 0x431d10
Capabilities:
Create thread

Disassembly:
push ecx
test esi, esi
je 0x431d49
push edi
mov edi, dword [sym.imp.LibDui.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push 0
mov ecx, esi
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, esi
call edi
push eax
call fcn.004446a0
add esp, 4
push 1
push 1
mov ecx, eax
mov dword [esi + 0x1da8], eax
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_]
pop edi
lea eax, [esp]
push eax
push 0
push esi
push 0x42f850
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret

Function at 0x431d70
Capabilities:
Create thread

Disassembly:
push ecx
test esi, esi
je 0x431da9
push edi
mov edi, dword [sym.imp.LibDui.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push 0
mov ecx, esi
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, esi
call edi
push eax
call fcn.004446a0
add esp, 4
push 1
push 1
mov ecx, eax
mov dword [esi + 0x1da8], eax
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_]
pop edi
lea eax, [esp]
push eax
push 0
push esi
push 0x42e4d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret

Function at 0x431dd0
Capabilities:
Create thread

Disassembly:
push ecx
test esi, esi
je 0x431e09
push edi
mov edi, dword [sym.imp.LibDui.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push 0
mov ecx, esi
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, esi
call edi
push eax
call fcn.004446a0
add esp, 4
push 1
push 1
mov ecx, eax
mov dword [esi + 0x1da8], eax
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_]
pop edi
lea eax, [esp]
push eax
push 0
push esi
push 0x42eae0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x431e30
Capabilities:
Create thread

Disassembly:
push ecx
test edi, edi
je 0x431e80
mov ecx, dword [0x51c9ac]
cmp dword [ecx + 0x1da8], 0
jne 0x431e80
push esi
mov esi, dword [sym.imp.LibDui.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push 0
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [0x51c9ac]
call esi
push eax
call fcn.004446a0
mov ecx, dword [0x51c9ac]
add esp, 4
push 1
mov dword [ecx + 0x1da8], eax
push 1
mov ecx, eax
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_]
pop esi
lea edx, [esp]
push edx
push 0
push edi
push 0x4305a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4366c0
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4db8b9
mov eax, dword fs:[0]
push eax
mov eax, 0x107c
call fcn.0047fb60
mov eax, dword [0x5134a8]
xor eax, esp
mov dword [esp + 0x1074], eax
push ebp
push esi
push edi
mov eax, dword [0x5134a8]
xor eax, esp
push eax
lea eax, [esp + 0x108c]
mov dword fs:[0], eax
push 0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x109c], 0
push ecx
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x30], 0xc
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x4367b7
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x40], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [esp + 0x18]
xor ecx, ecx
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x40]
push eax
push ecx
push ecx
push 0x10
push 1
push ecx
mov word [esp + 0x88], cx
push ecx
lea ecx, [esp + 0x10bc]
mov dword [esp + 0x88], 0x101
call dword [sym.imp.LibDui.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4367d6
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x2c]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 0x109c]
mov dword [esp + 0x1094], 0xffffffff
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
xor eax, eax
jmp 0x43688e
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebp
push 0xfff
lea ecx, [esp + 0x89]
push 0
push ecx
mov byte [esp + 0x90], 0
call fcn.004728d0
mov ecx, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 0xc
push 0
lea edx, [esp + 0x20]
push edx
push 0xfff
lea eax, [esp + 0x90]
push eax
push ecx
call esi
test eax, eax
je 0x436856
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ecx]
push 0x1f4
call edi
mov ecx, dword [esp + 0x14]
push 0
lea edx, [esp + 0x20]
push edx
push 0xfff
lea eax, [esp + 0x90]
push eax
push ecx
call esi
test eax, eax
jne 0x436830
mov edx, dword [esp + 0x30]
push edx
call ebp
mov eax, dword [esp + 0x14]
push eax
call ebp
mov ecx, dword [esp + 0x2c]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 0x109c]
mov dword [esp + 0x1094], 0xffffffff
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov eax, 1
mov ecx, dword [esp + 0x108c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x1074]
xor ecx, esp
call fcn.00460640
add esp, 0x1088
ret 0x84
Function at 0x4368c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e065c
mov eax, dword fs:[0]
push eax
sub esp, 0x108
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5134a8]
xor eax, esp
push eax
lea eax, [esp + 0x11c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x12c]
xor ebx, ebx
xor eax, eax
mov dword [edi + 0xc], ebx
mov dword [edi + 0x28], 7
mov dword [edi + 0x24], ebx
mov word [edi + 0x14], ax
lea ebp, [edi + 0x30]
mov dword [esp + 0x124], ebx
mov ecx, ebp
mov dword [edi], vtable.CRasCtl.0
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_void_]
lea esi, [esp + 0x98]
mov byte [esp + 0x124], 1
call fcn.004010b0
push 0x4fd9ac
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
mov byte [esp + 0x12c], 2
call dword [sym.imp.LibDui.dll_public:_class_DuiLib::CDuiString___thiscall_DuiLib::CDuiString::operator_wchar_t_const__]
push eax
mov ecx, ebp
mov byte [esp + 0x128], 3
call dword [sym.imp.LibDui.dll_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_class_DuiLib::CDuiString_const__]
mov byte [esp + 0x124], 2
mov esi, dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
lea ecx, [esp + 0x14]
call esi
lea ecx, [esp + 0x98]
mov byte [esp + 0x124], 1
call esi
mov dword [edi + 0xb4], ebx
mov eax, edi
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 4

Function at 0x4369b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4dd6e8
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5134a8]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
mov dword [esi], vtable.CRasCtl.0
lea ecx, [esi + 0x30]
mov dword [esp + 0x10], 0
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov dword [esp + 0x10], 0xffffffff
mov dword [esi], vtable.CDailBase.0
add esi, 0xc
cmp dword [esi + 0x1c], 8
jb 0x436a0f
mov eax, dword [esi + 8]
push eax
call fcn.00460940
add esp, 4
xor ecx, ecx
mov dword [esi + 0x1c], 7
mov dword [esi + 0x18], 0
mov word [esi + 8], cx
mov ecx, esi
call fcn.00401050
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4
Function at 0x43d520
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4dbcfe
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x5134a8]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5134a8]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov eax, dword [esp + 0x234]
push str.wangka
lea ecx, [eax + 0x30]
call dword [sym.imp.LibDui.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
mov esi, eax
mov eax, dword [esi + 0x550]
mov edx, dword [eax + 0x20]
lea ebx, [esi + 0x550]
mov ecx, ebx
mov dword [esp + 0x18], esi
call edx
push 0x288
call fcn.00463fb0
mov ebp, eax
add esp, 4
lea eax, [esp + 0x14]
push eax
push ebp
mov dword [esp + 0x1c], 0x288
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x43d5c5
push ebp
call fcn.00460920
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00463fb0
add esp, 8
mov ebp, eax
lea edx, [esp + 0x14]
push edx
push ebp
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x43d6be
mov edi, ebp
test ebp, ebp
je 0x43d6a9
mov eax, dword [edi + 0x1a0]
cmp eax, 6
je 0x43d5f6
cmp eax, 0x47
jne 0x43d69b
lea eax, [edi + 0x10c]
push str.TAP_Win32
push eax
call fcn.0046a140
add esp, 8
test eax, eax
jne 0x43d69b
mov edx, dword [edi + 0x19c]
lea ecx, [esp + 0x20]
push ecx
push edx
call fcn.0043d700
push 0x568
call fcn.00463540
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0x22c], 0
test esi, esi
je 0x43d655
mov ecx, esi
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CListLabelElementUI::constructor_void_]
mov dword [esi], vtable.DuiLib::CListLabelElementUI.0
jmp 0x43d657
xor esi, esi
mov dword [esp + 0x22c], 0xffffffff
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call edx
mov ecx, dword [edi + 0x19c]
mov eax, dword [esi]
mov edx, dword [eax + 0xf0]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0xa8]
push 0x17
mov ecx, esi
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x10]
push esi
mov ecx, ebx
call edx
mov edi, dword [edi]
test edi, edi
jne 0x43d5e2
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 0x698]
mov edx, dword [eax + 0xc]
lea ecx, [esi + 0x698]
push 0
push 0
call edx
push ebp
call fcn.00460920
add esp, 4
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00460640
add esp, 0x21c
ret 4
Function at 0x43db40
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4e1037
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5134a8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [edi], 0x4ff3a0
mov dword [edi + 0x58], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 8]
push esi
mov dword [esp + 0x20], ebx
push edi
mov dword [esp + 0x18], 1
call fcn.0043eb60
mov dword [esp + 0x1c], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
call fcn.0043f520
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x51d114]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x43e7c0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4e0ff2
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5134a8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [edi], 0x4ff3b0
mov dword [edi + 0x54], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 4]
push esi
mov dword [esp + 0x20], ebx
push edi
mov dword [esp + 0x18], 1
call fcn.0043ead0
mov dword [esp + 0x1c], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
call fcn.0043f520
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x51d114]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov byte [esp + 0x1c], 2
call fcn.0043edd0
test eax, eax
jne 0x43e8b0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edi + 8]
add ecx, edi
or eax, 2
cmp dword [ecx + 0x28], ebx
jne 0x43e8a9
or eax, 4
push ebx
push eax
call fcn.00403d40
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x43f520
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4dc1fb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5134a8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0045f550
push 0x1b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VCinclude_streambuf
mov dword [esp + 0x24], 0
call fcn.0045e110
push eax
push 4
call fcn.0045e020
mov edi, eax
add esp, 0x10
test edi, edi
je 0x43f5ab
call fcn.0045ea10
mov dword [edi], eax
call fcn.0045e7e0
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0045e1c0
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x43f5a0
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.0045e200
jmp 0x43f5ad
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4