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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1774
call fcn.00465dc0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov ecx, edi
mov dword [esp + 0x50], ebx
call fcn.004474f0
mov eax, dword [eax + 4]
mov esi, dword [ebx + 0x3e0]
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0x228]
test eax, eax
mov dword [esp + 0x5c], esi
jne 0x42f7a7
mov ecx, dword [edi + 0x78]
mov dword [esp + 0x30], ecx
jmp 0x42f7b1
mov edx, dword [edi + 0x1c0]
mov dword [esp + 0x30], edx
test eax, eax
jne 0x42f7ba
mov edx, dword [edi + 0x7c]
jmp 0x42f7c0
mov edx, dword [edi + 0x1bc]
mov eax, dword [ebp + 0xc]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42f7c6
sub eax, edi
mov dword [esp + 0x20], 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 + 0x1c], ecx
jge 0x42f84c
lea edi, [eax + ecx]
test edi, edi
jge 0x42f84c
mov dword [esp + 0x1c], 0
add ecx, eax
cmp edx, ecx
jae 0x42f864
sub edx, eax
test ecx, ecx
mov dword [esp + 0x1c], edx
jge 0x42f864
mov dword [esp + 0x1c], 0
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x34]
push eax
call fcn.00446b50
mov eax, dword [ebx + 0x550]
shl eax, 1
xor edi, edi
mov dword [esp + 0x28], eax
cmp dword [esp + 0x20], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], edi
jle 0x42f9ec
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0xc80]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x10]
movsx ecx, byte [eax]
push ecx
call fcn.00466312
add esp, 4
test eax, eax
je 0x42f8fa
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push 2
push edx
push eax
call fcn.00465720
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
add esp, 0xc
lea ecx, [esp + 0x54]
push ecx
push 2
push edx
push eax
call dword [0x489030]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
inc ecx
inc eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
jmp 0x42f925
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push 1
push ecx
push edx
call fcn.00465720
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x40]
add esp, 0xc
lea eax, [esp + 0x54]
push eax
push 1
push ecx
push edx
call dword [0x489030]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
shl eax, 1
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x24]
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 0x42f972
lea edx, [ecx + eax]
test edx, edx
mov dword [esp + edi*4 + 0x480], eax
jge 0x42f972
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 + 0x30]
cmp ecx, edx
jae 0x42f9a2
mov edx, dword [esp + 0x28]
sub edx, ecx
add edx, eax
cmp ecx, eax
mov dword [esp + edi*4 + 0x80], edx
jae 0x42f9a2
xor ecx, ecx
mov dword [esp + edi*4 + 0x480], ecx
mov dword [esp + edi*4 + 0x80], ecx
jmp 0x42f9a4
xor ecx, ecx
mov edx, dword [esp + 0x14]
mov dword [esp + edi*4 + 0xf80], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + edi*4 + 0x1380], ecx
add eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x20]
add edx, 3
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
inc edi
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
inc eax
inc edx
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
jl 0x42f8a7
mov dword [esp + 0x4c], edi
mov edx, dword [esp + 0x34]
mov ecx, dword [ebp + 8]
push edx
call fcn.00446b90
mov ecx, dword [ebp + 8]
call fcn.00446eb0
mov ecx, dword [ebx + 0x540]
mov edx, dword [ebx + 0x544]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x53c]
mov dword [esp + 0x3c], eax
mov eax, 1
mov dword [ebx + 0x53c], eax
mov dword [ebx + 0x540], eax
mov dword [ebx + 0x544], eax
mov eax, dword [ebx + 0x554]
mov dword [esp + 0x48], ecx
lea ecx, [eax + 8]
imul ecx, ecx, 0xf00
mov dword [esp + 0x38], edx
mov edx, dword [ebx + 0x550]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x60], eax
lea ecx, [eax + eax]
lea eax, [edx + edx]
test eax, eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x24], 0
jge 0x42fa6f
xor eax, eax
test ecx, ecx
jge 0x42fa75
xor ecx, ecx
mov dword [ebx + 0x550], eax
mov eax, dword [ebx + 0x3dc]
push 0x489bd5
mov dword [ebx + 0x554], ecx
push eax
mov ecx, ebx
call fcn.00428780
mov eax, dword [ebx + 0x54c]
imul eax, dword [esp + 0x30]
add eax, dword [ebx + 0x548]
test edi, edi
mov dword [esp + 0x70], eax
mov dword [esp + 0x10], 0
jle 0x42fdbe
lea ecx, [esp + 0xc80]
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x40]
xor edx, edx
test eax, eax
mov dword [esp + 0x20], edx
jle 0x42fb19
mov eax, dword [esp + 0x10]
mov eax, dword [esp + eax*4 + 0x880]
add eax, 8
lea ecx, [eax + eax*2]
shl ecx, 1
mov dword [esp + 0x2c], ecx
jmp 0x42faf0
mov ecx, dword [esp + 0x2c]
nop
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 + 0x20]
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x40]
add edx, 0x780
cmp edx, eax
mov dword [esp + 0x20], edx
jl 0x42faeb
mov edi, dword [esp + 0x28]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42fb22
sub eax, edx
cmp dword [ebx + 0x538], 0xa8c
mov edx, dword [ebx + 0x3dc]
mov ecx, 8
jne 0x42fb4b
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 + 0x70]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
add ecx, eax
mov eax, dword [esp + 0x10]
mov eax, dword [esp + eax*4 + 0x880]
neg eax
add edi, eax
lea edi, [edi + edi*2]
lea eax, [eax + eax*2 + 0x780]
shl eax, 1
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x74], 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 + 0x14], edx
lea ecx, [ecx + ecx*2]
mov dword [esp + 0x2c], edi
jge 0x42fd8d
mov edi, dword [esp + 0x10]
mov edi, dword [esp + edi*4 + 0x480]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x10]
mov edi, dword [esp + edi*4 + 0x80]
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x2c]
mov edi, dword [edi]
sub edi, eax
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x64]
jge 0x42fd6e
mov eax, dword [esp + 0x10]
mov eax, dword [esp + eax*4 + 0x80]
sub eax, dword [esp + 0x20]
mov dword [esp + 0x44], eax
jmp 0x42fc10
movzx ebx, byte [edx + esi + 0x783]
movzx eax, byte [edx + esi - 0x783]
movzx edi, byte [edx + esi - 0x780]
and eax, ebx
movzx ebx, byte [edx + esi + 0x780]
and ebx, edi
movzx edi, byte [edx + esi + 3]
or eax, ebx
mov ebx, edi
movzx edi, byte [edx + esi - 3]
and ebx, edi
movzx edi, byte [edx + esi + 0x77d]
or eax, ebx
mov ebx, edi
movzx edi, byte [edx + esi - 0x77d]
and ebx, edi
or eax, ebx
movzx ebx, byte [edx + esi]
and eax, ebx
add eax, ebx
movzx ebx, byte [edx + esi + 3]
add eax, ebx
movzx ebx, byte [edx + esi - 3]
add eax, ebx
movzx ebx, byte [edx + esi + 0x77d]
add eax, ebx
add eax, edi
movzx edi, byte [edx + esi + 0x780]
add eax, edi
movzx edi, byte [edx + esi - 0x780]
add eax, edi
je 0x42fd51
imul eax, eax, 0xff
sar eax, 3
mov esi, eax
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x6c]
add eax, edx
mov dword [esp + 0x68], eax
movzx eax, byte [eax]
mov edi, 0xff
sub edi, esi
imul edi, eax
mov eax, 0x80808081
imul edi
mov eax, dword [esp + 0x18]
movzx eax, byte [ecx + eax + 2]
add edx, edi
sar edx, 7
mov edi, edx
shr edi, 0x1f
add edi, edx
imul eax, edi
lea edx, [edi + esi]
mov dword [esp + 0x1c], edx
mov edx, esi
imul edx, dword [esp + 0x3c]
add eax, edx
xor edx, edx
div dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov byte [ecx + edx + 2], al
movzx eax, byte [ecx + edx + 1]
imul eax, edi
mov edx, esi
imul esi, dword [esp + 0x38]
imul edx, dword [esp + 0x48]
add eax, edx
xor edx, edx
div dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov byte [ecx + edx + 1], al
movzx eax, byte [ecx + edx]
imul eax, edi
xor edx, edx
add eax, esi
div dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x5c]
mov byte [ecx + edx], al
mov edx, dword [esp + 0x68]
mov al, byte [esp + 0x1c]
mov byte [edx], al
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x50]
add edx, 6
add ecx, 3
dec eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x44], eax
jne 0x42fc10
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x74]
add ecx, eax
mov eax, dword [esp + 0x2c]
add edx, edi
dec eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x2c], eax
jne 0x42fbe1
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + eax*4 + 0x880]
mov edx, dword [esp + 0x24]
add edx, ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x28]
inc eax
add edx, 3
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], edx
jl 0x42fac4
mov eax, dword [ebx + 0x42c]
test eax, eax
je 0x42fdf1
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 + 0x3c]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x53c], ecx
mov ecx, dword [esp + 0x7c]
mov dword [ebx + 0x540], edx
mov edx, dword [esp + 0x60]
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