Function at 0x4029f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447d65
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 0x14], ebx
push edi
mov dword [ebx], vtable.std::wstring_convert_class_std::codecvt_utf8_wchar_t__1114111__0___wchar_t__class_std::allocator_wchar_t___class_std::allocator_char__.0
push 1
mov dword [ebp - 4], 0
call fcn.0040ebfb
add esp, 4
mov dword [ebx + 0xc], eax
mov dword [ebp - 4], 1
xor eax, eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], 0xf
mov byte [ebx + 0x10], al
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], 7
mov word [ebx + 0x28], ax
mov byte [ebp - 4], 3
push 0x34
mov word [ebx + 0x48], ax
mov byte [ebx + 0x4a], al
call fcn.00422e2a
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
push 0
lea ecx, [ebp - 0x7c]
mov dword [esi], vtable.std::codecvt_wchar_t__char__struct__Mbstatet_.0
call fcn.0040b0d1
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x6c], 0
xor eax, eax
mov dword [ebp - 0x68], 0
mov word [ebp - 0x64], ax
mov dword [ebp - 0x60], eax
mov word [ebp - 0x5c], ax
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], al
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x4c], al
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 0xc
push 0x453eec
push eax
call fcn.0040ecf8
lea eax, [ebp - 0x48]
push eax
call fcn.0040ee3d
lea edi, [esi + 8]
mov ecx, 0xb
mov esi, eax
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x7c]
push eax
call fcn.0040ed43
mov eax, dword [ebp - 0x50]
add esp, 4
test eax, eax
je 0x402b1a
push eax
call fcn.004280d4
add esp, 4
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x50], 0
test eax, eax
je 0x402b31
push eax
call fcn.004280d4
add esp, 4
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x58], 0
test eax, eax
je 0x402b48
push eax
call fcn.004280d4
add esp, 4
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x60], 0
test eax, eax
je 0x402b5f
push eax
call fcn.004280d4
add esp, 4
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x68], 0
test eax, eax
je 0x402b76
push eax
call fcn.004280d4
add esp, 4
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x70], 0
test eax, eax
je 0x402b8d
push eax
call fcn.004280d4
add esp, 4
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x78], 0
call fcn.0040b129
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 3
mov dword [esi], vtable.std::codecvt_utf8_wchar_t__1114111__0_.0
push dword [ebx + 0xc]
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 4], esi
call fcn.0040ed5d
mov edi, eax
add esp, 4
mov eax, dword [0x45bb5c]
test eax, eax
jne 0x402bff
push eax
lea ecx, [ebp - 0x10]
call fcn.0040b0d1
cmp dword [0x45bb5c], 0
jne 0x402bf2
mov eax, dword [0x45bb50]
inc eax
mov dword [0x45bb50], eax
mov dword [0x45bb5c], eax
lea ecx, [ebp - 0x10]
call fcn.0040b129
mov eax, dword [0x45bb5c]
push eax
push esi
push edi
call fcn.0040d1e1
add esp, 0xc
mov dword [edi + 0x10], 0
cmp dword [edi + 0x18], 0x453ee8
je 0x402c63
cmp dword [edi + 0x18], 0
je 0x402c2b
push dword [edi + 0x18]
call fcn.004280d4
add esp, 4
mov dword [edi + 0x18], 0
mov esi, 0x453ee8
inc esi
cmp byte [esi], 0
jne 0x402c37
sub esi, 0x453ee8
inc esi
push esi
call fcn.004280ef
add esp, 4
mov dword [edi + 0x18], eax
test eax, eax
je 0x402c63
push esi
push 0x453ee8
push eax
call fcn.00424630
add esp, 0xc
mov ecx, dword [ebx + 0xc]
cmp ecx, edi
je 0x402c85
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x402c7b
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov dword [ebx + 0xc], edi
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x402c98
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
mov dword [ebx + 0x4c], 0
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret