joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4064c0
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
je 0x4064f3
mov eax, dword [ebp + 0x20]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4064fb
pop esi
xor al, al
pop ebp
pop ecx
ret 0x10
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x406561
mov eax, dword [esp + 0x1c]
test eax, eax
mov ecx, dword [ebp + 0x20]
jne 0x406532
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [esp + 0x20]
pop ebx
mov byte [esp + 0xb], 1
pop esi
mov dword [edx], eax
mov al, byte [esp + 7]
pop ebp
pop ecx
ret 0x10
mov eax, dword [esp + 0x20]
push edi
mov edi, dword [eax]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp edi, eax
jl 0x406560
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
pop edi
mov al, byte [esp + 0xf]
pop ebx
pop esi
pop ebp
pop ecx
ret 0x10

Function at 0x406570
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x491fe2
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.004064c0
test al, al
je 0x406616
mov eax, dword [esp + 8]
cmp eax, ebx
jle 0x406616
push ebp
push edi
push eax
call sub.MFC71U.DLL_SerializeElements
mov ebp, dword [esp + 0x2c]
add esp, 4
lea ecx, [esp + 0x10]
push ecx
mov edi, eax
push edi
push ebx
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71U.DLL_CRecordset::GetBoundParamIndex]
push eax
push ebp
mov ecx, esi
call fcn.004064c0
test al, al
je 0x40660b
mov edx, dword [esp + 0x10]
push edx
push edi
mov ecx, esi
call fcn.00406450
test al, al
je 0x40660b
mov bl, 1
push edi
call sub.MFC71U.DLL_operator_new
add esp, 4
pop edi
pop ebp
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 0x406910
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 0x406980
cmp dword [esi + 0x28], 1
jb 0x406980
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x406980
lea edx, [esp + 8]
push edx
push 4
push esi
push 0x4068e0
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 0x406979
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 0x407210
Capabilities:
Hide graphical window

Disassembly:
push esi
push 1
mov esi, ecx
call fcn.00407150
test eax, eax
jne 0x407228
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
pop esi
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0
push 0
push closesocket
push closesocket
push closesocket
push closesocket
push 0xcf0000
push 0x4aef78
push 0x4aef78
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
mov dword [esi + 0x10], eax
je 0x407224
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
pop esi
ret

