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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448575
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.0040f4eb
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.004237b5
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.0040b9c1
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 0x455044
push eax
call fcn.0040f5e8
lea eax, [ebp - 0x48]
push eax
call fcn.0040f72d
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.0040f633
mov eax, dword [ebp - 0x50]
add esp, 4
test eax, eax
je 0x402b0a
push eax
call fcn.00428964
add esp, 4
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x50], 0
test eax, eax
je 0x402b21
push eax
call fcn.00428964
add esp, 4
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x58], 0
test eax, eax
je 0x402b38
push eax
call fcn.00428964
add esp, 4
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x60], 0
test eax, eax
je 0x402b4f
push eax
call fcn.00428964
add esp, 4
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x68], 0
test eax, eax
je 0x402b66
push eax
call fcn.00428964
add esp, 4
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x70], 0
test eax, eax
je 0x402b7d
push eax
call fcn.00428964
add esp, 4
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x78], 0
call fcn.0040ba19
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.0040f64d
mov edi, eax
add esp, 4
mov eax, dword [0x45cb4c]
test eax, eax
jne 0x402bef
push eax
lea ecx, [ebp - 0x10]
call fcn.0040b9c1
cmp dword [0x45cb4c], 0
jne 0x402be2
mov eax, dword [0x45cb40]
inc eax
mov dword [0x45cb40], eax
mov dword [0x45cb4c], eax
lea ecx, [ebp - 0x10]
call fcn.0040ba19
mov eax, dword [0x45cb4c]
push eax
push esi
push edi
call fcn.0040dad1
add esp, 0xc
mov dword [edi + 0x10], 0
cmp dword [edi + 0x18], 0x455040
je 0x402c53
cmp dword [edi + 0x18], 0
je 0x402c1b
push dword [edi + 0x18]
call fcn.00428964
add esp, 4
mov dword [edi + 0x18], 0
mov esi, 0x455040
inc esi
cmp byte [esi], 0
jne 0x402c27
sub esi, 0x455040
inc esi
push esi
call fcn.0042897f
add esp, 4
mov dword [edi + 0x18], eax
test eax, eax
je 0x402c53
push esi
push 0x455040
push eax
call fcn.00424eb0
add esp, 0xc
mov ecx, dword [ebx + 0xc]
cmp ecx, edi
je 0x402c75
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x402c6b
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 0x402c88
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