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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100a1dcb
push eax
mov ax, word [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x24
push ebx
xor ebx, ebx
cmp ax, bx
push edi
mov edi, ecx
jge 0x100325ee
cmp ax, 3
jg 0x100325fa
mov eax, dword [edi + 0x14]
cmp byte [eax + 0x594], 0x1e
jae 0x1003260f
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4
push esi
lea ecx, [esp + 0x1c]
call fcn.1002e620
mov dword [esp + 0x38], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 1
mov dword [esp + 0x20], 0x3c
call fcn.10031b00
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0x3d
call fcn.10031b00
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], ebx
call fcn.10031b00
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0x3e
call fcn.10031b00
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0x3f
call fcn.10031b00
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], ebx
call fcn.10031b00
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0x40
call fcn.10031b00
push 0x10
call sub.MFC71U.DLL_CWordArray::CWordArray
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, ebx
mov byte [esp + 0x38], 2
je 0x100326e2
mov ecx, eax
call fcn.1002e090
mov esi, eax
jmp 0x100326e4
xor esi, esi
lea edx, [esp + 0xc]
push edx
add edi, 8
push edi
mov ecx, esi
mov byte [esp + 0x40], 1
call fcn.1002e450
test eax, eax
jne 0x1003271a
mov ecx, esi
call fcn.1002e0a0
cmp esi, ebx
je 0x10032718
mov ecx, esi
call fcn.1002e300
push esi
call sub.MFC71U.DLL_CNoTrackObject::operator_new
add esp, 4
xor esi, esi
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], bl
call fcn.1002e400
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call fcn.1002e400
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x10037570
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x404
push ebx
mov ebx, ecx
cmp dword [ebx + 0x544], 0
push esi
push edi
je 0x100376e3
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0x560], eax
mov dword [ebx + 0x564], ecx
lea edx, [ebx + 0x568]
xor eax, eax
mov edi, edx
mov ecx, 0xa
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 0x10]
push 0x14
push eax
push edx
call dword [sym.imp.MSVCR71.dll_wcsncpy]
mov cx, word [ebp + 0x14]
mov esi, dword [ebp + 0x18]
mov word [ebx + 0x592], cx
xor edx, edx
lea edi, [ebx + 0x1168]
mov eax, edi
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], edx
mov byte [eax + 0x20], dl
mov eax, dword [ebp + 0x1c]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x54c]
xor esi, esi
add esp, 0xc
cmp ecx, esi
mov dword [ebx + 0x554], eax
je 0x10037617
push eax
call fcn.10054340
mov ecx, dword [ebx + 0x544]
mov edx, dword [ecx]
call dword [edx + 0x20]
test eax, eax
je 0x10037675
cmp dword [ebx + 0x554], esi
jne 0x10037675
push esi
lea eax, [esp + 0x10]
push 0xf
push eax
mov dword [esp + 0x18], esi
call fcn.10018180
mov eax, dword [ebx + 0x558]
mov ecx, dword [ebx + 0x544]
mov edx, dword [ecx]
add esp, 0xc
push eax
mov eax, dword [esp + 0x10]
push eax
mov ax, word [ebx + 0x592]
push eax
lea eax, [ebx + 0x568]
push eax
mov eax, dword [ebx + 0x564]
push eax
mov eax, dword [ebx + 0x560]
push eax
call dword [edx]
mov word [esp + 0x10], si
xor eax, eax
mov ecx, 0xff
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, 0x100d0e08
stosw word es:[edi], ax
call fcn.100021d0
mov edx, dword [ebx + 0x564]
mov ecx, dword [ebx + 0x560]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x1c]
push str._sUsers_I64dUserConfig.ini
push eax
call dword [sym.imp.MSVCR71.dll_swprintf]
add esp, 0x14
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x10]
push ecx
push 1
push str.AutoInOutMsg
push str.UserSet
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebx + 0x1194], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x10038c30
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x100a24f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
mov edi, 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
mov eax, dword [esi + 0x560]
mov esi, dword [esi + 0x564]
lea ecx, [esp + 8]
push ecx
push esi
push eax
mov dword [esp + 0x20], 0
call fcn.10001210
add esp, 0xc
test eax, eax
je 0x10038c9e
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push edi
push str.UseKplayer
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x10039830
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100a25e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x58]
push edi
mov edi, ecx
push 0xa
mov ecx, esi
call sub.MFC71U.DLL_CWinApp::SetRegistryKey
mov ebx, eax
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
call fcn.10039090
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x30], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
mov dword [esp + 0x3c], edx
call sub.MFC71U.DLL_COleControl::ClientToParent
xor ebp, ebp
push ebp
push ebp
lea ecx, [esp + 0x28]
push ecx
push 1
push 0x10002
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], 4
mov dword [esp + 0x34], ebp
call sub.MFC71U.DLL_CPen::CPen
lea edx, [esp + 0x10]
push edx
mov ecx, esi
mov dword [esp + 0x58], ebp
call sub.MFC71U.DLL_CDC::SelectObject
mov ecx, dword [edi + 0x11a8]
mov ebp, eax
mov eax, dword [esp + 0x30]
push eax
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call sub.MFC71U.DLL_COlePropertyPage::XPropertyPage::Move
mov eax, dword [esp + 0x38]
mov ecx, dword [edi + 0x11a8]
push eax
push ecx
mov ecx, esi
call sub.MFC71U.DLL_CRichEditCtrl::LineScroll
mov edx, dword [esp + 0x30]
mov eax, dword [edi + 0x11a8]
push edx
add eax, 1
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call sub.MFC71U.DLL_COlePropertyPage::XPropertyPage::Move
mov edx, dword [esp + 0x38]
mov eax, dword [edi + 0x11a8]
push edx
add eax, 1
push eax
mov ecx, esi
call sub.MFC71U.DLL_CRichEditCtrl::LineScroll
push ebx
mov ecx, esi
call sub.MFC71U.DLL_CWinApp::SetRegistryKey
push ebp
mov ecx, esi
call sub.MFC71U.DLL_CDC::SelectObject
lea ecx, [esp + 0x10]
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x10], 0x100ac278
call sub.MFC71U.DLL_CListBox::DeleteItem
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret 8
Function at 0x10051450
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x100a3cd9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
lea eax, [esp + 4]
push eax
mov dword [esp + 0x14], 0
call fcn.100012c0
add esp, 4
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push 0x200
add esi, 0x960
push esi
push 0x100abfb0
push str.CurDevice
push str.VideoSet
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x10053600
Capabilities:
Access peb ldr_data
Get ntdll base address
Read .ini file

Disassembly:
add ecx, 0x4cc
jmp fcn.10061820
Function at 0x1005c380
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a4fb9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
test esi, esi
push edi
mov dword [ebp - 0x10], esp
je 0x1005c537
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x1005c537
push 0
push 0
push 0
push 0
mov ebx, 1
push ebx
push 0
lea ecx, [ebp - 0x2c]
call sub.MFC71U.DLL_CInternetFile::CInternetFile
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
push 0
push 4
lea eax, [ebp + 0xc]
push eax
push 2
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
mov dword [ebp + 0xc], 0x2710
call sub.MFC71U.DLL_CInternetFile::SetOption
push 0
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
lea ecx, [ebp - 0x2c]
mov dword [ebp + 0xc], 0x3e8
call sub.MFC71U.DLL_CInternetFile::SetOption
push 0
push 4
lea edx, [ebp + 0xc]
push edx
push 3
lea ecx, [ebp - 0x2c]
mov dword [ebp + 0xc], 0xa
call sub.MFC71U.DLL_CInternetFile::SetOption
lea ecx, [ebp - 0x18]
call sub.MFC71U.DLL_AFX_DDPDATA::AFX_DDPDATA
push 0
push 0
push 0x84000002
push ebx
push esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call sub.MFC71U.DLL_CHtmlEditDoc::OpenURL
mov esi, eax
test esi, esi
jne 0x1005c462
lea ecx, [ebp - 0x2c]
call sub.MFC71U.DLL_CInternetFile::Close
mov byte [ebp - 4], bl
jmp 0x1005c51a
push 0
lea eax, [ebp + 8]
push eax
push 0x13
mov ecx, esi
call sub.MFC71U.DLL_CHttpFile::QueryInfo
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.MSVCR71.dll__wtoi]
add esp, 4
cmp eax, 0xc8
jl 0x1005c4ee
cmp eax, 0x12c
jg 0x1005c4ee
mov eax, dword [ebp + 0x10]
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0x3c]
test eax, eax
mov edx, dword [esi]
mov ecx, esi
jle 0x1005c4f2
call dword [edx + 0x54]
lea ecx, [ebp - 0x2c]
call sub.MFC71U.DLL_CInternetFile::Close
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], bl
call sub.MFC71U.DLL_AfxTrackerTerm
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.1007bb0e
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x54]
lea ecx, [ebp - 0x2c]
call sub.MFC71U.DLL_CInternetFile::Close
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], bl
jmp 0x1005c51a
call sub.MFC71U.DLL_AfxTrackerTerm
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.1007bb0e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1005d120
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a50eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebx
push esi
push edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0x100b7f94
mov dword [esp + 0x20], 0x100b7f64
mov dword [esp + 0x24], 0x100b7f3c
mov dword [esp + 0x28], 0x100b7f14
mov dword [esp + 0x2c], 0x100b7ef0
call dword [sym.imp.MSVCR71.dll_rand]
cdq
mov ecx, 5
idiv ecx
push 0x100b7ee8
mov ebx, dword [esp + edx*4 + 0x20]
push ebx
call dword [sym.imp.MSVCR71.dll_wcsstr]
mov esi, eax
mov dword [esp + 0x1c], eax
mov word [esp + 0x38], 0
xor eax, eax
sub esi, ebx
mov ecx, 0x3f
lea edi, [esp + 0x3a]
rep stosd dword es:[edi], eax
sar esi, 1
push esi
lea edx, [esp + 0x3c]
push ebx
push edx
stosw word es:[edi], ax
call dword [sym.imp.MSVCR71.dll_wcsncpy]
add esp, 0x14
lea ecx, [esp + 0x10]
call fcn.100187a0
push 0xffd2a6
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x144], 0
call fcn.10018800
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push 1
push 1
push 0
push 0
push ecx
push edx
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x38]
call fcn.1005c7f0
add dword [esp + 0x14], 4
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x30]
push ebx
add esi, 2
rep stosd dword es:[edi], eax
call dword [sym.imp.MSVCR71.dll_wcslen]
mov edx, dword [esp + 0x18]
sub eax, esi
push eax
push edx
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.MSVCR71.dll_wcsncpy]
add esp, 0x10
push 0xffd2a6
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x18]
call fcn.10018800
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
call fcn.10052990
lea ecx, [esp + 0x10]
mov dword [esp + 0x13c], 0xffffffff
call sub.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT
mov ecx, dword [esp + 0x134]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100620f0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x100a5520
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
push esi
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], edi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_2]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x18], ecx
push edx
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_2]
mov ebx, dword [esi + 0x1c]
mov ecx, dword [ebx + 4]
lea edi, [esi + 0x18]
lea eax, [esp + 0x14]
push eax
push ecx
push ebx
mov ecx, edi
call fcn.10061f80
push 1
mov ecx, edi
mov ebp, eax
call fcn.10062010
mov dword [ebx + 4], ebp
mov edx, dword [ebp + 4]
lea ecx, [esp + 0x1c]
mov dword [edx], ebp
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc

Function at 0x1006ab70
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x100a5f0e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.10069630
mov dword [esi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], 0
lea edi, [esi + 0xc]
mov ecx, edi
mov dword [esp + 0x14], 0
call fcn.10069630
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
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], 0
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 2
call fcn.1007aeb0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x10077d10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100a6cd4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x3c]
push ebx
push esi
push edi
push eax
mov ebx, ecx
push 0x254
mov dword [esp + 0x14], ebx
call fcn.1007c9b0
lea esi, [ebx + 0x4c8]
xor edi, edi
mov ecx, esi
mov dword [esp + 0x40], edi
mov dword [ebx], 0x100bc170
call fcn.10069630
mov dword [esi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], edi
mov dword [ebx + 0x4d8], edi
mov dword [ebx + 0x4dc], edi
mov dword [ebx + 0x4e0], edi
lea ecx, [ebx + 0x548]
mov byte [esp + 0x40], 2
call fcn.10083ad0
mov dword [ebx + 0x534], edi
or eax, 0xffffffff
mov dword [ebx + 0x538], eax
mov dword [ebx + 0x53c], eax
mov dword [ebx + 0x540], eax
mov dword [ebx + 0x544], eax
mov dword [esp + 0x10], edi
lea edi, [ebx + 0x4e4]
mov ecx, 0xa
lea esi, [esp + 0x10]
mov dword [esp + 0x14], 0xff0000
mov dword [esp + 0x18], 0xff
mov dword [esp + 0x1c], 0x80
mov dword [esp + 0x20], 0x8000
mov dword [esp + 0x24], 0xff00
mov dword [esp + 0x28], 0xffff
mov dword [esp + 0x2c], 0xff00ff
mov dword [esp + 0x30], 0xffff00
mov dword [esp + 0x34], 0xc0c0c0
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
lea edx, [ebx + 0x50c]
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
mov dword [edx + 0x18], ecx
mov dword [edx + 0x1c], ecx
mov dword [edx + 0x20], ecx
pop edi
mov dword [edx + 0x24], ecx
mov ecx, dword [esp + 0x34]
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x1007ab90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100a6ed8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ebx, [edi + 0xc]
push ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
mov dword [esp + 0x28], 0
call fcn.10079e40
mov ecx, dword [edi + 4]
cmp eax, ecx
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x10], eax
je 0x1007abf5
cmp ebp, dword [eax + 0x14]
jl 0x1007abf5
jg 0x1007abef
mov edx, dword [esp + 0x2c]
cmp edx, dword [eax + 0x10]
jb 0x1007abf5
lea eax, [esp + 0x10]
jmp 0x1007abfd
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x14]
mov esi, dword [eax]
cmp esi, ecx
jne 0x1007ac21
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0x10
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx]
cmp eax, ecx
je 0x1007ac65
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
cmp dword [eax + 8], ebx
jne 0x1007ac3c
cmp dword [eax + 0xc], edx
je 0x1007ac45
mov eax, dword [eax]
cmp eax, dword [esi + 0x1c]
jne 0x1007ac32
jmp 0x1007ac65
cmp eax, ecx
je 0x1007ac65
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push eax
mov dword [ecx + 4], edx
call sub.MFC71U.DLL_CNoTrackObject::operator_new
add esp, 4
add dword [esi + 0x20], 0xffffffff
cmp dword [esi + 0x20], 0
jne 0x1007acd4
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x29], 0
mov esi, dword [esp + 0x2c]
mov edx, ecx
jne 0x1007ac9b
lea ecx, [ecx]
cmp ebp, dword [eax + 0x14]
jg 0x1007ac92
jl 0x1007ac8c
cmp esi, dword [eax + 0x10]
jae 0x1007ac92
mov edx, eax
mov eax, dword [eax]
jmp 0x1007ac95
mov eax, dword [eax + 8]
cmp byte [eax + 0x29], 0
je 0x1007ac80
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x29], 0
jne 0x1007acc6
mov ebx, dword [eax + 0x14]
cmp ebx, ebp
jg 0x1007acbc
jl 0x1007acb7
mov ebx, dword [eax + 0x10]
cmp ebx, esi
jae 0x1007acbc
mov eax, dword [eax + 8]
jmp 0x1007acc0
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0x29], 0
je 0x1007aca7
push edx
push ecx
lea eax, [esp + 0x40]
push eax
mov ecx, edi
call fcn.1007a6d0
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x10
Function at 0x1007c593
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x100d0350]
push esi
mov dword [ebp + 0x74], eax
mov esi, ecx
call fcn.1007c563
mov eax, 0x10000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.MSVCR71.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x1007c5f5
cmp dword [ebp - 0x1c], 5
jb 0x1007c60d
jmp 0x1007c609
cmp dword [ebp - 0x10], 1
jne 0x1007c60d
cmp dword [ebp - 0x1c], 4
ja 0x1007c609
jne 0x1007c60d
cmp dword [ebp - 0x18], 0
jbe 0x1007c60d
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x710
mov dword [esi + 0x14], 0x100bc8b4
call fcn.1000bcf0
test eax, eax
jge 0x1007c62e
mov byte [0x100d1024], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
pop esi
call fcn.1007c3d4
add ebp, 0x78
leave
ret
Function at 0x10083660
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x100a7459
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0xcc]
test eax, eax
jne 0x10083713
push esi
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call dword [sym.imp.MFC71U.DLL_CRecordset::GetBoundParamIndex]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_CDC::ReleaseAttribDC]
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_1]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10083701
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorW]
test eax, eax
je 0x10083701
mov dword [edi + 0xcc], eax
mov byte [edi + 0x144], 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x10083730
Capabilities:
Query or enumerate registry value

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