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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x18]
push ebx
sub esp, 0xac
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x64], esp
mov dword [ebp - 0x74], sym.___gxx_personality_sj0
mov dword [ebp - 0x70], 0x4f3362
mov dword [ebp - 0x68], 0x4db790
mov dword [esp], eax
call dbg._Unwind_SjLj_Register
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x90]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [edi], eax
mov esi, dword [eax - 0xc]
mov eax, dword [ebp + 8]
add esi, edi
mov eax, dword [eax + 8]
mov ecx, esi
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
add edx, dword [eax - 0xc]
mov dword [ebp - 0x98], edx
mov dword [esp], edx
mov dword [ebp - 0x94], esi
call method.std::ios_base._M_move_std::ios_base_
mov ebx, dword [ebp - 0x94]
sub esp, 4
lea eax, [ebx + 0x6c]
mov ecx, ebx
mov dword [esp], eax
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x88], 0xffffffff
call method.std::basic_ios_char__std::char_traits_char___._M_cache_locale_std::locale_const_
mov edx, dword [ebp - 0x98]
mov ebx, dword [ebp - 0x94]
mov edi, dword [ebp - 0x90]
mov ecx, dword [ebp + 0xc]
sub esp, 4
mov eax, dword [edx + 0x70]
mov dword [ebx + 0x78], 0
mov dword [edx + 0x70], 0
mov dword [ebx + 0x70], eax
movzx eax, word [edx + 0x74]
mov word [ebx + 0x74], ax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [ebx + 0xc]
mov dword [edi], eax
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x48], 0xffffffff
mov dword [edi + eax], edx
lea eax, [edi + 4]
lea edi, [ecx + 4]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x1c], 0xffffffff
mov ebx, dword [ecx + 0x28]
mov eax, dword [ecx + 8]
test eax, eax
je 0x4db758
sub eax, ebx
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
sar eax, 0x1f
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x9c], eax
sub eax, ebx
mov dword [ebp - 0x40], eax
sar eax, 0x1f
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x10]
mov edx, eax
sub edx, ebx
mov dword [ebp - 0x38], edx
sar edx, 0x1f
mov dword [ebp - 0x34], edx
mov edx, dword [esi + 0x14]
test edx, edx
je 0x4db5ed
mov ecx, edx
sub ecx, ebx
mov dword [ebp - 0x30], ecx
sar ecx, 0x1f
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x18]
mov esi, ecx
sub esi, edx
mov edx, esi
mov dword [ebp - 0x28], esi
mov esi, dword [ebp + 0xc]
sar edx, 0x1f
mov esi, dword [esi + 0x1c]
mov dword [ebp - 0x24], edx
mov edx, esi
mov dword [ebp - 0x9c], esi
sub edx, ebx
mov dword [ebp - 0x20], edx
sar edx, 0x1f
cmp eax, ecx
mov dword [ebp - 0x1c], edx
cmovb eax, ecx
test eax, eax
je 0x4db5f9
sub eax, ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 0x98]
mov dword [esp], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x88], 1
call fcn.004b8ae0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0x90]
sub esp, 4
mov eax, dword [eax + 0x24]
lea ecx, [esi + 0x30]
mov dword [esi + 4], 0x50713c
mov dword [esi + 0x28], ecx
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x28]
add eax, 0x30
cmp edx, eax
je 0x4db770
mov ebx, dword [ebp - 0x90]
mov esi, dword [ebp + 0xc]
mov dword [ebx + 0x28], edx
mov edx, dword [esi + 0x30]
mov dword [ebx + 0x30], edx
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x48]
mov edx, dword [esi + 0x2c]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x44]
mov dword [esi + 0x2c], 0
mov dword [ebx + 0x2c], edx
mov edx, dword [ebp - 0x50]
and eax, ecx
mov byte [esi + 0x30], 0
mov esi, dword [edx + 0x24]
cmp eax, 0xffffffff
je 0x4db69e
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x40]
add ecx, esi
mov dword [edx + 4], ecx
add eax, esi
add ebx, esi
mov dword [edx + 8], ebx
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
and ecx, eax
cmp ecx, 0xffffffff
je 0x4db6fe
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
add eax, esi
mov ebx, dword [ebp - 0x24]
mov dword [edx + 0x10], eax
add edi, esi
mov esi, 0x7fffffff
cmp esi, ecx
mov esi, 0
mov dword [edx + 0x18], edi
sbb esi, ebx
jge 0x4db6f9
lea esi, [eax + 0x7fffffff]
lea esi, [esi]
add ecx, 0x80000001
mov edi, 0x7fffffff
mov eax, esi
adc ebx, 0xffffffff
add esi, 0x7fffffff
cmp edi, ecx
mov edi, 0
sbb edi, ebx
jl 0x4db6d8
add eax, ecx
mov dword [edx + 0x14], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x28]
mov dword [esp], eax
mov ecx, dword [ebp - 0x98]
call method.std::__cxx11::basic_stringbuf_char__std::char_traits_char___std::allocator_char___._M_sync_char__unsigned_int__unsigned_int_
mov edi, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x94]
sub esp, 0xc
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
mov dword [edi + eax + 0x78], ecx
lea eax, [ebp - 0x8c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov edx, dword [ecx + 0x14]
test edx, edx
jne 0x4db5ad
jmp 0x4db5f9
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebx + 0x30]
mov dword [esi + 0x30], edx
mov edx, dword [eax + 4]
mov dword [esi + 0x34], edx
mov edx, dword [eax + 8]
mov dword [esi + 0x38], edx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x3c], edx
jmp 0x4db659