joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401400
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add ecx, 0xa8
jmp 0x412850
sub esp, 0x4c
mov eax, dword [0x48644c]
push ebp
mov ebp, dword [esp + 0x54]
test ebp, ebp
mov dword [esp + 0x4c], eax
push edi
je 0x4129bb
mov edi, dword [esp + 0x60]
test edi, edi
je 0x4129bb
mov al, 0x98
mov byte [esp + 0x11], al
mov byte [esp + 0x17], al
xor eax, eax
mov dword [esp + 0x2d], eax
mov dword [esp + 0x31], eax
mov dword [esp + 0x35], eax
mov dword [esp + 0x39], eax
mov dword [esp + 0x3d], eax
mov dword [esp + 0x41], eax
mov dword [esp + 0x45], eax
mov byte [esp + 0xc], 0xa
mov byte [esp + 0xd], 0x3d
mov byte [esp + 0xe], 0xdb
mov byte [esp + 0xf], 0
mov byte [esp + 0x10], 0x13
mov byte [esp + 0x12], 0x47
mov byte [esp + 0x13], 0x57
mov byte [esp + 0x14], 0x9c
mov byte [esp + 0x15], 1
mov byte [esp + 0x16], 0x84
mov byte [esp + 0x18], 0x70
mov byte [esp + 0x19], 0xb0
mov byte [esp + 0x1a], 0x5e
mov byte [esp + 0x1b], 0x2e
mov byte [esp + 0x1c], 0x7c
mov byte [esp + 0x1d], 0x32
mov byte [esp + 0x1e], 0xdd
mov byte [esp + 0x1f], 0xe3
mov byte [esp + 0x20], 0x9d
mov byte [esp + 0x21], 7
mov byte [esp + 0x22], 0x4e
mov byte [esp + 0x23], 0x3a
mov byte [esp + 0x24], 0xa5
mov byte [esp + 0x25], 0x97
mov byte [esp + 0x26], 0x5d
mov byte [esp + 0x27], 0xc6
mov byte [esp + 0x28], 0x4c
mov byte [esp + 0x29], 0xd
mov byte [esp + 0x2a], 0x83
mov byte [esp + 0x2b], 0x11
mov byte [esp + 0x2c], 0
mov dword [esp + 0x49], eax
mov ecx, 0x20
jmp 0x412950
movzx edx, byte [esp + eax + 0xc]
mov dl, byte [edx + str.http:__vas._s_interface_chathall_buy.htmlhttp:__vas._s_interface_chathall_buy.html_uid_I64dmcheck_snickname_shttp:__www0._s_interface_chathall_buy_aristocrat_vip.html_oemid_duid_I64dmcheck_snickname_shttp:__vip.17guagua.com]
mov byte [esp + eax + 0x2c], dl
inc eax
dec ecx
jne 0x412950
push esi
xor esi, esi
call fcn.0045bc00
test eax, eax
mov dword [esp + 0xc], eax
je 0x4129a7
mov edx, dword [eax]
push 0x20
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
call dword [edx + 4]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x64]
push edi
push eax
push ebp
push 1
call dword [edx + 0xc]
lea ecx, [esp + 0xc]
push ecx
mov esi, eax
call fcn.0045b570
add esp, 4
mov eax, esi
pop esi
pop edi
pop ebp
mov ecx, dword [esp + 0x48]
call fcn.00436153
add esp, 0x4c
ret 0x10
mov ecx, dword [esp + 0x50]
pop edi
xor eax, eax
pop ebp
call fcn.00436153
add esp, 0x4c
ret 0x10

Function at 0x401420
Capabilities:
Read .ini file

