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

Disassembly:
push 0xffffffffffffffff
push 0x41336b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], ebx
call fcn.00401000
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 1
call fcn.00410ff8
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0x18]
push eax
push 0x41b70c
push ecx
mov byte [esp + 0x70], 2
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x14]
call fcn.00410ff8
mov edx, dword [esi + 0x10]
lea eax, [esp + 0x14]
push edx
push 0x41b70c
push eax
mov byte [esp + 0x70], 3
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.00410ff8
mov ecx, dword [esi + 0x14]
lea edx, [esp + 0x10]
push ecx
push 0x41b70c
push edx
mov byte [esp + 0x70], 4
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0xc]
call fcn.00410ff8
mov eax, dword [esi + 0x18]
lea ecx, [esp + 0xc]
push eax
push 0x41b70c
push ecx
mov byte [esp + 0x70], 5
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov dword [esp + 0x1c], ebx
lea edx, [esp + 0x18]
lea eax, [esp + 0x48]
push edx
push str.UPDATE_Ygjbgzb_SET_JBgz
push eax
mov byte [esp + 0x70], 6
call sub.MFC42.DLL_operator_2
push str._ZWgz
lea ecx, [esp + 0x48]
push eax
push ecx
mov byte [esp + 0x70], 7
call sub.MFC42.DLL_operator_1
lea edx, [esp + 0x14]
mov byte [esp + 0x64], 8
push edx
push eax
lea eax, [esp + 0x48]
push eax
call sub.MFC42.DLL_operator
mov byte [esp + 0x64], 9
push str._GLgz
lea ecx, [esp + 0x40]
push eax
push ecx
call sub.MFC42.DLL_operator_1
lea edx, [esp + 0x10]
mov byte [esp + 0x64], 0xa
push edx
push eax
lea eax, [esp + 0x40]
push eax
call sub.MFC42.DLL_operator
push str._YLbxj
lea ecx, [esp + 0x38]
push eax
push ecx
mov byte [esp + 0x70], 0xb
call sub.MFC42.DLL_operator_1
lea edx, [esp + 0xc]
mov byte [esp + 0x64], 0xc
push edx
push eax
lea eax, [esp + 0x38]
push eax
call sub.MFC42.DLL_operator
push str._WHERE_YGid
lea ecx, [esp + 0x30]
push eax
push ecx
mov byte [esp + 0x70], 0xd
call sub.MFC42.DLL_operator_1
push 0x41b2d4
lea edx, [esp + 0x2c]
push eax
push edx
mov byte [esp + 0x70], 0xe
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x24]
push ecx
push eax
push edx
mov byte [esp + 0x70], 0xf
call sub.MFC42.DLL_operator
push 0x41b2d0
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x6c], 0x10
push eax
call sub.MFC42.DLL_operator_1
mov edi, dword [eax]
push 0xc
mov byte [esp + 0x68], 0x11
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x4c], esi
cmp esi, ebx
mov byte [esp + 0x64], 0x12
je 0x40bd26
push edi
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
call fcn.004115da
cmp eax, ebx
mov dword [esi], eax
jne 0x40bd28
cmp edi, ebx
je 0x40bd28
push 0x8007000e
call fcn.0041171f
jmp 0x40bd28
xor esi, esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], esi
mov byte [esp + 0x64], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x64], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x64], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x64], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x64], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x64], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x64], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x64], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x64], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x64], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov byte [esp + 0x64], 6
call sub.MFC42.DLL_CString::CString
push ecx
cmp esi, ebx
mov eax, esp
mov dword [esp + 0x50], esp
mov dword [eax], esi
je 0x40bddd
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea ecx, [esp + 0x54]
call fcn.004017a0
lea ecx, [esp + 0x50]
call fcn.00401960
cmp esi, ebx
mov byte [esp + 0x64], 5
je 0x40be2c
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x40be2c
mov eax, dword [esi]
cmp eax, ebx
je 0x40be13
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x40be23
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0xc]
mov byte [esp + 0x64], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x64], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov byte [esp + 0x64], bl
call fcn.00401040
lea ecx, [esp + 0x6c]
mov dword [esp + 0x64], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x5c
ret 4