Function at 0x409300
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push esi
push edi
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x14]
movzx ecx, word [esp + 0x10]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x409329
pop edi
pop esi
pop ecx
ret 0xc
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x409349
pop ebp
pop edi
pop esi
pop ecx
ret 0xc
push ebx
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [esp + 0x10]
push eax
push 0
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ecx, dword [esp + 0x10]
push 0
push ecx
call fcn.00405850
mov edx, dword [esp + 0x28]
mov dword [edx], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
add esp, 8
push eax
call dword [ecx + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
pop ebp
pop edi
mov eax, 1
pop esi
pop ecx
ret 0xc
Function at 0x40a878
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x492b85
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
call fcn.0040dbe0
mov dword [esi + 4], eax
mov bl, 1
mov byte [eax + 0x15], bl
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
xor ebp, ebp
mov dword [eax + 8], eax
mov dword [esi + 8], ebp
lea edi, [esi + 0xc]
mov ecx, edi
mov dword [esp + 0x1c], ebp
call fcn.0040dbe0
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 + 0x18]
mov ecx, edi
mov byte [esp + 0x1c], bl
call fcn.0040dbe0
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 + 0x24]
mov ecx, edi
mov byte [esp + 0x1c], 2
call fcn.0040dbe0
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 + 0x30]
mov ecx, edi
mov byte [esp + 0x1c], 3
call fcn.0040dbe0
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], 4
call fcn.0040dbe0
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 + 0x48]
mov ecx, edi
mov byte [esp + 0x1c], 5
call fcn.0040dbe0
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 + 0x54]
mov ecx, edi
mov byte [esp + 0x1c], 6
call fcn.0040dbe0
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 + 0x60]
mov ecx, edi
mov byte [esp + 0x1c], 7
call fcn.0040dbe0
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 eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40b6a8
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x492fc2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push 0x4ae4c0
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
lea eax, [esp + 8]
push eax
mov ecx, 0x4d8288
mov dword [esp + 0x18], 0
call fcn.004022e0
mov ecx, dword [eax]
push str.dataCommonConfig.ini
push ecx
lea edx, [esp + 0xc]
push 0x4ae7ec
push edx
mov byte [esp + 0x24], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0x10
lea ecx, [esp + 8]
mov byte [esp + 0x14], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, dword [esp + 4]
push eax
push 1
push str.DefaultType
push 0x4b0318
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 8
push 5
push 1
mov ecx, esi
call fcn.0045cda0
push 1
push 1
lea ecx, [esi + 0x4c8]
call fcn.0045fcd0
push 1
push 1
lea ecx, [esi + 0x560]
call fcn.0045fcd0
push 7
push 1
lea ecx, [esi + 0x5f8]
call fcn.0045fcd0
push 8
push 1
lea ecx, [esi + 0x690]
call fcn.0045fcd0
push 0x1f
push 1
lea ecx, [esi + 0x7d8]
call fcn.00464270
push 9
push 1
lea ecx, [esi + 0x8a4]
call fcn.0045fcd0
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x40bf30
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x493182
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x4d8288
call fcn.00402b70
mov ecx, 0x4d8288
mov esi, eax
call fcn.00402b70
mov edi, eax
mov eax, dword [esi]
mov ebx, dword [edi]
mov ecx, esi
call dword [eax + 0x10]
push edx
push eax
mov ecx, edi
call dword [ebx + 0xc]
test eax, eax
jne 0x40c051
push 0x4ae4c0
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
xor ebx, ebx
mov ecx, 0x4d8288
mov dword [esp + 0x20], ebx
call fcn.00402b70
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x4d8288
mov esi, eax
call fcn.004022e0
mov edi, eax
mov edx, dword [esi]
push str.UserConfig.ini
mov ecx, esi
mov byte [esp + 0x24], 1
call dword [edx + 0x10]
push edx
push eax
mov eax, dword [edi]
push eax
lea ecx, [esp + 0x20]
push str._sUsers_I64d_s
push ecx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0x18
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov edx, dword [esp + 0x10]
push edx
push ebx
push str.NotShow
push str.HelpConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp dword [ebp + 0x5cc], ebx
push 0xa
mov word [esp + 0x1a], bx
mov word [esp + 0x18], bx
je 0x40c01f
mov ecx, dword [ebp + 0x5c8]
lea eax, [esp + 0x18]
push eax
push ecx
jmp 0x40c025
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.MSVCR71.dll__itow]
mov edx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
push str.NotShow
push str.HelpConfig
call fcn.00409eb0
add esp, 0x1c
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x40d0e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x493379
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
push 0x4ae4c0
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
mov dword [esp + 0x24], 0
call fcn.00438e60
mov edi, dword [esp + 0x30]
mov ebx, eax
push edi
lea ecx, [esi + 0xa3c]
mov dword [esp + 0x1c], ebx
call fcn.00446e80
movzx eax, word [edi + 0x6c]
movzx ecx, word [edi + 0x6e]
push eax
push ecx
lea edx, [edi + 4]
push edx
lea eax, [esp + 0x20]
push 0x4b0bfc
push eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
mov eax, dword [esp + 0x40]
add esp, 0x14
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
xor esi, esi
push eax
mov ecx, ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], esi
call fcn.00438720
test eax, eax
je 0x40d29b
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40d262
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x40d262
push eax
call sub.MFC71U.DLL_CListBox::ItemFromPoint
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
je 0x40d1fb
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x20]
push ecx
push 4
push 0x110a
push eax
call ebx
mov esi, eax
test esi, esi
je 0x40d1fb
mov ecx, dword [esp + 0xc]
push esi
call fcn.0042b6f0
cmp eax, dword [edi]
jne 0x40d1dd
mov ecx, dword [esp + 0xc]
push esi
call fcn.0042b710
cmp eax, 1
je 0x40d1f7
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x20]
push esi
push 1
push 0x110a
push edx
call ebx
mov esi, eax
test esi, esi
jne 0x40d1c0
jmp 0x40d1fb
test esi, esi
jne 0x40d220
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 0x58]
mov edx, dword [edi]
push 0xffff0002
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push 1
push eax
call fcn.0042bec0
mov esi, eax
jmp 0x40d248
mov ecx, dword [esp + 0x14]
push 0
push 0
push 0
push 0
push 0
push ecx
mov ecx, dword [esp + 0x24]
push 1
push esi
call sub.MFC71U.DLL_CListCtrl::SetItem
mov edx, dword [edi]
mov ecx, dword [esp + 0xc]
push edx
push esi
call fcn.0042c100
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x20]
push eax
push 2
push 0x1102
push edx
call ebx
mov ebx, dword [esp + 0x18]
mov eax, dword [edi + 0x74]
push 1
push eax
call fcn.00441370
mov ecx, eax
call fcn.00440de0
test eax, eax
je 0x40d28b
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x40d28b
test esi, esi
je 0x40d28b
push eax
push esi
call fcn.0042b730
mov ecx, dword [esp + 0xc]
mov edx, dword [edi]
push ecx
push esi
push edx
mov ecx, ebx
call fcn.004386b0
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x411de0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4938d2
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov ecx, 0x4d8288
call fcn.00402b70
mov ecx, 0x4d8288
mov esi, eax
call fcn.00402b70
mov edi, eax
mov eax, dword [esi]
mov ebp, dword [edi]
mov ecx, esi
call dword [eax + 0x10]
push edx
push eax
mov ecx, edi
call dword [ebp + 0xc]
test eax, eax
jne 0x411f2d
push 0x4ae4c0
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
mov ecx, 0x4d8288
mov dword [esp + 0x20], 0
call fcn.00402b70
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x4d8288
mov esi, eax
call fcn.004022e0
mov edi, eax
mov edx, dword [esi]
push str.UserConfig.ini
mov ecx, esi
mov byte [esp + 0x24], 1
call dword [edx + 0x10]
push edx
push eax
mov eax, dword [edi]
push eax
lea ecx, [esp + 0x20]
push str._sUsers_I64d_s
push ecx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0x18
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edx
push 0x47
push str.HotKey
push str.System
call esi
push 1
push eax
mov ecx, 0x4d8288
call fcn.00401bd0
mov eax, dword [esp + 0x10]
push eax
push 0
push str.TopMost
push str.System
call esi
test eax, eax
je 0x411ef6
test ebx, ebx
jne 0x411ee5
push 3
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
jmp 0x411f09
mov ebx, dword [ebx + 0x20]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
jmp 0x411f09
test ebx, ebx
je 0x411efd
mov ebx, dword [ebx + 0x20]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
test ebx, ebx
je 0x411f34
mov ebx, dword [ebx + 0x20]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x418cb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
mov eax, dword [0x4d757c]
xor eax, esp
push ebx
push esi
lea esi, [ecx + 0x4d8]
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 0x418d71
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 0x418d63
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045a4fd
add esp, 0x28
ret
Function at 0x419720
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x494352
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov esi, ecx
push 0x4ae4c0
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
lea eax, [esp + 0xc]
push eax
mov ecx, 0x4d8288
mov dword [esp + 0x1c], 0
call fcn.004022e0
mov ecx, dword [eax]
push str.dataCommonConfig.ini
push ecx
lea edx, [esp + 0x10]
push 0x4ae7ec
push edx
mov byte [esp + 0x28], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0x10
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, dword [esp + 8]
push eax
push 1
push str.DefaultType
push 0x4b0318
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0x16
push 9
push 1
mov ecx, esi
call fcn.0045cda0
push 0x45
push 1
lea ecx, [esi + 0x11e4]
call fcn.00464270
push 0x3f
push 1
lea ecx, [esi + 0xde8]
call fcn.00464270
push 2
push 1
lea ecx, [esi + 0x12b0]
call fcn.00464270
push 2
push 1
lea ecx, [esi + 0x137c]
call fcn.00464270
push 2
lea edi, [esi + 0x14c4]
push 1
mov ecx, edi
call fcn.00464270
push 0
mov ecx, edi
call fcn.00464350
push 0x969696
push 0xffffff
mov ecx, edi
call fcn.004642d0
push 5
push 1
lea ecx, [esi + 0x19bc]
call fcn.0045fcd0
push 1
push 1
lea ecx, [esi + 0x188c]
call fcn.0045fcd0
push 1
push 1
lea ecx, [esi + 0x1924]
call fcn.0045fcd0
push 5
push 1
lea ecx, [esi + 0x1448]
call fcn.00464270
push 0x43
push 1
lea ecx, [esi + 0x1118]
call fcn.00464270
push 0x41
push 1
lea ecx, [esi + 0xf80]
call fcn.00464270
push 0x42
push 1
lea ecx, [esi + 0x104c]
call fcn.00464270
push 0x44
push 1
lea ecx, [esi + 0xd1c]
call fcn.00464270
push 1
push 1
lea ecx, [esi + 0x1a54]
call fcn.0045fcd0
push 1
push 1
lea ecx, [esi + 0x1b9c]
call fcn.0045fcd0
push 1
push 1
lea ecx, [esi + 0x1ce4]
call fcn.0045fcd0
push 2
push 1
lea ecx, [esi + 0x1d7c]
call fcn.00464270
push 1
push 1
lea ecx, [esi + 0x1df4]
call fcn.0045fcd0
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4199f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49436c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x4d757c]
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, ebp
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_4]
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 esi, dword [esi]
push 0x4b2984
push esi
call dword [sym.imp.MSVCR71.dll__wfopen]
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x419ab7
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_3]
xor eax, eax
jmp 0x419ae2
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_3]
mov eax, 1
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x11c]
pop edi
xor ecx, ebp
pop esi
call fcn.0045a4fd
mov esp, ebp
pop ebp
ret 4

Function at 0x419b10
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
push edi
je 0x419b5f
mov edi, dword [esp + 0xc]
test edi, edi
je 0x419b5f
push esi
push 0x4b2984
push eax
call dword [sym.imp.MSVCR71.dll__wfopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x419b3c
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 0x41d620
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x494892
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
push 0x4ae4c0
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
mov ecx, 0x4d8288
mov dword [esp + 0x18], 0
call fcn.00402b70
mov esi, eax
lea eax, [esp + 0xc]
push eax
mov ecx, 0x4d8288
call fcn.004022e0
mov edi, eax
mov edx, dword [esi]
push str.UserConfig.ini
mov ecx, esi
mov byte [esp + 0x1c], 1
call dword [edx + 0x10]
push edx
push eax
mov eax, dword [edi]
push eax
lea ecx, [esp + 0x18]
push str._sUsers_I64d_s
push ecx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0x18
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov edx, dword [esp + 8]
push edx
push 0
push str.isOpen
push str.YoungConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [esp + 8]
mov esi, eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret