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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1774
call fcn.00465dc0
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov ecx, dword [eax + 0x228]
test ecx, ecx
push esi
mov esi, dword [ebx + 0x3e0]
push edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x68], esi
jne 0x42bac5
mov edx, dword [eax + 0x78]
jmp 0x42bacb
mov edx, dword [eax + 0x1c0]
test ecx, ecx
mov dword [esp + 0x2c], edx
jne 0x42bad8
mov edx, dword [eax + 0x7c]
jmp 0x42bade
mov edx, dword [eax + 0x1bc]
mov eax, dword [ebp + 0xc]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42bae4
sub eax, edi
mov dword [esp + 0x14], eax
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x880]
rep stosd dword es:[edi], eax
mov ecx, 0xc0
lea edi, [esp + 0xc80]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x480]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x80]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0xf80]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x1380]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x54c]
test eax, eax
mov ecx, dword [ebx + 0x554]
mov dword [esp + 0x18], ecx
jge 0x42bb6a
lea edi, [eax + ecx]
test edi, edi
jge 0x42bb6a
mov dword [esp + 0x18], 0
add ecx, eax
cmp edx, ecx
jae 0x42bb82
sub edx, eax
test ecx, ecx
mov dword [esp + 0x18], edx
jge 0x42bb82
mov dword [esp + 0x18], 0
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x30]
push eax
call fcn.00446b50
mov eax, dword [ebx + 0x550]
shl eax, 1
xor edi, edi
mov dword [esp + 0x24], eax
cmp dword [esp + 0x14], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], edi
jle 0x42bd0a
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0xc80]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0xc]
movsx ecx, byte [eax]
push ecx
call fcn.00466312
add esp, 4
test eax, eax
je 0x42bc18
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push 2
push edx
push eax
call fcn.00465720
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
add esp, 0xc
lea ecx, [esp + 0x4c]
push ecx
push 2
push edx
push eax
call dword [0x489030]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
inc ecx
inc eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xc], eax
jmp 0x42bc43
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push 1
push ecx
push edx
call fcn.00465720
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
add esp, 0xc
lea eax, [esp + 0x4c]
push eax
push 1
push ecx
push edx
call dword [0x489030]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
shl eax, 1
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x28]
test eax, eax
mov dword [esp + edi*4 + 0x880], ecx
mov dword [esp + edi*4 + 0x480], 0
mov dword [esp + edi*4 + 0x80], ecx
jge 0x42bc90
lea edx, [ecx + eax]
test edx, edx
mov dword [esp + edi*4 + 0x480], eax
jge 0x42bc90
xor edx, edx
mov dword [esp + edi*4 + 0x480], edx
mov dword [esp + edi*4 + 0x80], edx
lea edx, [ecx + eax]
mov ecx, dword [esp + 0x2c]
cmp ecx, edx
jae 0x42bcc0
mov edx, dword [esp + 0x24]
sub edx, ecx
add edx, eax
cmp ecx, eax
mov dword [esp + edi*4 + 0x80], edx
jae 0x42bcc0
xor ecx, ecx
mov dword [esp + edi*4 + 0x480], ecx
mov dword [esp + edi*4 + 0x80], ecx
jmp 0x42bcc2
xor ecx, ecx
mov edx, dword [esp + 0x10]
mov dword [esp + edi*4 + 0xf80], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + edi*4 + 0x1380], ecx
add eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x14]
add edx, 3
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
inc edi
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xc]
inc eax
inc edx
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], edx
jl 0x42bbc5
mov dword [esp + 0x38], edi
mov edx, dword [esp + 0x30]
mov ecx, dword [ebp + 8]
push edx
call fcn.00446b90
mov ecx, dword [ebp + 8]
call fcn.00446eb0
mov edx, dword [ebx + 0x540]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x53c]
mov dword [esp + 0x74], eax
and eax, 0xfffffff8
shl eax, 8
mov dword [esp + 0x6c], eax
mov ecx, 1
mov dword [ebx + 0x53c], ecx
mov dword [ebx + 0x540], ecx
mov ecx, dword [ebx + 0x544]
mov eax, edx
and eax, 0xfffffffc
shl eax, 3
mov dword [esp + 0x7c], eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebx + 0x550]
mov eax, dword [esp + 0x3c]
sar eax, 3
mov dword [esp + 0x48], ecx
mov ecx, dword [ebx + 0x554]
mov dword [esp + 0x60], eax
lea eax, [ecx + 8]
imul eax, eax, 0xf00
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x5c], ecx
add ecx, ecx
add eax, eax
mov dword [esp + 0x58], edx
mov dword [ebx + 0x544], 1
mov dword [esp + 0x18], 0
jns 0x42bdb2
xor eax, eax
test ecx, ecx
jge 0x42bdb8
xor ecx, ecx
mov edx, dword [ebx + 0x3dc]
push 0x489bd5
mov dword [ebx + 0x554], ecx
push edx
mov ecx, ebx
mov dword [ebx + 0x550], eax
call fcn.00428780
mov eax, dword [ebx + 0x54c]
imul eax, dword [esp + 0x2c]
add eax, dword [ebx + 0x548]
test edi, edi
mov dword [esp + 0x54], eax
mov dword [esp + 0xc], 0
jle 0x42c0a8
lea eax, [esp + 0xc80]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
xor edx, edx
test eax, eax
mov dword [esp + 0x14], edx
jle 0x42be5b
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + ecx*4 + 0x880]
add eax, 8
lea ecx, [eax + eax*2]
shl ecx, 1
mov dword [esp + 0x20], ecx
jmp 0x42be32
mov ecx, dword [esp + 0x20]
lea edi, [edx + esi]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x14]
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x28]
add edx, 0x780
cmp edx, eax
mov dword [esp + 0x14], edx
jl 0x42be2e
mov edi, dword [esp + 0x10]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42be64
sub eax, edx
cmp dword [ebx + 0x538], 0xa8c
mov edx, dword [ebx + 0x3dc]
mov ecx, 8
jne 0x42be8d
mov ecx, dword [ebx + 0x554]
add ecx, 8
push eax
push edi
push 8
push ecx
push edx
call dword [0x48902c]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x2c]
add ecx, eax
mov eax, dword [esp + 0xc]
mov eax, dword [esp + eax*4 + 0x880]
neg eax
add edi, eax
lea eax, [eax + eax*2 + 0x780]
shl eax, 1
mov dword [esp + 0x70], edi
mov edi, dword [esp + 0xc]
mov dword [esp + 0x78], eax
mov eax, dword [esp + edi*4 + 0xf80]
cmp eax, dword [esp + edi*4 + 0x1380]
lea edi, [esp + edi*4 + 0x1380]
mov edx, 0x3c18
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edi
jge 0x42c077
mov edi, dword [esp + 0xc]
mov edi, dword [esp + edi*4 + 0x480]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0xc]
mov edi, dword [esp + edi*4 + 0x80]
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x20]
mov edi, dword [edi]
sub edi, eax
mov dword [esp + 0x20], edi
lea ecx, [ecx]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x64]
jge 0x42c058
mov eax, dword [esp + 0xc]
mov eax, dword [esp + eax*4 + 0x80]
sub eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
movzx eax, byte [edx + esi]
movzx ebx, byte [edx + esi + 0x780]
movzx edi, byte [edx + esi - 0x780]
and ebx, eax
and ebx, edi
mov edi, eax
movzx eax, byte [edx + esi + 3]
and edi, eax
movzx eax, byte [edx + esi - 3]
and edi, eax
movzx eax, byte [edx + esi]
add ebx, edi
movzx edi, byte [edx + esi - 0x783]
lea eax, [ebx + eax*2]
movzx ebx, byte [edx + esi + 0x783]
lea edi, [edi + eax*2]
movzx eax, byte [edx + esi - 0x77d]
add edi, eax
movzx eax, byte [edx + esi + 0x780]
add ebx, eax
movzx eax, byte [edx + esi + 0x77d]
add ebx, edi
movzx edi, byte [edx + esi + 3]
add eax, ebx
add eax, edi
movzx edi, byte [edx + esi - 0x780]
add eax, edi
movzx edi, byte [edx + esi - 3]
add eax, edi
mov edi, 0x10
sub edi, eax
test eax, eax
mov dword [esp + 0x24], edi
je 0x42c03d
mov esi, dword [esp + 0x34]
movzx ecx, word [esi + ecx*2]
mov esi, ecx
and esi, 0x7e0
imul esi, edi
mov edi, eax
imul edi, dword [esp + 0x7c]
add esi, edi
mov edi, ecx
and edi, 0x1f
imul edi, dword [esp + 0x24]
and ecx, 0xf800
imul ecx, dword [esp + 0x24]
mov ebx, eax
imul eax, dword [esp + 0x6c]
imul ebx, dword [esp + 0x60]
add edi, ebx
add ecx, eax
mov eax, dword [esp + 0x34]
shr esi, 4
shr edi, 4
and esi, 0x7e0
shr ecx, 4
and edi, 0x1f
or esi, edi
and ecx, 0xf800
or esi, ecx
mov ecx, dword [esp + 0x1c]
mov word [eax + ecx*2], si
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
inc ecx
add edx, 6
dec eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x40], eax
jne 0x42bf41
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x78]
add ecx, eax
mov eax, dword [esp + 0x20]
add edx, edi
dec eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
jne 0x42bf20
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + eax*4 + 0x880]
mov edx, dword [esp + 0x18]
add edx, ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x10]
inc eax
add edx, 3
cmp eax, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
jl 0x42be07
mov eax, dword [ebx + 0x42c]
test eax, eax
je 0x42c0db
mov edx, dword [ebx + 0x3dc]
push eax
push edx
call dword [0x48904c]
mov eax, dword [ebx + 0x428]
push eax
call dword [0x489054]
xor eax, eax
mov dword [ebx + 0x428], eax
mov dword [ebx + 0x42c], eax
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x53c], ecx
mov ecx, dword [esp + 0x48]
mov dword [ebx + 0x540], edx
mov edx, dword [esp + 0x5c]
mov dword [ebx + 0x550], ecx
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x544], eax
mov dword [ebx + 0x554], edx
call fcn.00446f20
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8