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

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
xor edx, edx
push edi
mov dword [esp + 0x18], edx
test dword [esi + 8], 0x80000
je 0x42b01d
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x40]
mov dword [esp + 0x10], 1
cmp eax, dword [esi + 0x24]
jbe 0x42b021
mov dword [esp + 0x10], edx
cmp dword [esi], edx
jne 0x42b040
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x8c]
mov eax, dword [eax]
sub eax, ecx
cmp eax, 0x14ccc
jb 0x42b040
mov eax, dword [esi + 0x74]
add eax, ecx
jmp 0x42b046
lea eax, [esi + 0x39272]
mov cl, byte [esi + 0x38]
lea ebx, [esi + 0x30]
mov dword [ebx], eax
lea ebp, [esi + 0x34]
mov dword [esp + 0x14], eax
mov edi, ebx
add eax, 0x14cbc
mov dword [esi + 0x58], edx
mov dword [ebp], eax
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x5c], edx
mov edx, ebp
shr byte [eax], cl
xor eax, eax
cmp dword [esi + 0x38], 8
sete al
sub dword [esi + 0x28], eax
test dword [esi + 8], 0x1000
je 0x42b0ef
cmp dword [esi + 0x64], 0
jne 0x42b0ef
mov ecx, dword [esi + 0x44]
push 0x78
pop edx
shl edx, cl
or edx, dword [esi + 0x48]
lea eax, [ecx + 8]
push 8
pop edi
jmp 0x42b0b4
mov ecx, dword [ebx]
cmp ecx, dword [ebp]
jae 0x42b0a8
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [ebx]
mov edx, dword [esi + 0x48]
mov eax, dword [esi + 0x44]
shr edx, 8
add eax, 0xfffffff8
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], edx
cmp eax, edi
jae 0x42b09a
bts edx, eax
add eax, 8
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], eax
cmp eax, edi
jb 0x42b0e9
mov ecx, dword [ebx]
cmp ecx, dword [ebp]
jae 0x42b0dc
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [ebx]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], edi
jae 0x42b0ce
lea edx, [esi + 0x34]
lea edi, [esi + 0x30]
mov ecx, dword [esi + 0x44]
xor ebx, ebx
cmp dword [esp + 0x24], 4
sete bl
shl ebx, cl
lea eax, [ecx + 1]
or ebx, dword [esi + 0x48]
mov dword [esi + 0x48], ebx
mov dword [esp + 0x20], eax
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x42b13e
mov ecx, dword [edi]
cmp ecx, dword [edx]
jae 0x42b120
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [edi]
mov eax, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
add eax, 0xfffffff8
shr ebx, 8
mov dword [esi + 0x48], ebx
mov dword [esp + 0x20], eax
mov dword [esi + 0x44], eax
cmp eax, 8
jae 0x42b113
lea edi, [esi + 0x30]
cmp dword [esp + 0x10], 0
mov ebp, dword [edi]
jne 0x42b191
test dword [esi + 8], 0x40000
lea eax, [esi + 0x3c]
jne 0x42b160
cmp dword [eax], 0x30
mov dword [esp + 0x10], eax
jb 0x42b160
xor eax, eax
jmp 0x42b167
mov dword [esp + 0x10], eax
xor eax, eax
inc eax
push eax
push esi
call fcn.0042a043
pop ecx
pop ecx
mov ecx, dword [esp + 0x10]
mov edx, eax
mov eax, dword [edi]
cmp dword [ecx], 0
je 0x42b2b9
sub eax, ebp
inc eax
cmp eax, dword [ecx]
jb 0x42b2b9
lea edi, [esi + 0x30]
jmp 0x42b195
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x40]
cmp eax, dword [esi + 0x24]
ja 0x42b2b9
mov eax, dword [esp + 0x20]
mov dword [edi], ebp
mov dword [esi + 0x48], ebx
lea ecx, [eax + 2]
mov dword [esi + 0x44], ecx
cmp ecx, 8
jb 0x42b1e6
mov edx, ebp
mov ebp, edx
cmp edx, dword [esi + 0x34]
jae 0x42b1ca
mov al, byte [esi + 0x48]
mov byte [edx], al
inc dword [edi]
mov ebp, dword [edi]
mov ecx, dword [esi + 0x44]
mov edx, ebp
mov ebx, dword [esi + 0x48]
add ecx, 0xfffffff8
shr ebx, 8
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x42b1ba
lea edi, [esi + 0x30]
test ecx, ecx
je 0x42b21d
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], 8
cmp ebp, dword [esi + 0x34]
jae 0x42b203
mov al, byte [esi + 0x48]
mov byte [ebp], al
inc dword [edi]
mov ebp, dword [edi]
mov ecx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
add ecx, 0xfffffff8
shr ebx, 8
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x42b1f4
lea edi, [esi + 0x30]
push 2
pop ebp
mov edx, ebp
movzx eax, word [esi + 0x3c]
shl eax, cl
or eax, ebx
add ecx, 0x10
mov dword [esi + 0x48], eax
mov ebx, eax
jmp 0x42b251
mov ecx, dword [edi]
cmp ecx, dword [esi + 0x34]
jae 0x42b242
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [edi]
mov ebx, dword [esi + 0x48]
mov ecx, dword [esi + 0x44]
shr ebx, 8
add ecx, 0xfffffff8
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x42b234
xor dword [esi + 0x3c], 0xffff
sub edx, 1
jne 0x42b222
cmp dword [esi + 0x3c], edx
jbe 0x42b2db
mov eax, dword [esi + 0x40]
add eax, edx
and eax, 0x7fff
movzx eax, byte [eax + esi + 0x90]
shl eax, cl
or eax, ebx
add ecx, 8
mov dword [esi + 0x48], eax
mov ebx, eax
jmp 0x42b2a9
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x42b29a
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
mov ebx, dword [esi + 0x48]
mov ecx, dword [esi + 0x44]
shr ebx, 8
add ecx, 0xfffffff8
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x42b28a
inc edx
cmp edx, dword [esi + 0x3c]
jb 0x42b26a
jmp 0x42b2db
test edx, edx
jne 0x42b2d8
mov eax, dword [esp + 0x20]
push esi
mov dword [esi + 0x30], ebp
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], eax
call fcn.0042c007
push esi
call fcn.0042a537
pop ecx
pop ecx
push 2
pop ebp
cmp dword [esp + 0x24], 0
je 0x42b420
mov ecx, dword [esi + 0x44]
push 4
pop edi
cmp dword [esp + 0x24], edi
jne 0x42b377
test ecx, ecx
je 0x42b329
mov eax, dword [esi + 0x48]
mov dword [esi + 0x48], eax
mov dword [esi + 0x44], 8
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x42b317
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
mov ecx, dword [esi + 0x44]
shr dword [esi + 0x48], 8
add ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x42b307
test dword [esi + 8], 0x1000
je 0x42b420
mov edx, dword [esi + 0x18]
mov eax, edx
shr eax, 0x18
shl eax, cl
or dword [esi + 0x48], eax
add ecx, 8
jmp 0x42b362
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x42b358
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
mov ecx, dword [esi + 0x44]
shr dword [esi + 0x48], 8
add ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x42b348
shl edx, 8
sub edi, 1
jne 0x42b339
jmp 0x42b420
mov edx, dword [esi + 0x48]
xor edi, edi
add ecx, 3
jmp 0x42b39d
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x42b391
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
mov edx, dword [esi + 0x48]
mov ecx, dword [esi + 0x44]
shr edx, 8
add ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
cmp ecx, 8
jae 0x42b381
test ecx, ecx
je 0x42b3dd
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], 8
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x42b3c6
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
add ecx, 0xfffffff8
shr edx, 8
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x42b3b6
movzx eax, di
shl eax, cl
or eax, edx
add ecx, 0x10
mov dword [esi + 0x48], eax
mov edx, eax
jmp 0x42b40d
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x42b3fe
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
mov edx, dword [esi + 0x48]
mov ecx, dword [esi + 0x44]
shr edx, 8
add ecx, 0xfffffff8
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x42b3ee
xor edi, 0xffff
sub ebp, 1
jne 0x42b3dd
push 0x240
xor ebp, ebp
lea eax, [esi + 0x8192]
push ebp
push eax
call sub.VCRUNTIME140.dll_memset
push 0x40
lea eax, [esi + 0x83d2]
push ebp
push eax
call sub.VCRUNTIME140.dll_memset
mov edi, dword [esi + 0x30]
lea eax, [esi + 0x9273]
mov dword [esi + 0x28], eax
add esp, 0x18
lea eax, [esi + 0x9272]
mov dword [esi + 0x38], 8
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x3c]
add dword [esi + 0x40], eax
inc dword [esi + 0x64]
mov eax, dword [esp + 0x14]
mov dword [esi + 0x3c], ebp
sub edi, eax
je 0x42b4e8
cmp dword [esi], ebp
je 0x42b4a4
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x84]
sub ecx, dword [esi + 0x70]
mov dword [eax], ecx
lea eax, [esi + 0x39272]
push dword [esi + 4]
push edi
push eax
call dword [esi]
add esp, 0xc
test eax, eax
jne 0x42b4e8
or eax, 0xffffffff
mov dword [esi + 0x6c], eax
jmp 0x42b4eb
lea edx, [esi + 0x39272]
cmp eax, edx
jne 0x42b4e2
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x8c]
mov ebx, dword [eax]
mov eax, dword [esi + 0x74]
sub ebx, ecx
cmp edi, ebx
cmovb ebx, edi
add eax, ecx
push ebx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
add dword [esi + 0x8c], ebx
add esp, 0xc
sub edi, ebx
je 0x42b4e8
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], edi
jmp 0x42b4e8
add dword [esi + 0x8c], edi
mov eax, dword [esi + 0x5c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret