joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100013e0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000e04d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10034040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, 0x40d
mov word [ebp - 0x1c], ax
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x1a], eax
call fcn.100010c0
mov esi, eax
test esi, esi
jne 0x10001434
xor al, al
jmp 0x1000150a
push esi
call fcn.100010a0
add esp, 4
mov dword [ebp - 0x24], 0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x34]
movups xmmword [ebp - 0x34], xmm0
push 0x5d
push str.SELECT_CharName_FROM__PS_GameData_._dbo_._Chars__WHERE_CharNameCAST___AS_VARCHAR__AND_Del0_
call fcn.10001150
push 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 4], 0
push 0
push 0x13
push 0xc
push 1
push 1
push 1
push dword [esi + 0x830]
call sub.ODBC32.dll_SQLBindParameter
cmp dword [ebp - 0x20], 0xf
lea eax, [ebp - 0x34]
push 0xfffffffffffffffd
cmova eax, dword [ebp - 0x34]
push eax
push dword [esi + 0x830]
call sub.ODBC32.dll_SQLPrepareA
push dword [esi + 0x830]
call sub.ODBC32.dll_SQLExecute
test ax, ax
je 0x100014d1
push esi
call fcn.100010b0
push esi
call fcn.100010d0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.100012c0
xor al, al
jmp 0x1000150a
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0xffffffff
push eax
push dword [esi + 0x830]
call sub.ODBC32.dll_SQLRowCount
push esi
call fcn.100010d0
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 0
lea ecx, [ebp - 0x34]
sete byte [ebp - 0x35]
call fcn.100012c0
mov al, byte [ebp - 0x35]
mov byte [ebp - 0x16], al
mov eax, dword [edi + 0x87f8]
test eax, eax
je 0x10001526
push 7
lea ecx, [ebp - 0x1c]
push ecx
push eax
call fcn.10001080
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10001f6c
mov esp, ebp
pop ebp
ret
Function at 0x10001e00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10034040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
cmp edi, 5
jl 0x10001e7e
lea ecx, [ebp - 8]
push ecx
push 0x40
push edi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10001e7e
mov eax, dword [ebp - 0xc]
push esi
mov esi, dword [ebp + 0xc]
push edi
sub esi, eax
push 0x90
push eax
sub esi, 5
call fcn.10003890
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov byte [eax], 0xe9
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov dword [eax], esi
dec dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001f6c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.10001f6c
mov esp, ebp
pop ebp
ret

Function at 0x10001e90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10034040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
push edi
mov edi, dword [ebp + 8]
cmp esi, 1
jl 0x10001efc
lea eax, [ebp - 8]
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10001efc
push 0
push esi
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x10001efc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001f6c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.10001f6c
mov esp, ebp
pop ebp
ret

Function at 0x1000637b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100063ba
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100063ba
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100063ba
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x100063ba
cmp dword [ecx + 0x74], 0xe
jbe 0x100063ba
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x100081fc
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1002f0a0
push 0x1002f098
push str.FlsAlloc
push 0x1f
call fcn.10008118
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10008230
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000f12c]
call esi
jmp 0x10008236
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x1000827a
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1002f0b0
push 0x1002f0a8
push str.FlsGetValue
push 0x21
call fcn.10008118
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100082b1
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000f12c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x100082b9
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1002f0b8
push 0x1002f0b0
push str.FlsSetValue
push 0x22
call fcn.10008118
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100082f3
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1000f12c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1000ac86
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000ad23
push ebx
push esi
call fcn.1000ac4f
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10009b55
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000acd0
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000ad22
push edi
push eax
call fcn.100095c0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000acf0
call fcn.10007fc4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000ad21
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10009b55
add esp, 0x20
test eax, eax
jne 0x1000ad0f
push edi
call fcn.10007fc4
jmp 0x1000ad17
push ebx
call fcn.10007fc4
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1000df50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000df7d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000df7d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4100e5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x428044]
jne 0x4100ef
repz ret
jmp fcn.00411dd9

