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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48500d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
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 eax, dword [eax + 4]
push 1
push 0x80
mov ecx, dword [eax]
call fcn.0042f790
mov edi, eax
mov dword [ebp - 0x14], eax
test edi, edi
je 0x491d50
mov dword [edi], 0
xor eax, eax
mov dword [edi + 4], 0x4000000
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0x3000000
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x4000000
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov word [edi + 0x50], ax
mov dword [edi + 0x58], 0x41be44
mov dword [edi + 0x5c], eax
mov dword [edi + 0x60], 0x41be44
mov dword [edi + 0x64], eax
mov dword [edi + 0x68], 0x41be44
mov dword [edi + 0x6c], eax
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], eax
mov dword [edi + 0x78], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
lea esi, [ebx + 0x20]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x42f1de
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 4]
test eax, eax
je 0x42f1ef
mov esi, eax
lea edx, [esi + 1]
lea esp, [esp]
mov al, byte [esi]
inc esi
test al, al
jne 0x42ef70
mov ecx, dword [ecx]
sub esi, edx
mov dword [ebp - 0x24], ecx
mov eax, 0x4017cc
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x20], esi
je 0x42f1fb
lea eax, [ecx + 4]
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0
cmp byte [ecx], 0
jne 0x491d77
mov edx, dword [ecx + 0x34]
lea eax, [esi + 4]
mov edi, dword [ecx + 0x38]
and eax, 0xfffffffc
mov dword [ebp + 0xc], eax
add eax, edx
mov dword [ebp - 0x18], edi
cmp eax, edi
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
ja 0x42f2f0
mov eax, dword [ebp + 0xc]
add eax, edx
mov dword [ecx + 0x34], eax
mov eax, dword [ebp + 0xc]
add dword [ecx + 0x50], eax
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x2c], 0
jne 0x491dba
push esi
push dword [ebp - 0x28]
push edx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov byte [esi + eax], 0
mov dword [edi + 0x5c], esi
lea esi, [ebx + 0x20]
mov dword [edi + 0x58], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x1c], 1
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [edx + 0x8c]
add eax, dword [edx + 0x88]
mov ecx, dword [edx + 0x84]
dec eax
dec ecx
and ecx, eax
mov eax, dword [edx + 0x80]
mov eax, dword [eax + ecx*4]
mov ecx, 1
mov eax, dword [eax + 4]
cmp eax, ecx
jge 0x42f1cb
mov al, byte [ebx + 0x48]
test al, 2
jne 0x42f28d
test al, 4
jne 0x42f27c
test al, 8
jne 0x491e02
test al, 0x10
jne 0x491e13
mov al, byte [ebx + 0x49]
test al, 1
jne 0x42f2ac
test al, 2
jne 0x42f29b
test al, 4
jne 0x42f203
mov al, byte [ebx + 0x48]
test al, al
js 0x42f35f
test al, 0x20
jne 0x42f20e
test al, 0x40
jne 0x42f381
test byte [ebx + 0x49], 0x10
jne 0x42f21f
test byte [ebx + 0x4a], 1
jne 0x491e21
mov al, byte [ebx + 0x49]
test al, 0x40
jne 0x491e2f
test al, al
js 0x491e40
mov al, byte [ebx + 0x4a]
test al, 6
je 0x42f0ec
or ecx, 0x100
mov dword [edi + 0x1c], ecx
mov al, byte [ebx + 0x4a]
test al, 0x10
jne 0x42f370
test al, 0x20
jne 0x491e4e
test al, 8
jne 0x491e5f
test byte [ebx + 0x49], 8
jne 0x42f2bd
mov al, byte [ebx + 0x4a]
test al, 0x40
jne 0x42f2d9
test al, al
js 0x42f2cb
test byte [ebx + 0x4b], 1
jne 0x491e6d
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov eax, dword [eax]
test byte [eax + 0x94], 4
jne 0x491e7b
mov eax, dword [ebx + 0x34]
mov dword [edi + 0x24], eax
movzx eax, word [ebx + 0x38]
mov dword [edi + 0x20], eax
mov eax, dword [ebx + 0x3c]
mov dword [edi + 0x2c], eax
movzx eax, word [ebx + 0x40]
mov dword [edi + 0x28], eax
mov eax, dword [edx + 4]
mov eax, dword [eax]
test byte [eax + 0x94], 4
jne 0x491e8c
mov eax, dword [ebx + 8]
mov dword [edi + 0x34], eax
movzx eax, word [ebx + 0xc]
mov dword [edi + 0x30], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x3c], eax
movzx eax, word [ebx + 0x14]
mov dword [edi + 0x38], eax
mov eax, dword [ebx + 8]
cmp eax, dword [esi]
jne 0x42f22d
mov ax, word [ebx + 0xc]
cmp ax, word [esi + 4]
jne 0x42f22d
mov eax, dword [ebx + 0x10]
cmp eax, dword [esi + 8]
jne 0x42f22d
mov ax, word [ebx + 0x14]
cmp ax, word [esi + 0xc]
jne 0x42f22d
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
jne 0x42f247
mov dword [edi + 0x1c], 5
mov ecx, 5
jmp case.default.0x42f253
mov ecx, dword [ebp + 8]
cmp ecx, 0xa
je 0x42ef56
jmp 0x491d5a
xor esi, esi
mov eax, 0x4017cc
jmp 0x42f00c
mov esi, dword [ebp - 0x20]
jmp 0x42f00c
or ecx, 0x20
mov dword [edi + 0x1c], ecx
jmp 0x42f097
or ecx, 0x40000
mov dword [edi + 0x1c], ecx
mov al, byte [ebx + 0x48]
jmp 0x42f0aa
or ecx, 0x400000
mov dword [edi + 0x1c], ecx
jmp 0x42f0bc
mov ecx, dword [edx + 4]
call fcn.0042da75
mov ecx, dword [ebp - 0x10]
push esi
push eax
mov dword [edi + 0x70], eax
call fcn.0042e753
jmp 0x42f1b5
sub eax, 2
cmp eax, 5
ja case.default.0x42f253
jmp dword [eax*4 + 0x42f390]
mov dword [edi + 0x1c], 0x11
mov ecx, 0x11
jmp case.default.0x42f253
mov dword [edi + 0x1c], 9
mov ecx, 9
jmp case.default.0x42f253
or ecx, 0x200000
mov dword [edi + 0x1c], ecx
mov al, byte [ebx + 0x48]
jmp 0x42f06c
or ecx, 0x40
mov dword [edi + 0x1c], ecx
mov al, byte [ebx + 0x48]
jmp 0x42f064
or ecx, 0x200
mov dword [edi + 0x1c], ecx
mov al, byte [ebx + 0x49]
jmp 0x42f08f
or ecx, 0x1000000
mov dword [edi + 0x1c], ecx
mov al, byte [ebx + 0x49]
jmp 0x42f087
or ecx, 0x10000
mov dword [edi + 0x1c], ecx
jmp 0x42f10e
or ecx, 0x4000000
mov dword [edi + 0x1c], ecx
jmp 0x42f121
or ecx, 0x2000000
mov dword [edi + 0x1c], ecx
mov al, byte [ebx + 0x4a]
jmp 0x42f119
mov eax, dword [ebp - 0x18]
sub eax, edx
xor edx, edx
add dword [ecx + 0x4c], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x40]
add eax, 7
add eax, ecx
mov dword [ebp - 0x18], eax
div ecx
mov eax, dword [ebp - 0x18]
sub eax, edx
push 0x403d3a
push eax
mov dword [ebp - 0x18], eax
call fcn.00482b29
mov edx, eax
add esp, 8
test edx, edx
je 0x491da4
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
add dword [ecx + 0x48], eax
add eax, edx
mov dword [ecx + 0x38], eax
mov eax, dword [ecx + 0x3c]
mov dword [edx], eax
mov dword [ecx + 0x3c], edx
add edx, 4
mov dword [ecx + 0x34], edx
mov eax, dword [ecx + 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
add eax, edx
mov dword [ebp - 0x1c], edx
cmp eax, dword [ebp - 0x18]
jbe 0x42efd9
jmp 0x42f2f0
or ecx, 0x400000
mov dword [edi + 0x1c], ecx
mov al, byte [ebx + 0x48]
jmp 0x42f0a2
or ecx, 0x8000000
mov dword [edi + 0x1c], ecx
mov al, byte [ebx + 0x4a]
jmp 0x42f0f4
or ecx, 0x80000
mov dword [edi + 0x1c], ecx
jmp 0x42f0b2
xor edi, edi
mov dword [ebp - 0x14], edi
jmp 0x42ef43
push ecx
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x30]
push eax
call fcn.004f3829
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x58], ecx
mov dword [edi + 0x5c], eax
jmp 0x42f015
test eax, eax
jne 0x491d83
lea ecx, [eax + 1]
call fcn.004ed8b9
push eax
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x491d98
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 0x2c], 1
jmp 0x42efb4
lea ecx, [ebp - 0x3c]
call fcn.004ed700
push 0x533d18
lea eax, [ebp - 0x3c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
lea eax, [ecx + 4]
push eax
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov edx, dword [ebp - 0x1c]
add esp, 4
jmp 0x42eff8
mov dword [edi + 0x1c], 0xd
mov ecx, 0xd
jmp case.default.0x42f253
mov dword [edi + 0x1c], 0x15
mov ecx, 0x15
jmp case.default.0x42f253
mov dword [edi + 0x1c], 0x19
mov ecx, 0x19
jmp case.default.0x42f253
or ecx, 0x20000000
mov dword [edi + 0x1c], ecx
mov al, byte [ebx + 0x48]
jmp 0x42f074
or ecx, 0x2000000
mov dword [edi + 0x1c], ecx
jmp 0x42f07c
or ecx, 0x80
mov dword [edi + 0x1c], ecx
jmp 0x42f0c6
or ecx, 0x1000000
mov dword [edi + 0x1c], ecx
mov al, byte [ebx + 0x49]
jmp 0x42f0d1
or ecx, 0x800000
mov dword [edi + 0x1c], ecx
jmp 0x42f0d9
or ecx, 0x10000000
mov dword [edi + 0x1c], ecx
mov al, byte [ebx + 0x4a]
jmp 0x42f0fc
or ecx, 0x8000
mov dword [edi + 0x1c], ecx
jmp 0x42f104
or ecx, 0x20000
mov dword [edi + 0x1c], ecx
jmp 0x42f12b
lea edi, [edi + 0x20]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp - 0x14]
jmp 0x42f15a
lea edi, [edi + 0x30]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp - 0x14]
jmp 0x42f186