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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48503d
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x53a024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov ebx, dword [ebx + 0x68]
test ebx, ebx
je 0x491e9d
mov esi, ebx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x42f3f3
mov edi, 0x4017cc
sub esi, edx
je 0x42f421
mov ecx, dword [ecx]
lea eax, [esi + 1]
push 0
push eax
call fcn.0042f790
push esi
mov edi, eax
push ebx
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esi + edi], 0
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x60], edi
mov edi, dword [ebp + 0x10]
mov dword [eax + 0x64], esi
mov esi, dword [edi + 0x6c]
mov dword [ebp - 0x28], esi
test esi, esi
je 0x42f607
mov edi, dword [esi]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x24], 1
test edi, edi
je 0x42f604
mov ebx, dword [ebp - 0x10]
push edi
push 0xa
mov ecx, ebx
call fcn.0042ee40
mov edx, eax
mov eax, dword [edi]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x20], eax
test eax, eax
je 0x42f647
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x42f473
mov ebx, 0x4017cc
sub esi, ecx
je 0x42f4ac
lea eax, [esi + 1]
push 0
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
call fcn.0042f790
push esi
push dword [ebp - 0x20]
mov ebx, eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov byte [esi + ebx], 0
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x58], ebx
mov dword [edx + 0x5c], esi
mov ebx, dword [eax + 4]
mov eax, dword [edi + 0x64]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x491ed7
mov esi, eax
lea ecx, [esi + 1]
jmp 0x42f4d0
mov al, byte [esi]
inc esi
test al, al
jne 0x42f4d0
mov edi, dword [ebx]
sub esi, ecx
mov dword [ebp - 0x34], 0
mov ebx, 0x4017cc
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], esi
je 0x491ee3
lea eax, [edi + 4]
xor cl, cl
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], cl
mov dword [ebp - 4], 0
cmp byte [edi], cl
jne 0x491ea9
mov ebx, dword [edi + 0x34]
lea edx, [esi + 4]
mov eax, dword [edi + 0x38]
and edx, 0xfffffffc
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x20], esi
lea eax, [ebx + edx]
cmp eax, dword [edi + 0x38]
ja 0x42f72d
add dword [edi + 0x50], edx
lea eax, [ebx + edx]
mov dword [edi + 0x34], eax
mov dword [ebp - 4], 0xffffffff
test cl, cl
jne 0x491ec5
push esi
push dword [ebp - 0x1c]
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov byte [ebx + esi], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
mov dword [edx + 0x60], ebx
mov dword [edx + 0x64], esi
mov word [edx + 0x50], ax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x68]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x42f653
xor esi, esi
mov ebx, 0x4017cc
mov dword [edx + 0x68], ebx
mov ebx, dword [ebp - 0x10]
mov dword [edx + 0x6c], esi
mov eax, dword [ebx + 4]
mov eax, dword [eax]
test byte [eax + 0x94], 4
jne 0x491eeb
mov eax, dword [edi + 0x6c]
mov dword [edx + 0x44], eax
movzx eax, word [edi + 0x70]
mov dword [edx + 0x40], eax
mov eax, dword [edi + 0x74]
mov dword [edx + 0x4c], eax
movzx eax, word [edi + 0x78]
mov dword [edx + 0x48], eax
mov ecx, dword [ebx + 4]
lea eax, [edx + 0x58]
push 0
push dword [edx + 0x70]
push eax
push dword [edx + 0x18]
push dword [ebp + 8]
call fcn.0042dec0
mov esi, eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x14], eax
mov byte [esi], 1
mov ecx, dword [edi + 0x60]
test ecx, ecx
jne 0x42f694
mov esi, dword [ebp - 0x28]
inc dword [ebp - 0x24]
add esi, 4
mov dword [ebp - 0x28], esi
mov edi, dword [esi]
mov dword [ebp - 0x18], edi
test edi, edi
jne 0x42f452
mov edi, dword [ebp + 0x10]
push dword [edi + 8]
mov ecx, dword [ebp - 0x10]
push dword [edi + 0x74]
push dword [edi + 0x20]
push dword [ebp + 8]
call fcn.0042f8ab
push dword [edi + 0x64]
mov ecx, dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.0042fa44
cmp byte [edi + 0x70], 0
jne 0x42f71e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xor esi, esi
mov ebx, 0x4017cc
jmp 0x42f4ac
mov esi, eax
lea ebx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x42f658
sub esi, ebx
mov ebx, 0x4017cc
je 0x42f589
mov ecx, dword [ecx]
lea eax, [esi + 1]
push 0
push eax
call fcn.0042f790
push esi
push dword [ebp - 0x30]
mov ebx, eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov byte [esi + ebx], 0
jmp 0x42f589
mov ecx, dword [ecx]
mov ebx, dword [ecx]
mov edi, dword [ebx]
test edi, edi
je 0x42f716
mov edi, edi
mov ecx, dword [ebp - 0x10]
lea eax, [edi + 0x38]
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0
push eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
call fcn.0042e753
mov ecx, dword [ebp - 0x10]
push edi
call fcn.0042e141
mov ecx, dword [edi]
mov dword [ebp - 0x30], eax
test ecx, ecx
je 0x491efc
push 0
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x10]
push ecx
push 0x18
push esi
mov ecx, dword [eax + 4]
call fcn.0042d624
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0x10]
mov byte [eax], 1
push dword [edi + 0x34]
push eax
call fcn.0043012f
mov edi, dword [ebx + 4]
add ebx, 4
test edi, edi
jne 0x42f6a0
mov ebx, dword [ebp - 0x10]
jmp 0x42f5eb
mov eax, dword [ebp + 0xc]
or dword [eax + 0x1c], 0x800000
jmp 0x42f633
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
sub ecx, ebx
add dword [edi + 0x4c], ecx
mov ecx, dword [edi + 0x40]
push 0x403d3a
lea ebx, [ecx + 7]
add ebx, edx
xor edx, edx
mov eax, ebx
div ecx
sub ebx, edx
push ebx
call fcn.00482b29
add esp, 8
test eax, eax
je 0x491f17
add dword [edi + 0x48], ebx
lea ecx, [eax + ebx]
mov edx, dword [ebp - 0x30]
lea ebx, [eax + 4]
mov dword [edi + 0x38], ecx
mov ecx, dword [edi + 0x3c]
mov dword [eax], ecx
mov dword [edi + 0x3c], eax
lea eax, [edx + ebx]
mov dword [edi + 0x34], ebx
mov ecx, dword [edi + 0x38]
cmp eax, ecx
ja 0x42f736
mov cl, byte [ebp - 0x38]
jmp 0x42f532
xor esi, esi
mov edi, 0x4017cc
jmp 0x42f421
test eax, eax
je 0x491f0d
push eax
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
jne 0x491f06
mov cl, 1
mov byte [ebp - 0x38], cl
jmp 0x42f511
lea eax, [edi + 4]
push eax
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
jmp 0x42f54a
xor esi, esi
mov ebx, 0x4017cc
jmp 0x42f561
mov esi, dword [ebp - 0x20]
jmp 0x42f55e
xor eax, eax
lea edi, [edx + 0x40]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp - 0x18]
jmp 0x42f5be
mov ecx, 0x40ae94
jmp 0x42f6e2
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
mov ecx, 1
call fcn.004ed8b9
lea ecx, [ebp - 0x48]
call fcn.004ed700
push 0x533d18
lea eax, [ebp - 0x48]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3