Disassembly:
add ecx, 0xa8
jmp fcn.00413100
Function at 0x402320
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebp
push esi
mov ebp, ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x20]
push eax
push ecx
push edx
mov byte [esp + 0x17], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x40234c
pop esi
xor al, al
pop ebp
pop ecx
ret 0x10
mov eax, dword [ebp + 0x20]
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
mov dword [esp + 0x18], edi
jne 0x40236b
pop edi
pop esi
xor al, al
pop ebp
pop ecx
ret 0x10
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x4023d9
mov eax, dword [esp + 0x20]
test eax, eax
mov ecx, dword [ebp + 0x20]
push esi
push ecx
jne 0x4023aa
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [esp + 0x24]
push edi
mov dword [edx], eax
mov byte [esp + 0x17], 1
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov al, byte [esp + 0x13]
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret 0x10
mov eax, dword [esp + 0x2c]
mov edi, dword [eax]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp edi, eax
jl 0x4023d5
mov ecx, edi
mov edi, dword [esp + 0x20]
mov edx, ecx
shr ecx, 2
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [esp + 0x13], 1
mov edi, dword [esp + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov al, byte [esp + 0x13]
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret 0x10

Function at 0x4023f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x466732
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
lea eax, [esp + 8]
xor ebx, ebx
push eax
push ebx
push ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 1
mov dword [esp + 0x14], ebx
call dword [sym.imp.MFC71U.DLL_CRecordset::GetBoundParamIndex]
push eax
push ebx
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71U.DLL_CRecordset::GetBoundParamIndex]
push eax
mov ecx, esi
call fcn.00402320
test al, al
je 0x40249a
mov eax, dword [esp + 8]
cmp eax, ebx
jle 0x40249a
push edi
push eax
call sub.MFC71U.DLL_SerializeElements
add esp, 4
lea ecx, [esp + 0xc]
push ecx
mov edi, eax
push edi
push ebx
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC71U.DLL_CRecordset::GetBoundParamIndex]
push eax
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
mov ecx, esi
call fcn.00402320
test al, al
je 0x402490
mov edx, dword [esp + 0xc]
push edx
push edi
mov ecx, esi
call fcn.004020c0
test al, al
je 0x402490
mov bl, 1
push edi
call sub.MFC71U.DLL_operator_new
add esp, 4
pop edi
lea ecx, [esp + 0x1c]
mov byte [esi + 0x30], bl
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0xc]
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4027f0
Capabilities:
Create thread
Resume thread

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 0xc]
push esi
mov esi, ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x40], eax
mov al, byte [esi + 0x30]
test al, al
mov dword [esi + 0x38], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x3c], edx
mov dword [esi + 0x44], ecx
je 0x402860
cmp dword [esi + 0x28], 1
jb 0x402860
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x402860
lea edx, [esp + 8]
push edx
push 4
push esi
push 0x4027c0
push 0
push 0
mov dword [esp + 0x20], 0
call dword [sym.imp.MSVCR71.dll__beginthreadex]
add esp, 0x18
test eax, eax
mov dword [esi + 0x14], eax
jne 0x402859
mov al, 1
pop esi
ret 0x14
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor al, al
pop esi
ret 0x14

Function at 0x404940
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
mov eax, dword [0x48644c]
push ebx
push esi
lea esi, [ecx + 0x54c]
push edi
mov ecx, esi
mov dword [esp + 0x30], eax
mov word [esp + 0xc], 0x7b
mov word [esp + 0xe], 0x7d
mov word [esp + 0x10], 0x3a
mov word [esp + 0x12], 0x22
mov word [esp + 0x14], 0x7c
mov word [esp + 0x16], 0x3c
mov word [esp + 0x18], 0x3e
mov word [esp + 0x1a], 0x3f
mov word [esp + 0x1c], 0x5b
mov word [esp + 0x1e], 0x5d
mov word [esp + 0x20], 0x3b
mov word [esp + 0x22], 0x27
mov word [esp + 0x24], 0x5c
mov word [esp + 0x26], 0x2c
mov word [esp + 0x28], 0x2e
mov word [esp + 0x2a], 0x2f
mov word [esp + 0x2c], 0
call dword [sym.imp.MFC71U.DLL_CRichEditView::EditStreamCallBack]
push 0
call dword [sym.imp.MSVCR71.dll_time]
push eax
call dword [sym.imp.MSVCR71.dll_srand]
mov ebx, dword [sym.imp.MSVCR71.dll_rand]
add esp, 8
mov edi, 8
call ebx
and eax, 0x8000000f
jns 0x4049ff
dec eax
or eax, 0xfffffff0
inc eax
movzx eax, word [esp + eax*2 + 0xc]
push eax
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator]
dec edi
jne 0x4049f1
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebx
call fcn.00436153
add esp, 0x28
ret
Function at 0x404a70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4669cc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x48644c]
push esi
push edi
mov dword [esp + 0x11c], eax
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0x40
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
push 0
stosb byte es:[edi], al
push 0x104
lea eax, [esp + 0x1c]
push eax
push str.7E8DEDA4E55246b9B3802F4F72E628C2.gif
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
push eax
push str.7E8DEDA4E55246b9B3802F4F72E628C2.gif
push 0
push 0x3a8
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_5]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push str._HTML__HEAD__TITLE___TITLE__META_NAME_GENERATOR__Content_____t_t_t_t_____HEAD___t_t_t_t____BODY_stylemargin_top:_0px__margin_right:_0px__margin_bottom:_0px__margin_left:_0px_word_break:break_all___t_t_t_t___scroll_no____t_t_t_t____img_src__s_____t_t_t_t_____BODY___t_t_t_t_____HTML_
push edx
mov dword [esp + 0x138], 0
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format_1]
mov ecx, dword [ebp + 8]
add esp, 0xc
push 0x46ee9c
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.MSVCR71.dll__wfopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x404b3c
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
xor eax, eax
jmp 0x404b67
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 0xc]
push esi
push ecx
push 1
push eax
call dword [sym.imp.MSVCR71.dll_fwrite]
push esi
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 0x14
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
mov eax, 1
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x11c]
call fcn.00436153
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x404b90
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
push edi
je 0x404bdf
mov edi, dword [esp + 0xc]
test edi, edi
je 0x404bdf
push esi
push 0x46ee9c
push eax
call dword [sym.imp.MSVCR71.dll__wfopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x404bbc
pop esi
pop edi
ret 0xc
mov eax, dword [esp + 0x14]
push esi
push eax
push 1
push edi
call dword [sym.imp.MSVCR71.dll_fwrite]
push esi
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 0x14
pop esi
mov eax, 1
pop edi
ret 0xc
xor eax, eax
pop edi
ret 0xc
Function at 0x4069a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x466c69
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 8], edi
call dword [sym.imp.MFC71U.DLL_CWinThread::GetMainWnd]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.MFC71U.DLL_CDockContext::Stretch]
add esp, 4
push eax
push edi
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_CHtmlView::GetLeft]
push eax
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MFC71U.DLL_CPreviewDC::ComputeDeltas]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x408ac0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x466d1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a0
mov eax, dword [0x48644c]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 0x1a0], eax
lea eax, [ebx + 0x6c]
push edi
push eax
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
mov edi, ebx
mov ecx, 0x18
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x64]
mov ecx, dword [eax + 4]
add ebx, 0x60
push ecx
xor esi, esi
mov ecx, ebx
mov dword [esp + 0x1b8], esi
call fcn.00406cb0
mov eax, dword [ebx + 4]
mov dword [eax + 4], eax
mov eax, dword [ebx + 4]
mov dword [ebx + 8], esi
mov dword [eax], eax
mov eax, dword [ebx + 4]
mov dword [eax + 8], eax
xor edx, edx
mov dword [esp + 0x29], edx
mov dword [esp + 0x2d], edx
mov dword [esp + 0x31], edx
mov dword [esp + 0x35], edx
xor eax, eax
mov byte [esp + 0x98], dl
mov ecx, 0x40
lea edi, [esp + 0x99]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
push esi
stosw word es:[edi], ax
push esi
stosb byte es:[edi], al
push 0x104
lea eax, [esp + 0xa4]
push eax
push 0xffffffffffffffff
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov byte [esp + 0x3c], 0
mov dword [esp + 0x4d], edx
call dword [sym.imp.MFC71U.DLL_COleStreamFile::GetStream]
push eax
push esi
push 0x3a8
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ecx, [esp + 0x98]
push 0x46f35c
push ecx
call dword [sym.imp.MSVCR71.dll_fopen]
mov edi, eax
add esp, 8
cmp edi, esi
mov dword [esp + 0x24], edi
jne 0x408bcf
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x408c63
mov dword [esp + 0x1c], esi
mov esi, dword [sym.imp.MSVCR71.dll_fread]
push edi
push 8
lea eax, [esp + 0x18]
push 1
push eax
call esi
add esp, 0x10
cmp eax, 8
jb 0x408c49
push edi
push 0x14
lea ecx, [esp + 0x30]
push 1
push ecx
call esi
add esp, 0x10
cmp eax, 0x14
jl 0x408c49
mov edx, dword [esp + 0x10]
xor eax, eax
mov ecx, 0x16
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
call fcn.004088f0
mov edi, eax
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 5
mov ecx, 0x16
lea esi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
jl 0x408bd3
push edi
call dword [sym.imp.MSVCR71.dll_fclose]
mov edx, dword [esp + 0x24]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
mov ecx, dword [esp + 0x1ac]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1a4]
call fcn.00436153
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40aec0
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push edi
mov esi, ecx
call fcn.0040ae20
test eax, eax
je 0x40af21
push 0
push edi
push 0
push 0
push 0
push SysReAllocStringLen
push 0
push SysReAllocStringLen
push 0
push str.GuaGua_Video_Community
push str.GuaGua_Video_Community
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
mov dword [esi], eax
je 0x40af21
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
push eax
call sub.MFC71U.DLL_CMenu::FromHandle
pop edi
mov dword [0x4870f8], eax
mov eax, 1
pop esi
ret 4
pop edi
xor eax, eax
pop esi
ret 4
Function at 0x40dd50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4671f3
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_char_const__]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [0x46d8f8]
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 0x40ddd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4671f3
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 [0x46d8fc]
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 0x411330
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4673e1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esi + 8], ebx
mov eax, dword [esi + 0x40]
mov ecx, dword [eax]
lea edi, [esi + 0x3c]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov dword [esp + 0x28], 2
call fcn.004100a0
mov eax, dword [edi + 4]
push eax
call sub.MFC71U.DLL_CNoTrackObject::operator_new
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x34]
mov ecx, dword [eax]
add esp, 4
lea edi, [esi + 0x30]
push eax
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov byte [esp + 0x28], 1
call fcn.004100a0
mov eax, dword [edi + 4]
push eax
call sub.MFC71U.DLL_CNoTrackObject::operator_new
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x28]
mov ecx, dword [eax]
add esp, 4
lea edi, [esi + 0x24]
push eax
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, edi
mov byte [esp + 0x28], bl
call fcn.0040fe20
mov eax, dword [edi + 4]
push eax
call sub.MFC71U.DLL_CNoTrackObject::operator_new
add esp, 4
add esi, 0xc
push esi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x411400
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4673f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + 4]
push edi
lea edi, [esi + 0x30]
push ecx
mov ecx, edi
call fcn.0040f6b0
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
xor ebx, ebx
mov dword [edi + 8], ebx
mov dword [eax], eax
mov edi, dword [edi + 4]
mov dword [edi + 8], edi
mov edx, dword [esi + 0x40]
mov eax, dword [edx + 4]
lea edi, [esi + 0x3c]
push eax
mov ecx, edi
call fcn.0040f6b0
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [edi + 8], ebx
mov dword [eax], eax
mov edi, dword [edi + 4]
mov dword [edi + 8], edi
mov ecx, dword [esi + 0x28]
mov edx, dword [ecx + 4]
lea edi, [esi + 0x24]
push edx
mov ecx, edi
call fcn.0040f670
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [edi + 8], ebx
mov dword [eax], eax
mov edi, dword [edi + 4]
mov dword [edi + 8], edi
lea ecx, [esp + 0xc]
mov dword [esi], 1
call fcn.00421ae0
push esi
push 0x410fe0
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], ebx
call fcn.00421b70
mov eax, dword [esi + 4]
inc eax
mov ecx, 0x4870d8
mov dword [esi + 4], eax
call fcn.00401360
mov ecx, eax
call fcn.00402a50
lea ecx, [esp + 0xc]
mov dword [esi + 0x4c], eax
mov dword [esp + 0x18], 0xffffffff
call fcn.0045a6c0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x411610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x467431
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
lea eax, [esi + 0xc]
push eax
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea edi, [esi + 0x24]
xor ebp, ebp
mov ecx, edi
mov dword [esp + 0x1c], ebp
call fcn.0040f6f0
mov dword [edi + 4], eax
mov ebx, 1
mov byte [eax + 0x29], bl
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
lea edi, [esi + 0x30]
mov ecx, edi
mov byte [esp + 0x1c], bl
call fcn.0040f790
mov dword [edi + 4], eax
mov byte [eax + 0x15], bl
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
lea edi, [esi + 0x3c]
mov ecx, edi
mov byte [esp + 0x1c], 2
call fcn.0040f790
mov ecx, dword [esp + 0x14]
mov dword [edi + 4], eax
mov byte [eax + 0x15], bl
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
pop edi
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
mov dword [esi], ebp
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebp
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x412ff0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x220
mov eax, dword [0x48644c]
push esi
push edi
mov dword [esp + 0x224], eax
mov esi, ecx
mov edx, dword [esi + 0x24]
xor eax, eax
mov word [esp + 0x18], 0
mov ecx, 0x81
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
stosw word es:[edi], ax
mov eax, dword [ebp + 0xc]
push eax
push ecx
push edx
lea eax, [esp + 0x24]
push str.GG__03d__I64d
push eax
call dword [sym.imp.MSVCR71.dll_swprintf]
add esp, 0x14
lea ecx, [esp + 0x18]
push ecx
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
test eax, eax
mov dword [esi + 0xb60], eax
je 0x413094
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 0xb64], eax
jne 0x4130aa
mov edx, dword [esi + 0xb60]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x10
push 0x47005c
push str.Could_not_map_view_of_file.
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov ecx, dword [esp + 0x224]
call fcn.00436153
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov esi, dword [eax]
test esi, esi
je 0x4130e7
mov eax, dword [0x487120]
push eax
mov dword [esp + 0x10], 0xc
call dword [sym.imp.MSVCR71.dll_wcslen]
mov ecx, dword [0x487120]
add esp, 4
lea edx, [esp + 0xc]
push edx
push 0
push 0x4a
shl eax, 1
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x224]
mov eax, 1
call fcn.00436153
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8