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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e16a6
mov eax, dword fs:[0]
push eax
sub esp, 0x1ec
mov eax, dword [0x10104040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x40]
call fcn.1004e4a0
mov dword [ebp - 4], 0
cmp byte [0x10123ec4], 0
je 0x1004d8b1
mov eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x30]
je 0x1004d8b1
push 0x10123ec8
lea ecx, [ebp - 0x78]
call fcn.10034540
mov byte [ebp - 4], 1
lea ecx, [edi + 4]
cmp dword [edi + 0x18], 0xf
mov edx, dword [0x1011e2fc]
jbe 0x1004cfbf
mov ecx, dword [ecx]
cmp dword [ebp - 0x60], 0xf
lea eax, [ebp - 0x74]
push ecx
cmova eax, dword [ebp - 0x74]
push eax
call edx
push 0xb0
lea eax, [ebp - 0x138]
push 0
push eax
call sub.VCRUNTIME140D.dll_memset
cmp dword [ebp - 0x60], 0xf
lea eax, [ebp - 0x74]
lea ecx, [ebp - 0x138]
cmova eax, dword [ebp - 0x74]
push eax
call fcn.10040c40
mov eax, dword [ebp - 0x138]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x13c], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0xe8], 0
je 0x1004d862
mov eax, dword [ebp - 0x138]
lea ecx, [ebp - 0x138]
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140D.dll_public:_bool___thiscall_std::ios_base::fail_void_const]
test al, al
jne 0x1004d862
mov edi, dword [esi + 0x2c]
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x144], eax
cmp edi, eax
je 0x1004d7ce
mov esi, dword [edi]
mov eax, dword [esi + 0x20]
cmp eax, dword [esi + 0x24]
je 0x1004d7b9
push esi
lea ecx, [ebp - 0x2c]
call fcn.10034540
mov byte [ebp - 4], 3
mov ebx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x1bc], eax
cmp ebx, eax
je 0x1004d798
nop dword [eax]
mov edi, dword [ebx]
test byte [edi + 0x58], 8
je 0x1004d781
mov esi, dword [edi + 0x5c]
lea eax, [edi + 0x3c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.10034540
dec esi
mov byte [ebp - 4], 4
cmp esi, 6
ja case.default.0x1004d0c9
jmp dword [esi*4 + 0x1004d8d8]
mov bl, byte [edi + 0x78]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x40]
call fcn.1004dcb0
mov byte [ebp - 0x1c8], bl
xorps xmm0, xmm0
mov edi, dword [ebp - 0x1c8]
mov ebx, dword [ebp - 0x1c4]
movq qword [ebp - 0x1a0], xmm0
mov byte [ebp - 0x1a8], 4
mov dword [ebp - 0x1a0], edi
mov dword [ebp - 0x19c], ebx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
push ecx
mov ecx, eax
call fcn.1004dcb0
lea ecx, [ebp - 0x1a8]
mov esi, eax
call fcn.100507f0
mov cl, byte [esi]
mov byte [esi], 4
mov edx, dword [esi + 0xc]
mov byte [ebp - 0x1a8], cl
mov ecx, dword [esi + 8]
mov dword [ebp - 0x1a0], ecx
mov ecx, esi
mov dword [esi + 8], edi
mov dword [esi + 0xc], ebx
mov dword [ebp - 0x19c], edx
call fcn.100507f0
lea ecx, [ebp - 0x1a8]
call fcn.1004dfc0
mov ebx, dword [ebp - 0x13c]
jmp case.default.0x1004d0c9
movss xmm0, dword [edi + 0x98]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x40]
movss dword [ebp - 0x13c], xmm0
call fcn.1004dcb0
movss xmm1, dword [ebp - 0x13c]
lea ecx, [ebp - 0x158]
xorps xmm0, xmm0
mov byte [ebp - 0x158], 0
mov esi, eax
movq qword [ebp - 0x150], xmm0
call fcn.10056f40
mov al, byte [ebp - 0x158]
mov edi, dword [ebp - 0x150]
cmp al, 1
jne 0x1004d1d3
test edi, edi
jne 0x1004d20c
push 0x79a
push str.C:UsersincskDesktop_supremacy_v5_bigbc_main_hackvshack.net_bigbc_mainjson.h
push str.m_type___value_t::object_or_m_value.object___nullptr
jmp 0x1004d203
cmp al, 2
jne 0x1004d1ec
test edi, edi
jne 0x1004d20c
push 0x79b
push str.C:UsersincskDesktop_supremacy_v5_bigbc_main_hackvshack.net_bigbc_mainjson.h
push str.m_type___value_t::array_or_m_value.array___nullptr
jmp 0x1004d203
cmp al, 3
jne 0x1004d20c
test edi, edi
jne 0x1004d20c
push 0x79c
push str.C:UsersincskDesktop_supremacy_v5_bigbc_main_hackvshack.net_bigbc_mainjson.h
push str.m_type___value_t::string_or_m_value.string___nullptr
call dword [sym.imp.ucrtbased.dll__wassert]
add esp, 0xc
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 6
push eax
mov ecx, esi
call fcn.1004dcb0
lea ecx, [ebp - 0x158]
mov esi, eax
call fcn.100507f0
mov cl, byte [esi]
mov al, byte [ebp - 0x158]
mov byte [esi], al
mov edx, dword [esi + 0xc]
mov eax, dword [ebp - 0x14c]
mov byte [ebp - 0x158], cl
mov ecx, dword [esi + 8]
mov dword [ebp - 0x150], ecx
mov ecx, esi
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov dword [ebp - 0x14c], edx
call fcn.100507f0
lea ecx, [ebp - 0x158]
call fcn.1004dfc0
jmp case.default.0x1004d0c9
mov eax, dword [edi + 0x78]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1004dcb0
mov esi, eax
lea ecx, [ebp - 0x1b8]
lea eax, [ebp - 0x13c]
push eax
call fcn.10052260
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 7
push eax
mov ecx, esi
call fcn.1004dcb0
lea ecx, [ebp - 0x1b8]
mov edi, eax
call fcn.100507f0
mov dl, byte [edi]
mov cl, byte [ebp - 0x1b8]
mov byte [edi], cl
mov ecx, dword [ebp - 0x1ac]
mov eax, dword [ebp - 0x1b0]
mov byte [ebp - 0x1b8], dl
mov esi, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov dword [edi + 0xc], ecx
mov ecx, edi
mov dword [edi + 8], eax
mov dword [ebp - 0x1b0], edx
mov dword [ebp - 0x1ac], esi
call fcn.100507f0
lea ecx, [ebp - 0x1b8]
call fcn.1004dfc0
jmp case.default.0x1004d0c9
mov esi, dword [edi + 0xac]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x40]
call fcn.1004dcb0
xorps xmm0, xmm0
mov dword [ebp - 0x13c], eax
mov edx, esi
mov byte [ebp - 0x168], 0
lea ecx, [ebp - 0x168]
movq qword [ebp - 0x160], xmm0
call fcn.10056f70
mov al, byte [ebp - 0x168]
mov edi, dword [ebp - 0x160]
cmp al, 1
jne 0x1004d359
test edi, edi
jne 0x1004d392
push 0x79a
push str.C:UsersincskDesktop_supremacy_v5_bigbc_main_hackvshack.net_bigbc_mainjson.h
push str.m_type___value_t::object_or_m_value.object___nullptr
jmp 0x1004d389
cmp al, 2
jne 0x1004d372
test edi, edi
jne 0x1004d392
push 0x79b
push str.C:UsersincskDesktop_supremacy_v5_bigbc_main_hackvshack.net_bigbc_mainjson.h
push str.m_type___value_t::array_or_m_value.array___nullptr
jmp 0x1004d389
cmp al, 3
jne 0x1004d392
test edi, edi
jne 0x1004d392
push 0x79c
push str.C:UsersincskDesktop_supremacy_v5_bigbc_main_hackvshack.net_bigbc_mainjson.h
push str.m_type___value_t::string_or_m_value.string___nullptr
call dword [sym.imp.ucrtbased.dll__wassert]
add esp, 0xc
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x13c]
push eax
call fcn.1004dcb0
lea ecx, [ebp - 0x168]
mov esi, eax
call fcn.100507f0
mov cl, byte [esi]
mov al, byte [ebp - 0x168]
mov byte [esi], al
mov edx, dword [esi + 0xc]
mov eax, dword [ebp - 0x15c]
mov byte [ebp - 0x168], cl
mov ecx, dword [esi + 8]
mov dword [ebp - 0x160], ecx
mov ecx, esi
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov dword [ebp - 0x15c], edx
call fcn.100507f0
lea ecx, [ebp - 0x168]
call fcn.1004dfc0
jmp case.default.0x1004d0c9
mov ecx, dword [edi + 0xa4]
movzx eax, cl
mov dword [ebp - 0x88], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [ebp - 0x84], eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
shr ecx, 0x18
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x7c], ecx
lea ecx, [ebp - 0x40]
push eax
call fcn.1004dcb0
xorps xmm0, xmm0
mov byte [ebp - 0x178], 0
lea edx, [ebp - 0x88]
movq qword [ebp - 0x170], xmm0
lea ecx, [ebp - 0x178]
mov esi, eax
call fcn.100570a0
mov al, byte [ebp - 0x178]
mov edi, dword [ebp - 0x170]
cmp al, 1
jne 0x1004d47b
test edi, edi
jne 0x1004d4b4
push 0x79a
push str.C:UsersincskDesktop_supremacy_v5_bigbc_main_hackvshack.net_bigbc_mainjson.h
push str.m_type___value_t::object_or_m_value.object___nullptr
jmp 0x1004d4ab
cmp al, 2
jne 0x1004d494
test edi, edi
jne 0x1004d4b4
push 0x79b
push str.C:UsersincskDesktop_supremacy_v5_bigbc_main_hackvshack.net_bigbc_mainjson.h
push str.m_type___value_t::array_or_m_value.array___nullptr
jmp 0x1004d4ab
cmp al, 3
jne 0x1004d4b4
test edi, edi
jne 0x1004d4b4
push 0x79c
push str.C:UsersincskDesktop_supremacy_v5_bigbc_main_hackvshack.net_bigbc_mainjson.h
push str.m_type___value_t::string_or_m_value.string___nullptr
call dword [sym.imp.ucrtbased.dll__wassert]
add esp, 0xc
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 9
push eax
mov ecx, esi
call fcn.1004dcb0
lea ecx, [ebp - 0x178]
mov esi, eax
call fcn.100507f0
mov cl, byte [esi]
mov al, byte [ebp - 0x178]
mov byte [esi], al
mov edx, dword [esi + 0xc]
mov eax, dword [ebp - 0x16c]
mov byte [ebp - 0x178], cl
mov ecx, dword [esi + 8]
mov dword [ebp - 0x170], ecx
mov ecx, esi
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov dword [ebp - 0x16c], edx
call fcn.100507f0
lea ecx, [ebp - 0x178]
call fcn.1004dfc0
jmp case.default.0x1004d0c9
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x40]
call fcn.1004dcb0
lea ecx, [edi + 0xac]
mov esi, eax
push ecx
lea ecx, [ebp - 0x1f4]
call fcn.10033240
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x1f4]
xorps xmm0, xmm0
mov byte [ebp - 0x188], 0
lea ecx, [ebp - 0x188]
movq qword [ebp - 0x180], xmm0
call fcn.10057200
mov al, byte [ebp - 0x188]
mov edi, dword [ebp - 0x180]
cmp al, 1
jne 0x1004d581
test edi, edi
jne 0x1004d5ba
push 0x79a
push str.C:UsersincskDesktop_supremacy_v5_bigbc_main_hackvshack.net_bigbc_mainjson.h
push str.m_type___value_t::object_or_m_value.object___nullptr
jmp 0x1004d5b1
cmp al, 2
jne 0x1004d59a
test edi, edi
jne 0x1004d5ba
push 0x79b
push str.C:UsersincskDesktop_supremacy_v5_bigbc_main_hackvshack.net_bigbc_mainjson.h
push str.m_type___value_t::array_or_m_value.array___nullptr
jmp 0x1004d5b1
cmp al, 3
jne 0x1004d5ba
test edi, edi
jne 0x1004d5ba
push 0x79c
push str.C:UsersincskDesktop_supremacy_v5_bigbc_main_hackvshack.net_bigbc_mainjson.h
push str.m_type___value_t::string_or_m_value.string___nullptr
call dword [sym.imp.ucrtbased.dll__wassert]
add esp, 0xc
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0xb
push eax
mov ecx, esi
call fcn.1004dcb0
lea ecx, [ebp - 0x188]
mov esi, eax
call fcn.100507f0
mov cl, byte [esi]
mov al, byte [ebp - 0x188]
mov byte [esi], al
mov edx, dword [esi + 0xc]
mov eax, dword [ebp - 0x17c]
mov byte [ebp - 0x188], cl
mov ecx, dword [esi + 8]
mov dword [ebp - 0x180], ecx
mov ecx, esi
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov dword [ebp - 0x17c], edx
call fcn.100507f0
lea ecx, [ebp - 0x188]
call fcn.1004dfc0
lea ecx, [ebp - 0x1f4]
call fcn.100347f0
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x1f4], 0
jmp 0x1004d74f
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x40]
call fcn.1004dcb0
lea ecx, [edi + 0x78]
mov esi, eax
push ecx
lea ecx, [ebp - 0x1e4]
call fcn.10034540
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x1e4]
xorps xmm0, xmm0
mov byte [ebp - 0x198], 0
lea ecx, [ebp - 0x198]
movq qword [ebp - 0x190], xmm0
call fcn.100575d0
mov al, byte [ebp - 0x198]
mov edi, dword [ebp - 0x190]
cmp al, 1
jne 0x1004d69f
test edi, edi
jne 0x1004d6d8
push 0x79a
push str.C:UsersincskDesktop_supremacy_v5_bigbc_main_hackvshack.net_bigbc_mainjson.h
push str.m_type___value_t::object_or_m_value.object___nullptr
jmp 0x1004d6cf
cmp al, 2
jne 0x1004d6b8
test edi, edi
jne 0x1004d6d8
push 0x79b
push str.C:UsersincskDesktop_supremacy_v5_bigbc_main_hackvshack.net_bigbc_mainjson.h
push str.m_type___value_t::array_or_m_value.array___nullptr
jmp 0x1004d6cf
cmp al, 3
jne 0x1004d6d8
test edi, edi
jne 0x1004d6d8
push 0x79c
push str.C:UsersincskDesktop_supremacy_v5_bigbc_main_hackvshack.net_bigbc_mainjson.h
push str.m_type___value_t::string_or_m_value.string___nullptr
call dword [sym.imp.ucrtbased.dll__wassert]
add esp, 0xc
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0xd
push eax
mov ecx, esi
call fcn.1004dcb0
lea ecx, [ebp - 0x198]
mov esi, eax
call fcn.100507f0
mov cl, byte [esi]
mov al, byte [ebp - 0x198]
mov byte [esi], al
mov edx, dword [esi + 0xc]
mov eax, dword [ebp - 0x18c]
mov byte [ebp - 0x198], cl
mov ecx, dword [esi + 8]
mov dword [ebp - 0x190], ecx
mov ecx, esi
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov dword [ebp - 0x18c], edx
call fcn.100507f0
lea ecx, [ebp - 0x198]
call fcn.1004dfc0
lea ecx, [ebp - 0x1e4]
call fcn.10034e10
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x1e4], 0
push 8
push eax
call fcn.100ddfc0
add esp, 8
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call fcn.10034e10
mov eax, dword [ebp - 0x5c]
push 8
push eax
mov dword [ebp - 0x5c], 0
call fcn.100ddfc0
mov eax, dword [ebp - 0x1bc]
add esp, 8
add ebx, 4
mov dword [ebp - 0x13c], ebx
cmp ebx, eax
jne 0x1004d0a0
mov edi, dword [ebp - 0x140]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.10034e10
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x2c], 0
call fcn.100ddfc0
add esp, 8
add edi, 4
mov dword [ebp - 0x140], edi
cmp edi, dword [ebp - 0x144]
jne 0x1004d067
push ecx
lea eax, [ebp - 0x1e4]
push eax
lea ecx, [ebp - 0x40]
call fcn.1004ddc0
mov byte [ebp - 4], 0xe
lea edx, [eax + 4]
cmp dword [eax + 0x18], 0xf
jbe 0x1004d7ed
mov edx, dword [edx]
push dword [eax + 0x14]
lea ecx, [ebp - 0x2c]
call fcn.1004a270
add esp, 4
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x138]
push dword [ebp - 0x18]
cmova edx, dword [ebp - 0x28]
call fcn.1003d490
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.10034e10
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x2c], 0
call fcn.100ddfc0
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1e4]
call fcn.10034e10
mov eax, dword [ebp - 0x1e4]
push 8
push eax
mov dword [ebp - 0x1e4], 0
call fcn.100ddfc0
add esp, 8
lea ecx, [ebp - 0x134]
call fcn.10040f90
test eax, eax
jne 0x1004d889
push eax
mov eax, dword [ebp - 0x138]
lea ecx, [ebp - 0x138]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0x138]
call fcn.1003dd70
lea ecx, [ebp - 0x78]
call fcn.10034e10
mov eax, dword [ebp - 0x78]
push 8
push eax
mov dword [ebp - 0x78], 0
call fcn.100ddfc0
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.1004dfc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100dd730
mov esp, ebp
pop ebp
ret 8