Function at 0x4b3420
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x741c9c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0
push esi
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
push edi
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 7
mov word [ebx + 0x10], ax
mov dword [ebx + 0x28], eax
mov dword [ebp - 4], eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], 7
mov word [ebx + 0x28], ax
lea eax, [ebx + 0x40]
push 2
push eax
call fcn.006eef9d
add esp, 8
lea esi, [ebx + 0x70]
mov dword [esi], 0x761f2c
mov dword [ebp - 0x1c], esi
mov dword [esi + 0x70], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x68], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
lea ebx, [esi + 4]
push 0
push ebx
mov byte [ebp - 4], 3
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], ebx
mov dword [esi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.0049fb90
mov eax, dword [esi]
mov dword [ebp - 4], 5
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x20], ebx
lea eax, [ecx - 0x68]
mov dword [ecx + esi - 4], eax
mov ecx, ebx
call fcn.0049c2a0
lea eax, [esi + 4]
lea ebx, [eax + 4]
mov dword [eax], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
lea esi, [eax + 8]
mov dword [eax + 0xc], ebx
lea edi, [eax + 0x14]
mov byte [eax + 0x48], 0
lea ecx, [eax + 0x18]
mov byte [eax + 0x3d], 0
lea edx, [eax + 0x24]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x4c], 0
mov eax, dword [0x908e00]
mov ecx, dword [0x908e04]
mov dword [edx + 0x40], eax
mov dword [edx + 0x44], ecx
mov dword [edx + 0x38], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1033fe0]
mov byte [ebp - 4], 6
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x908e4c]
cmp eax, dword [ecx + 0x64c]
jg 0x4b369d
mov ecx, dword [0x908e48]
mov eax, dword [ecx]
mov eax, dword [eax]
cmp eax, fcn.004b5ef0
jne 0x4b35ee
call fcn.004b5ef0
jmp 0x4b35f0
call eax
mov edi, dword [ebp - 0x18]
mov dword [edi + 0x120], eax
lea esi, [edi + 0x124]
mov byte [ebp - 4], 7
mov dword [ebp - 0x20], esi
mov dword [esi], 0
push 0x18
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.00516cd0
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
push dword [esi + 4]
mov byte [ebp - 4], 9
push 0x10
call fcn.004948d0
mov ecx, dword [ebp - 0xc]
mov eax, edi
mov dword [edi + 0x144], 0
mov dword [edi + 0x154], 0
mov dword [edi + 0x158], 0xf
mov byte [edi + 0x144], 0
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x908e4c
call fcn.00702d61
add esp, 4
cmp dword [0x908e4c], 0xffffffff
jne 0x4b35d6
push 0x102
push 0x908e10
mov dword [0x908e0c], 0x761d60
call fcn.006eef9d
push 0x908e4c
mov dword [0x908e40], 0
mov dword [0x908e44], 0
mov dword [0x908e0c], 0x762508
mov dword [0x908c94], 0x908e0c
mov dword [0x908e48], 0x908e0c
call fcn.00702d17
add esp, 0xc
jmp 0x4b35d6