Function at 0x404a80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x60d021
mov eax, dword fs:[0]
push eax
sub esp, 0xac
push ebx
push ebp
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [esp + 0x3c]
push eax
call fcn.0040c3f0
mov dword [esp + 0xc8], 0
push str._Value
push ecx
push str._:_Name
push ecx
push edi
push ecx
lea ecx, [esp + 0x54]
push str.Node__
push ecx
lea esi, [edi + 0x20]
lea ebx, [edi + 0x3c]
call fcn.00413400
add esp, 0xc
push eax
call fcn.0040adf0
add esp, 4
push eax
call fcn.00413400
push eax
mov ecx, esi
call fcn.004135d0
add esp, 0x10
push eax
call fcn.00413400
push eax
mov ecx, ebx
call fcn.004135d0
add esp, 0xc
cmp dword [edi + 0x98], 0
jne 0x404b30
push str._ParentNULL
lea edx, [esp + 0x40]
push edx
jmp 0x404b74
mov eax, dword [edi + 0x98]
push 0x6cb358
push ecx
push 0x6ca13c
push ecx
push eax
push ecx
lea esi, [eax + 0x20]
lea eax, [esp + 0x54]
push 0x6cb35c
push eax
call fcn.00413400
add esp, 0xc
push eax
call fcn.0040adf0
add esp, 4
push eax
call fcn.00413400
push eax
mov ecx, esi
call fcn.004135d0
add esp, 0x10
push eax
call fcn.00413400
mov eax, dword [edi + 0x70]
mov ebx, dword [eax]
mov esi, dword [edi + 0x58]
add esp, 8
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], esi
lea esp, [esp]
mov ebp, dword [edi + 0x70]
mov eax, dword [edi + 0x58]
test esi, esi
je 0x404b9e
cmp esi, eax
je 0x404ba3
call fcn.005c475a
cmp ebx, ebp
je 0x404c21
test esi, esi
jne 0x404c1d
call fcn.005c475a
cmp ebx, dword [esi + 0x18]
jne 0x404bba
call fcn.005c475a
mov ecx, dword [ebx + 0x28]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 0x6cb370
push ecx
call eax
push 0x6cb374
push ecx
lea ecx, [esp + 0x4c]
push 0x6cb378
push ecx
mov esi, eax
call fcn.00413400
push eax
lea ecx, [edi + 0x20]
call fcn.004135d0
add esp, 0x10
push eax
call fcn.00413400
push eax
mov ecx, esi
call fcn.004135d0
add esp, 0x10
push eax
call fcn.00413400
add esp, 8
lea esi, [esp + 0x18]
call fcn.004297e0
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x404b90
mov esi, dword [esi]
jmp 0x404bb0
mov eax, dword [edi + 0x90]
mov ebx, dword [eax]
mov esi, dword [edi + 0x78]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], esi
mov ebp, dword [edi + 0x90]
mov eax, dword [edi + 0x78]
test esi, esi
je 0x404c45
cmp esi, eax
je 0x404c4a
call fcn.005c475a
cmp ebx, ebp
je 0x404cad
test esi, esi
jne 0x404ca9
call fcn.005c475a
cmp ebx, dword [esi + 0x18]
jne 0x404c61
call fcn.005c475a
mov ecx, dword [ebx + 0x28]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 0x6cb370
push ecx
call eax
lea ecx, [esp + 0x44]
push 0x6cb380
push ecx
mov esi, eax
call fcn.00413400
push eax
mov ecx, esi
call fcn.004135d0
add esp, 0x10
push eax
call fcn.00413400
add esp, 8
lea esi, [esp + 0x18]
call fcn.004297e0
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x404c34
mov esi, dword [esi]
jmp 0x404c57
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.0040c4f0
mov byte [esp + 0xc8], 1
lea esi, [edi + 4]
or edi, 0xffffffff
push edi
push 0
mov ecx, esi
call fcn.0040d740
mov byte [esp + 0xc8], 0
cmp dword [esp + 0x38], 8
jb 0x404cf0
mov ecx, dword [esp + 0x24]
push ecx
call fcn.005c396f
add esp, 4
xor edx, edx
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], dx
mov dword [esp + 0xc8], edi
lea ecx, [esp + 0x88]
call fcn.0040c480
lea eax, [esp + 0x88]
mov dword [esp + 0x18], eax
mov dword [esp + 0x88], vtable.std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__.0
mov dword [esp + 0xc8], edi
mov ecx, eax
push ecx
mov dword [esp + 0x8c], vtable.std::ios_base.0
call fcn.005c27ca
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret