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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cc9db
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x100f0380]
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.1004ea90
mov dword [ebp - 4], 0
cmp byte [0x101c247c], 0
je 0x1004dd7c
mov eax, dword [esi + 0x28]
cmp eax, dword [esi + 0x2c]
je 0x1004dd7c
push 0x101c2480
lea ecx, [ebp - 0x88]
call fcn.10027b30
mov byte [ebp - 4], 1
lea ecx, [edi + 4]
cmp dword [edi + 0x18], 0xf
mov edx, dword [0x10175d7c]
jbe 0x1004d562
mov ecx, dword [ecx]
cmp dword [ebp - 0x70], 0xf
lea eax, [ebp - 0x84]
push ecx
cmova eax, dword [ebp - 0x84]
push eax
call edx
push 0xb0
lea eax, [ebp - 0x138]
push 0
push eax
call sub.VCRUNTIME140D.dll_memset
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x138]
call fcn.1004e000
mov byte [ebp - 4], 2
cmp dword [ebp - 0xe8], 0
je 0x1004dd24
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 0x1004dd24
mov edi, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x144], eax
cmp edi, eax
je 0x1004dc9c
mov esi, dword [edi]
mov eax, dword [esi + 0x20]
cmp eax, dword [esi + 0x24]
je 0x1004dc87
push esi
lea ecx, [ebp - 0x2c]
call fcn.10027b30
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 0x1004dc66
nop dword [eax]
mov edi, dword [ebx]
test byte [edi + 0x58], 8
je 0x1004dc4f
mov esi, dword [edi + 0x5c]
lea eax, [edi + 0x3c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.10027b30
dec esi
mov byte [ebp - 4], 4
cmp esi, 6
ja case.default.0x1004d649
jmp dword [esi*4 + 0x1004dda4]
mov bl, byte [edi + 0x78]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x40]
call fcn.1004e2a0
mov byte [ebp - 0x1c8], bl
xorps xmm0, xmm0
mov edi, dword [ebp - 0x1c8]
mov ebx, dword [ebp - 0x1c4]
movq qword [ebp - 0x190], xmm0
mov byte [ebp - 0x198], 4
mov dword [ebp - 0x190], edi
mov dword [ebp - 0x18c], ebx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
push ecx
mov ecx, eax
call fcn.1004e2a0
lea ecx, [ebp - 0x198]
mov esi, eax
call fcn.10050e30
mov cl, byte [esi]
mov byte [esi], 4
mov edx, dword [esi + 0xc]
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], ebx
mov dword [ebp - 0x18c], edx
call fcn.10050e30
lea ecx, [ebp - 0x198]
call fcn.1004e5b0
mov ebx, dword [ebp - 0x13c]
jmp case.default.0x1004d649
movss xmm0, dword [edi + 0x7c]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x40]
movss dword [ebp - 0x13c], xmm0
call fcn.1004e2a0
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.10057170
mov al, byte [ebp - 0x158]
mov edi, dword [ebp - 0x150]
cmp al, 1
jne 0x1004d750
test edi, edi
jne 0x1004d789
push 0x79a
push str.C:UsersgetrektDownloads_skeet_macy_main_3_hackvshack.net_skeet_macy_mainjson.h
push str.m_type___value_t::object_or_m_value.object___nullptr
jmp 0x1004d780
cmp al, 2
jne 0x1004d769
test edi, edi
jne 0x1004d789
push 0x79b
push str.C:UsersgetrektDownloads_skeet_macy_main_3_hackvshack.net_skeet_macy_mainjson.h
push str.m_type___value_t::array_or_m_value.array___nullptr
jmp 0x1004d780
cmp al, 3
jne 0x1004d789
test edi, edi
jne 0x1004d789
push 0x79c
push str.C:UsersgetrektDownloads_skeet_macy_main_3_hackvshack.net_skeet_macy_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.1004e2a0
lea ecx, [ebp - 0x158]
mov esi, eax
call fcn.10050e30
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.10050e30
lea ecx, [ebp - 0x158]
jmp 0x1004dc23
mov eax, dword [edi + 0x78]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1004e2a0
mov esi, eax
lea ecx, [ebp - 0x1a8]
lea eax, [ebp - 0x13c]
push eax
call fcn.10052810
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 7
push eax
mov ecx, esi
call fcn.1004e2a0
lea ecx, [ebp - 0x1a8]
mov edi, eax
call fcn.10050e30
mov dl, byte [edi]
mov cl, byte [ebp - 0x1a8]
mov byte [edi], cl
mov ecx, dword [ebp - 0x19c]
mov eax, dword [ebp - 0x1a0]
mov byte [ebp - 0x1a8], 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 - 0x1a0], edx
mov dword [ebp - 0x19c], esi
call fcn.10050e30
lea ecx, [ebp - 0x1a8]
jmp 0x1004dc23
mov esi, dword [edi + 0xac]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x40]
call fcn.1004e2a0
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.100571a0
mov al, byte [ebp - 0x168]
mov edi, dword [ebp - 0x160]
cmp al, 1
jne 0x1004d8cc
test edi, edi
jne 0x1004d905
push 0x79a
push str.C:UsersgetrektDownloads_skeet_macy_main_3_hackvshack.net_skeet_macy_mainjson.h
push str.m_type___value_t::object_or_m_value.object___nullptr
jmp 0x1004d8fc
cmp al, 2
jne 0x1004d8e5
test edi, edi
jne 0x1004d905
push 0x79b
push str.C:UsersgetrektDownloads_skeet_macy_main_3_hackvshack.net_skeet_macy_mainjson.h
push str.m_type___value_t::array_or_m_value.array___nullptr
jmp 0x1004d8fc
cmp al, 3
jne 0x1004d905
test edi, edi
jne 0x1004d905
push 0x79c
push str.C:UsersgetrektDownloads_skeet_macy_main_3_hackvshack.net_skeet_macy_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.1004e2a0
lea ecx, [ebp - 0x168]
mov esi, eax
call fcn.10050e30
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.10050e30
lea ecx, [ebp - 0x168]
jmp 0x1004dc23
mov ecx, dword [edi + 0x98]
movzx eax, cl
mov dword [ebp - 0x6c], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [ebp - 0x68], eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
shr ecx, 0x18
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x40]
push eax
call fcn.1004e2a0
xorps xmm0, xmm0
mov byte [ebp - 0x178], 0
lea edx, [ebp - 0x6c]
movq qword [ebp - 0x170], xmm0
lea ecx, [ebp - 0x178]
mov esi, eax
call fcn.100572d0
mov al, byte [ebp - 0x178]
mov edi, dword [ebp - 0x170]
cmp al, 1
jne 0x1004d9e0
test edi, edi
jne 0x1004da19
push 0x79a
push str.C:UsersgetrektDownloads_skeet_macy_main_3_hackvshack.net_skeet_macy_mainjson.h
push str.m_type___value_t::object_or_m_value.object___nullptr
jmp 0x1004da10
cmp al, 2
jne 0x1004d9f9
test edi, edi
jne 0x1004da19
push 0x79b
push str.C:UsersgetrektDownloads_skeet_macy_main_3_hackvshack.net_skeet_macy_mainjson.h
push str.m_type___value_t::array_or_m_value.array___nullptr
jmp 0x1004da10
cmp al, 3
jne 0x1004da19
test edi, edi
jne 0x1004da19
push 0x79c
push str.C:UsersgetrektDownloads_skeet_macy_main_3_hackvshack.net_skeet_macy_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.1004e2a0
lea ecx, [ebp - 0x178]
mov esi, eax
call fcn.10050e30
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.10050e30
lea ecx, [ebp - 0x178]
jmp 0x1004dc23
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x40]
call fcn.1004e2a0
lea ecx, [edi + 0xac]
mov esi, eax
push ecx
lea ecx, [ebp - 0x1d8]
call fcn.100411e0
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x1d8]
xorps xmm0, xmm0
mov byte [ebp - 0x188], 0
lea ecx, [ebp - 0x188]
movq qword [ebp - 0x180], xmm0
call fcn.10057430
mov al, byte [ebp - 0x188]
mov edi, dword [ebp - 0x180]
cmp al, 1
jne 0x1004dae1
test edi, edi
jne 0x1004db1a
push 0x79a
push str.C:UsersgetrektDownloads_skeet_macy_main_3_hackvshack.net_skeet_macy_mainjson.h
push str.m_type___value_t::object_or_m_value.object___nullptr
jmp 0x1004db11
cmp al, 2
jne 0x1004dafa
test edi, edi
jne 0x1004db1a
push 0x79b
push str.C:UsersgetrektDownloads_skeet_macy_main_3_hackvshack.net_skeet_macy_mainjson.h
push str.m_type___value_t::array_or_m_value.array___nullptr
jmp 0x1004db11
cmp al, 3
jne 0x1004db1a
test edi, edi
jne 0x1004db1a
push 0x79c
push str.C:UsersgetrektDownloads_skeet_macy_main_3_hackvshack.net_skeet_macy_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.1004e2a0
lea ecx, [ebp - 0x188]
mov esi, eax
call fcn.10050e30
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.10050e30
lea ecx, [ebp - 0x188]
call fcn.1004e5b0
lea ecx, [ebp - 0x1d8]
call fcn.10026d00
jmp case.default.0x1004d649
cmp dword [edi + 0x8c], 0
jne 0x1004db94
or eax, 0xffffffff
jmp 0x1004dba0
push ecx
lea ecx, [edi + 0x78]
call fcn.10049ad0
add esp, 4
mov dword [ebp - 0x13c], eax
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x2c]
push eax
call fcn.1004e2a0
mov esi, eax
lea ecx, [ebp - 0x1b8]
lea eax, [ebp - 0x13c]
push eax
call fcn.10052810
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0xc
push eax
mov ecx, esi
call fcn.1004e2a0
lea ecx, [ebp - 0x1b8]
mov edi, eax
call fcn.10050e30
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.10050e30
lea ecx, [ebp - 0x1b8]
call fcn.1004e5b0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call fcn.10028230
mov eax, dword [ebp - 0x5c]
push 8
push eax
mov dword [ebp - 0x5c], 0
call fcn.100c8bb0
mov eax, dword [ebp - 0x1bc]
add esp, 8
add ebx, 4
mov dword [ebp - 0x13c], ebx
cmp ebx, eax
jne 0x1004d620
mov edi, dword [ebp - 0x140]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.10028230
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x2c], 0
call fcn.100c8bb0
add esp, 8
add edi, 4
mov dword [ebp - 0x140], edi
cmp edi, dword [ebp - 0x144]
jne 0x1004d5e4
push ecx
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x40]
call fcn.1004e3b0
mov byte [ebp - 4], 0xd
lea edx, [eax + 4]
cmp dword [eax + 0x18], 0xf
jbe 0x1004dcb8
mov edx, dword [edx]
push dword [eax + 0x14]
lea ecx, [ebp - 0x2c]
call fcn.1004a920
add esp, 4
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x138]
push dword [ebp - 0x18]
cmova edx, dword [ebp - 0x28]
call fcn.100417d0
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.10028230
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x2c], 0
call fcn.100c8bb0
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.10028230
mov eax, dword [ebp - 0x5c]
push 8
push eax
mov dword [ebp - 0x5c], 0
call fcn.100c8bb0
add esp, 8
lea ecx, [ebp - 0x134]
call fcn.1002bc80
test eax, eax
jne 0x1004dd4b
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.1004bf90
lea ecx, [ebp - 0x88]
call fcn.10028230
mov eax, dword [ebp - 0x88]
push 8
push eax
mov dword [ebp - 0x88], 0
call fcn.100c8bb0
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.1004e5b0
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.100c8320
mov esp, ebp
pop ebp
ret 8