Function at 0x41ada1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041213b
and dword [ebp - 4], 0
cmp dword [0x429f30], 0
mov ebx, eax
jne 0x41ae52
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41af03
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x41af03
push eax
call fcn.004120c9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x429f30], eax
call esi
push eax
call fcn.004120c9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x429f34], eax
call esi
push eax
call fcn.004120c9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x429f38], eax
call esi
push eax
call fcn.004120c9
pop ecx
mov dword [0x429f40], eax
test eax, eax
je 0x41ae52
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004120c9
pop ecx
mov dword [0x429f3c], eax
mov eax, dword [0x429f3c]
cmp eax, ebx
je 0x41aeaa
cmp dword [0x429f40], ebx
je 0x41aeaa
push eax
call fcn.00412144
push dword [0x429f40]
mov esi, eax
call fcn.00412144
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41aeaa
test edi, edi
je 0x41aeaa
call esi
test eax, eax
je 0x41aea1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41aea1
test byte [ebp - 0xc], 1
jne 0x41aeaa
or dword [ebp + 0x10], 0x200000
jmp 0x41aee3
mov eax, dword [0x429f34]
cmp eax, ebx
je 0x41aee3
push eax
call fcn.00412144
pop ecx
test eax, eax
je 0x41aee3
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41aee3
mov eax, dword [0x429f38]
cmp eax, ebx
je 0x41aee3
push eax
call fcn.00412144
pop ecx
test eax, eax
je 0x41aee3
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x429f30]
call fcn.00412144
pop ecx
test eax, eax
je 0x41af03
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41af05
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401000
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x330
mov eax, dword [0x4ac3b8]
push esi
push edi
mov dword [esp + 0x334], eax
mov dword [esp + 0x1c], ecx
xor eax, eax
mov word [esp + 0x28], 0
mov ecx, 0x3f
lea edi, [esp + 0x2a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x28]
push str.SoftwareBaiduBaiduBrowser
push eax
call dword [sym.imp.MSVCR71.dll_swprintf]
add esp, 8
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push 0
lea edx, [esp + 0x34]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401108
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
push str.Install
push eax
call esi
test eax, eax
jne 0x4010fd
cmp dword [esp + 0x24], 0x31
jne 0x4010fd
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x12c]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push str.installDir
push ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0x208
call esi
test eax, eax
jne 0x4010fd
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x128]
push edx
push 0x487f6c
push eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format_1]
add esp, 0xc
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x334]
call fcn.0045015b
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4020d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x47d86e
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
mov eax, dword [esi + 0x34]
mov ecx, dword [eax]
lea edi, [esi + 0x30]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov dword [esp + 0x28], 2
call fcn.00401b60
mov ecx, dword [edi + 4]
push ecx
call sub.MFC71U.DLL_CNoTrackObject::operator_new
xor ebx, ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x24]
add esp, 4
cmp eax, ebx
je 0x402133
push eax
call sub.MFC71U.DLL_CNoTrackObject::operator_new
add esp, 4
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x40214c
push eax
call sub.MFC71U.DLL_CNoTrackObject::operator_new
add esp, 4
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x402165
push eax
call sub.MFC71U.DLL_CNoTrackObject::operator_new
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x402180
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x47d89e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x18], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
lea edi, [esi + 0x30]
mov ecx, edi
mov byte [esp + 0x18], 2
call fcn.0043f3b0
mov ecx, dword [esp + 0x10]
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], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x402d60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47d998
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
mov eax, dword [0x4ac3b8]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10c], eax
xor ebx, ebx
xor eax, eax
mov word [esp + 0x18], bx
mov ecx, 0x1c
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
mov word [esp + 0x90], bx
mov ecx, 0x1c
lea edi, [esp + 0x92]
rep stosd dword es:[edi], eax
push 0x488000
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_7]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x120], ebx
call fcn.00405620
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x18]
push str.datacommon.dat
push edx
mov byte [esp + 0x12c], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format_1]
add esp, 0x10
lea ecx, [esp + 0x14]
mov byte [esp + 0x11c], bl
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push ebx
push str.OEMID
push 0x4882c0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [esp + 0x10]
mov dword [esi + 0xa8], eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x38
lea eax, [esp + 0x20]
push eax
push str.kele55room
push str.UrlProtocol
push 0x4882c0
call edi
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push 0x38
lea ecx, [esp + 0x98]
push ecx
push str.kele55
push str.ImProtocol
push 0x4882c0
call edi
lea edx, [esp + 0x18]
push edx
lea ecx, [esi + 0xac]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_5]
lea eax, [esp + 0x90]
push eax
lea ecx, [esi + 0xb0]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_5]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x114]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x10c]
mov eax, 1
call fcn.0045015b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402ee0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x46c
mov eax, dword [0x4ac3b8]
push ebx
push esi
push edi
mov dword [esp + 0x474], eax
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
xor esi, esi
mov word [esp + 0x70], si
mov ecx, 0xff
lea edi, [esp + 0x72]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x2c], 0x44
call fcn.00405620
mov ecx, dword [eax]
mov ebx, dword [sym.imp.MSVCR71.dll_swprintf]
push 0x488350
push str.4.342
push ecx
lea edx, [esp + 0x80]
push str._sUpdate.exe__s__s
push edx
call ebx
add esp, 0x18
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
lea edx, [esp + 0x90]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esp + 0x14]
mov edi, 1
cmp eax, edi
je 0x403010
xor eax, eax
mov ecx, 0x80
lea edi, [esp + 0x70]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
call fcn.00405620
mov ecx, dword [eax]
push str.4.342
push ecx
lea edx, [esp + 0x7c]
push str._sUpdate.exe__s
push edx
call ebx
add esp, 0x14
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x90]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, dword [esp + 0x10]
mov esi, eax
test esi, esi
je 0x403028
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
mov ecx, dword [esp + 0x474]
mov eax, edi
call fcn.0045015b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403040
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x220
mov eax, dword [0x4ac3b8]
push esi
push edi
mov dword [esp + 0x224], eax
mov esi, ecx
mov edx, dword [esi + 0xa8]
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
push str.KELE55
lea eax, [esp + 0x28]
push str._s__03d__I64d
push eax
call dword [sym.imp.MSVCR71.dll_swprintf]
add esp, 0x18
lea ecx, [esp + 0x18]
push ecx
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
test eax, eax
mov dword [esi + 0xd4], eax
je 0x4030ec
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 0xd8], eax
jne 0x403102
mov edx, dword [esi + 0xd4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x10
push 0x48838c
push 0x488354
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov ecx, dword [esp + 0x224]
call fcn.0045015b
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov edi, dword [eax]
test edi, edi
je 0x40313a
mov eax, dword [esi + 0x48]
push eax
mov dword [esp + 0x10], 0xc
call dword [sym.imp.MSVCR71.dll_wcslen]
mov ecx, dword [esi + 0x48]
add esp, 4
lea edx, [esp + 0xc]
push edx
push 0
push 0x4a
shl eax, 1
push edi
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.0045015b
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x403730
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47da09
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_5]
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_6]
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 0x403b50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47da92
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
xor ebx, ebx
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x14], bl
mov dword [esp + 0x10], ebx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
lea ecx, [esp + 8]
mov dword [esp + 0x30], ebx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x48], 1
call fcn.00405870
mov edx, dword [esp + 0x28]
add esp, 0x18
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
mov ecx, esi
call fcn.004029d0
lea ecx, [esp + 8]
mov esi, eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret