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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
push ebx
mov ebx, ecx
mov edx, dword [ebx + 0x30]
test edx, edx
push esi
push edi
je 0x42ea8e
mov ecx, dword [ebx + 0x38]
mov eax, dword [ecx + 0x74c]
test eax, eax
je 0x42ea86
cmp eax, edx
jne 0x42ea86
mov eax, dword [eax + 0x18]
cmp eax, dword [edx + 0x18]
jne 0x42ea86
mov eax, dword [ebx + 0x128]
test ah, 0x10
jne 0x42ea86
mov eax, dword [ecx + 0x76c]
test eax, eax
je 0x42ea86
mov edx, dword [ecx]
call dword [edx + 4]
test eax, eax
je 0x42ea86
mov eax, 1
jmp 0x42ea88
xor eax, eax
mov dword [ebx + 0x1f8], eax
mov eax, dword [ebp + 8]
lea edi, [ebx + 0x200]
push eax
mov ecx, edi
mov dword [esp + 0x28], edi
call fcn.00421d60
mov ecx, ebx
call fcn.0042e720
mov eax, dword [ebx + 0x2c]
test eax, eax
jne 0x42eab8
mov ecx, ebx
call fcn.00426170
mov dword [esp + 0x54], eax
mov al, byte [ebx + 0xec]
test al, al
je 0x42eace
mov esi, dword [ebx + 0xe8]
jmp 0x42ead0
xor esi, esi
test esi, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0xd0], 0
je 0x42eb1e
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x42eb1e
mov ecx, dword [eax + 0x50]
test ecx, ecx
jne 0x42eb1e
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x42eb04
mov dl, byte [eax]
xor cl, cl
cmp cl, dl
sbb eax, eax
neg eax
jmp 0x42eb06
xor eax, eax
mov ecx, dword [ebx + 0xe8]
lea edx, [esp + 0xd0]
push edx
push eax
push 0
push 1
call fcn.00472b20
test esi, esi
mov byte [esp + 0x1f], 0
mov dword [esp + 0xa0], 0
je 0x42eb6a
mov ecx, esi
call fcn.00473800
cmp eax, 1
jne 0x42eb6a
mov eax, dword [ebx + 0x310]
cmp eax, 3
je 0x42eb4e
cmp eax, 2
jne 0x42eb6a
mov ecx, esi
mov byte [esp + 0x1f], 1
call fcn.00473800
push 2
mov ecx, esi
mov dword [esp + 0xa4], eax
call fcn.004721f0
mov esi, dword [ebx + 0x30]
xor ecx, ecx
xor eax, eax
cmp esi, ecx
mov byte [esp + 0xe], 0
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x9c], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
je 0x42ebcf
cmp dword [ebx + 0x108], 1
jne 0x42ec07
fld dword [0x644b04]
fld dword [ebx + 0xf4]
fucompp
fnstsw ax
test ah, 0x44
jp 0x42ebca
fld dword [ebx + 0xf8]
fld qword [0x5f66c8]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x42ec17
mov byte [esp + 0xe], 0
mov eax, dword [ebx + 0x128]
shr eax, 8
test al, 1
jne 0x42ece7
lea ecx, [ebx + 0xf0]
push ecx
call fcn.0043f000
add esp, 4
test eax, eax
jne 0x42ecca
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebx + 0xf4], ecx
jne 0x42ebca
cmp dword [ebx + 0xf8], ecx
jne 0x42ebca
mov eax, dword [ebx + 0x128]
shr eax, 8
test al, 1
mov byte [esp + 0xe], 1
je 0x42ebcf
lea esp, [esp]
mov ecx, dword [ebx + 0x30]
call fcn.0048eae0
cmp esi, dword [eax + 0xe0]
je 0x42ebca
mov ecx, esi
call fcn.00449f50
test eax, eax
je 0x42ec5b
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x20]
mov al, byte [edx + 0x129]
test al, al
jne 0x42ec86
mov ecx, esi
call fcn.00449f50
test eax, eax
je 0x42ec7a
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x20]
mov edx, dword [ecx + 0x368]
shr edx, 3
test dl, 1
jne 0x42ec93
mov esi, dword [esi + 8]
test esi, esi
jne 0x42ec30
jmp 0x42ebca
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x20]
add eax, 0x134
jmp 0x42ec9e
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x20]
add eax, 0x1d4
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x90], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x94], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
jmp 0x42ebcf
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x42ece7
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 4]
push ecx
mov ecx, dword [eax + 8]
push edx
mov edx, dword [eax]
push ecx
push edx
mov ecx, edi
call fcn.004f8ee0
mov eax, dword [ebx + 0x128]
test eax, 0x200800
mov ecx, dword [ebp + 0x14]
je 0x42edae
lea edx, [ebx + 0x140]
mov esi, dword [edx]
mov dword [esp + 0x60], esi
mov esi, dword [edx + 4]
mov dword [esp + 0x64], esi
mov esi, dword [edx + 8]
mov edx, dword [edx + 0xc]
shr eax, 8
test al, 1
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], edx
jne 0x42ed5b
test ecx, ecx
je 0x42ed44
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
jmp 0x42ed5b
lea edx, [esp + 0x60]
push edx
mov eax, edx
push eax
lea ecx, [ebx + 0xf0]
push ecx
call fcn.0043e440
add esp, 0xc
mov eax, dword [ebx + 0x128]
mov ecx, dword [ebx + 0xdc]
mov edx, eax
and edx, 0x200000
sub edx, 0x200000
neg edx
sbb edx, edx
and eax, 0x800
sub eax, 0x800
inc edx
push edx
mov edx, dword [esp + 0x70]
neg eax
sbb eax, eax
inc eax
push eax
mov eax, dword [ebx + 0xe0]
push eax
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x74]
push eax
push ecx
push edx
mov ecx, edi
call fcn.00423930
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x42edf0
mov eax, dword [ebx + 0x128]
shr eax, 8
test al, 1
je 0x42edcd
mov ecx, ebx
call fcn.0042b100
test eax, eax
je 0x42edf0
mov ecx, dword [ebx + 0x13c]
mov edx, dword [ebx + 0x134]
mov eax, dword [ebx + 0x138]
push ecx
mov ecx, dword [ebx + 0x130]
push edx
push eax
push ecx
mov ecx, edi
call fcn.004f8ee0
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
or esi, 0xffffffff
cmp ecx, eax
mov dword [esp + 0x78], esi
mov dword [esp + 0x8c], esi
jne 0x42ee1d
lea edx, [esp + 0x8c]
push edx
lea ecx, [esp + 0x7c]
push ecx
push eax
mov ecx, ebx
call fcn.00424e40
mov eax, dword [ebx + 0x154]
test eax, eax
mov edx, dword [ebx + 0x138]
mov dword [esp + 0x18], edx
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], esi
mov dword [esp + 0x84], esi
je 0x42ee5c
mov ecx, ebx
call fcn.00428ab0
cmp dword [ebx + 0x154], eax
jle 0x42ee5c
mov dword [ebx + 0x154], eax
mov esi, dword [ebx + 0x154]
push 0
push esi
mov ecx, ebx
call fcn.00424ee0
mov ecx, dword [ebx + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 8]
cmp ecx, eax
mov dword [esp + 0x74], ecx
jl 0x42ee88
mov dword [esp + 0x74], eax
mov dword [esp + 0x50], ecx
jg 0x42ee8c
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x170]
mov edi, esi
cmp edi, eax
mov dword [esp + 0x28], edi
jge 0x42f90b
jmp 0x42eeb0
mov edi, dword [esp + 0x28]
jmp 0x42eeb0
mov eax, dword [ebx + 0x16c]
mov esi, dword [eax + edi*4]
lea ecx, [esp + 0xd4]
push ecx
push edi
mov ecx, ebx
mov dword [esp + 0x38], esi
call fcn.00427fb0
mov eax, dword [esi + 0x1c]
test eax, eax
mov dword [esp + 0x34], eax
je 0x42eef6
mov ecx, eax
mov eax, dword [esi + 4]
lea edx, [ecx + ecx*2]
mov ax, word [eax + edx*2 - 6]
cmp ax, 0xa
je 0x42eef1
cmp ax, 0xd
jne 0x42eef6
dec ecx
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xd8]
mov eax, dword [esp + 0x18]
add ecx, edx
lea esi, [ecx + eax]
cmp esi, dword [ebx + 0x13c]
mov dword [esp + 0xcc], esi
mov dword [esp + 0xb0], esi
jle 0x42ef2f
cmp edi, dword [ebx + 0x154]
jg 0x42f8b5
mov al, byte [esp + 0xe]
test al, al
mov byte [esp + 0xf], 0
je 0x42efa7
mov ecx, dword [ebx + 0x128]
shr ecx, 8
test cl, 1
je 0x42ef7c
lea edx, [esp + 0x58]
push edx
mov eax, edx
push eax
lea ecx, [ebx + 0xf0]
push ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], esi
call fcn.0043df30
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0x68]
add esp, 0xc
cmp eax, edx
jmp 0x42efa0
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x42efa7
mov ecx, dword [ebx + 0x30]
call fcn.0048eae0
mov ecx, dword [eax + 0x104]
test ecx, ecx
jne 0x42efa7
mov ecx, dword [ebx + 0x30]
call fcn.0048eaf0
cmp esi, dword [eax + 0x68]
jge 0x42efa7
mov byte [esp + 0xf], 1
mov ecx, dword [esp + 0x34]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x14], eax
jle 0x42f718
jmp 0x42efd5
mov eax, dword [esp + 0x14]
mov cl, byte [ebx + 0x161]
xor edx, edx
test cl, cl
mov dword [esp + 0x70], eax
mov dword [esp + 0x4c], edx
je 0x42f015
mov ecx, dword [ebx + 0x1f8]
test ecx, ecx
je 0x42f015
mov ecx, dword [esp + 0x78]
cmp ecx, dword [esp + 0x28]
jne 0x42f015
mov esi, dword [esp + 0x8c]
mov ecx, dword [esp + 0x3c]
add ecx, esi
lea esi, [ecx - 1]
mov dword [esp + 0x74], esi
mov dword [esp + 0x50], ecx
cmp eax, dword [esp + 0x34]
mov dword [esp + 0x88], 0xffffffff
jge 0x42f718
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx + 4]
lea edi, [eax + esi]
lea esi, [eax + eax*2]
shl esi, 1
mov dword [esp + 0x20], esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], edi
lea esi, [esi + ecx - 6]
jmp 0x42f053
mov edx, dword [esp + 0x4c]
cmp word [esi + 6], 9
jne 0x42f076
test byte [ebx + 0x128], 0x10
jne 0x42f076
cmp edx, 2
je 0x42f12a
mov dword [esp + 0x4c], 1
jmp 0x42f087
cmp edx, 1
je 0x42f12a
mov dword [esp + 0x4c], 2
movzx edx, word [esi + 8]
cmp edx, dword [esp + 0x44]
jne 0x42f0fd
mov ecx, dword [ebx + 4]
cmp ecx, dword [ebx + 8]
jne 0x42f0a3
mov cl, byte [ebx + 0x161]
test cl, cl
je 0x42f0c5
mov ecx, dword [esp + 0xa8]
test ecx, ecx
jne 0x42f0b4
cmp edi, dword [esp + 0x74]
je 0x42f112
mov ecx, dword [esp + 0xa4]
test ecx, ecx
jne 0x42f0c5
cmp edi, dword [esp + 0x50]
je 0x42f11f
mov ecx, dword [esp + 0x54]
inc eax
inc edi
add esi, 6
cmp ecx, 8
jl 0x42f0f1
mov edx, dword [esp + 0x40]
movzx ecx, word [edx + 4]
mov edx, dword [ebx + 0x1d4]
imul ecx, ecx, 0x3c
cmp dword [ecx + edx + 8], 3
jne 0x42f0f1
cmp word [esi], 0x20
je 0x42f12a
cmp eax, dword [esp + 0x34]
jl 0x42f04f
jmp 0x42f12a
mov edx, dword [esp + 0x40]
lea ecx, [eax + eax*2]
movzx ecx, word [edx + ecx*2 + 2]
mov dword [esp + 0x88], ecx
jmp 0x42f12a
mov dword [esp + 0xa8], 1
jmp 0x42f12a
mov dword [esp + 0xa4], 1
cmp dword [esp + 0x70], eax
mov dword [esp + 0x14], eax
je 0x42f6fa
mov ecx, dword [esp + 0x74]
fld qword [0x5f71d0]
mov edx, dword [esp + 0x48]
fstp qword [esp + 0x60]
cmp edx, ecx
mov dword [esp + 0x10], 0
jl 0x42f16e
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x14]
add esi, eax
cmp esi, dword [esp + 0x50]
jg 0x42f16e
mov dword [esp + 0x10], 1
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x70]
mov edi, dword [ebx + 4]
sub esi, eax
cmp edi, dword [ebx + 8]
mov dword [esp + 0x48], esi
je 0x42f1be
cmp edx, ecx
jne 0x42f1be
mov ecx, dword [esp + 0x28]
push 0
push 0
push 0
push eax
push ecx
mov ecx, ebx
mov dword [esp + 0x94], 1
call fcn.0042a210
fst qword [esp + 0x60]
call fcn.004fb6b0
mov edx, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], edx
test byte [ebx + 0x128], 0x10
je 0x42f21d
lea esi, [esi + esi*2]
shl esi, 1
push esi
call fcn.005ddbe0
add esp, 4
test eax, eax
mov dword [esp + 0x38], eax
je 0x42f6fa
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov ecx, esi
mov esi, dword [eax + 4]
mov eax, ecx
add esi, edx
mov edx, dword [esp + 0x38]
shr ecx, 2
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x48]
test ecx, ecx
jle 0x42f22e
mov eax, edx
mov edi, edi
mov word [eax], 0x2a
add eax, 6
dec ecx
jne 0x42f210
jmp 0x42f22e
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 4]
add eax, dword [esp + 0x20]
mov dword [esp + 0x38], eax
mov edx, eax
test edx, edx
je 0x42f6fa
fld qword [0x5f71d0]
fld qword [esp + 0x60]
fucompp
fnstsw ax
test ah, 0x44
jp 0x42f264
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x28]
push 0
push 0
push 0
push edx
push eax
mov ecx, ebx
call fcn.0042a210
fstp qword [esp + 0x60]
mov eax, dword [esp + 0x44]
mov esi, dword [ebx + 0x1d0]
imul eax, eax, 0x74
mov ecx, dword [esp + 0x10]
add esi, eax
mov dword [esp + 0x40], eax
xor eax, eax
cmp ecx, eax
mov dword [esp + 0xac], eax
mov dword [esp + 0x20], eax
jne 0x42f292
test byte [esi + 0x54], 8
je 0x42f2b8
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0xac]
push ecx
push 0
push 0
push edx
push eax
mov ecx, ebx
call fcn.0042a210
call fcn.004fb6b0
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x28]
push esi
call fcn.004fa440
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42f45c
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x18]
add edx, eax
cmp edx, dword [esp + 0x50]
jge 0x42f2f7
mov ecx, dword [esp + 0xe4]
add ecx, edi
mov dword [esp + 0xb0], ecx
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x42f311
mov edx, dword [eax + 0x74c]
cmp edx, dword [ebx + 0x30]
mov dword [esp + 0x10], 0xff000000
je 0x42f319
mov dword [esp + 0x10], 0xff555555
fld qword [esp + 0x60]
mov esi, dword [ebx + 0x158]
call fcn.004fb6b0
mov ecx, dword [esp + 0xac]
sub eax, esi
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x20]
sub eax, esi
add eax, ecx
mov ecx, dword [esp + 0xb0]
lea edx, [esp + 0xbc]
mov dword [esp + 0xc0], eax
push edx
mov eax, edx
mov dword [esp + 0xcc], ecx
push eax
lea ecx, [ebx + 0x130]
push ecx
mov dword [esp + 0xd0], edi
call fcn.0043d9f0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0xcc]
add esp, 0xc
push edx
mov edx, dword [esp + 0xc8]
push eax
mov eax, dword [esp + 0xc4]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
call fcn.00423880
cmp dword [esp + 0x4c], 2
mov esi, dword [esp + 0x2c]
jne 0x42f522
mov al, byte [esp + 0xf]
test al, al
jne 0x42f522
test esi, esi
mov dword [esp + 0x10], 2
je 0x42f402
mov ecx, esi
call fcn.00473800
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 4]
mov ecx, dword [ebx + 0x1d4]
mov dword [esp + 0x10], eax
movzx eax, word [edx + 4]
imul eax, eax, 0x3c
mov edx, dword [eax + ecx + 8]
test edx, edx
je 0x42f402
cmp dword [esp + 0x10], 1
jne 0x42f402
push 2
mov ecx, esi
call fcn.004721f0
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x42f40e
mov eax, dword [eax + 0x50]
jmp 0x42f410
xor eax, eax
mov edx, dword [esp + 0x48]
fild dword [ebx + 0x158]
mov ecx, dword [esp + 0xd8]
push eax
fsubr qword [esp + 0x64]
push esi
or eax, 0xffffffff
push eax
mov eax, dword [esp + 0x44]
push edx
push eax
add ecx, edi
push ecx
mov ecx, dword [esp + 0x3c]
sub esp, 8
fstp qword [esp]
call fcn.00422fd0
test esi, esi
je 0x42f522
mov edx, dword [esp + 0x10]
push edx
mov ecx, esi
call fcn.004721f0
jmp 0x42f522
mov eax, dword [esp + 0x4c]
mov edi, 2
cmp eax, edi
jne 0x42f51a
mov al, byte [esp + 0xf]
test al, al
jne 0x42f51a
mov esi, dword [esp + 0x2c]
test esi, esi
mov dword [esp + 0x10], edi
je 0x42f4b8
mov ecx, esi
call fcn.00473800
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 4]
movzx ecx, word [edx + 4]
mov edx, dword [ebx + 0x1d4]
imul ecx, ecx, 0x3c
cmp dword [ecx + edx + 8], 0
mov dword [esp + 0x10], eax
je 0x42f4b8
cmp eax, 1
jne 0x42f4b8
push edi
mov ecx, esi
call fcn.004721f0
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x42f4c4
mov ecx, dword [eax + 0x50]
jmp 0x42f4c6
xor ecx, ecx
mov eax, dword [ebx + 0x1d0]
fild dword [ebx + 0x158]
mov edx, dword [esp + 0x40]
mov eax, dword [eax + edx + 0x58]
mov edi, dword [esp + 0x18]
fsubr qword [esp + 0x60]
mov edx, dword [esp + 0xd8]
push ecx
mov ecx, dword [esp + 0x3c]
push esi
push eax
mov eax, dword [esp + 0x54]
push eax
push ecx
mov ecx, dword [esp + 0x38]
add edx, edi
push edx
sub esp, 8
fstp qword [esp]
call fcn.00422fd0
test esi, esi
je 0x42f522
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.004721f0
jmp 0x42f522
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x2c]
test byte [ebx + 0x128], 0x10
je 0x42f538
mov ecx, dword [esp + 0x38]
push ecx
call fcn.005ddc00
add esp, 4
mov eax, dword [esp + 0x40]
mov edx, dword [ebx + 0x1d0]
lea ecx, [edx + eax]
test byte [ecx + 0x54], 8
je 0x42f5a8
mov eax, dword [esp + 0xdc]
mov esi, dword [ebx + 0x158]
cdq
sub eax, edx
mov edx, dword [esp + 0xd8]
sar eax, 1
add eax, edx
mov edx, dword [ebx + 0x134]
add eax, edi
mov edi, dword [ecx + 0x58]
mov ecx, dword [esp + 0x20]
sub ecx, esi
cmp edx, ecx
jge 0x42f57d
mov ecx, edx
mov edx, dword [esp + 0x24]
fld qword [esp + 0x60]
mov edx, dword [edx]
push 0
push edi
push eax
push ecx
push eax
mov dword [esp + 0x34], edx
call fcn.004fb6b0
mov ecx, dword [esp + 0x38]
sub eax, esi
push eax
mov eax, dword [esp + 0x38]
call dword [eax + 4]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x42f6fa
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
movzx edx, word [ecx + 4]
mov eax, dword [ebx + 0x1d4]
imul edx, edx, 0x3c
mov ecx, dword [edx + eax + 0x2c]
test ecx, ecx
je 0x42f6fa
mov eax, dword [esp + 0x28]
test eax, eax
je 0x42f608
mov ecx, dword [ebx + 0x16c]
mov ecx, dword [ecx + eax*4 - 4]
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x42f608
lea edx, [eax + eax*2]
mov eax, dword [ecx + 4]
mov ax, word [eax + edx*2 - 6]
cmp ax, 0xa
je 0x42f608
cmp ax, 0xd
jne 0x42f6fa
push 0
push 0x168
mov ecx, ebx
call fcn.00427e00
fld qword [esp + 0x60]
mov edi, eax
call fcn.004fb6b0
mov edx, dword [ebx + 0x158]
mov ecx, dword [esp + 0x30]
sub eax, edx
sub eax, edi
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 4]
mov edx, dword [eax]
xor ecx, ecx
mov dword [esp + 0xb4], edx
mov edx, dword [esp + 0x54]
mov ax, word [eax + 4]
cmp edx, 6
setl cl
mov word [esp + 0xb8], ax
mov eax, dword [ebx + 0x2c]
dec ecx
and ecx, 0x1f8d
add ecx, 0x95
test eax, eax
mov word [esp + 0xb4], cx
jne 0x42f67a
mov ecx, ebx
call fcn.00426170
cmp eax, 8
jl 0x42f6b9
mov eax, dword [esp + 0x88]
cmp eax, 0xffffffff
jne 0x42f6aa
cmp dword [esp + 0x44], 0xffffffff
jne 0x42f69a
mov eax, dword [ebx + 0xc0]
jmp 0x42f6be
mov edx, dword [ebx + 0x1d0]
mov eax, dword [esp + 0x40]
mov eax, dword [edx + eax + 0x58]
jmp 0x42f6be
mov ecx, dword [ebx + 0x1d0]
imul eax, eax, 0x74
mov eax, dword [eax + ecx + 0x58]
jmp 0x42f6be
mov eax, 0xff000000
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x42f6ca
mov ecx, dword [ecx + 0x50]
jmp 0x42f6cc
xor ecx, ecx
fild dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
push esi
push eax
mov eax, dword [esp + 0xe4]
push 1
lea edx, [esp + 0xc4]
push edx
add eax, ecx
mov ecx, dword [esp + 0x38]
push eax
sub esp, 8
fstp qword [esp]
call fcn.00422fd0
mov eax, dword [esp + 0x88]
cmp eax, 0xffffffff
je 0x42f70a
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x34]
cmp dword [esp + 0x14], edx
jl 0x42efd1
mov eax, dword [ebx + 0x128]
test al, 8
jne 0x42f7ff
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
jne 0x42f7ff
test eax, 0x10000
jne 0x42f7ff
mov al, byte [ebx + 0x161]
test al, al
jne 0x42f7ff
mov eax, dword [ebx + 0x1f8]
test eax, eax
je 0x42f7ff
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x78], eax
jne 0x42f7ff
mov ecx, dword [esp + 0x8c]
mov edi, dword [ebx + 0x134]
mov esi, dword [ebx + 0x130]
push 0
push 0
push 0
push ecx
mov edx, eax
push edx
mov ecx, ebx
call fcn.0042a210
call fcn.004fb6b0
sub eax, dword [ebx + 0x158]
cmp esi, eax
jg 0x42f79b
mov esi, eax
cmp esi, edi
jl 0x42f7a1
mov esi, edi
cmp dword [esp + 0x54], 9
jl 0x42f7b0
mov eax, dword [ebx + 0xc0]
jmp 0x42f7ce
mov eax, dword [esp + 0x44]
cmp eax, 0xffffffff
jne 0x42f7c1
mov eax, dword [ebx + 0xc0]
jmp 0x42f7ce
mov ecx, dword [ebx + 0x1d0]
imul eax, eax, 0x74
mov eax, dword [eax + ecx + 0x58]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
push 1
push eax
mov eax, dword [esp + 0xd4]
push eax
push esi
push edi
push esi
call dword [edx + 4]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], 1
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0xe4]
mov ecx, dword [ebx + 0x13c]
add eax, edx
cmp eax, ecx
mov dword [esp + 0x18], eax
jg 0x42f8b5
mov al, byte [esp + 0xe]
test al, al
je 0x42f88d
mov ecx, dword [ebx + 0x128]
shr ecx, 8
test cl, 1
je 0x42f86a
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x58]
push eax
mov ecx, eax
mov dword [esp + 0x60], edx
push ecx
lea edx, [ebx + 0xf0]
push edx
mov dword [esp + 0x64], 0
call fcn.0043df30
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x68]
add esp, 0xc
cmp ecx, eax
jmp 0x42f88b
mov ecx, dword [ebx + 0x30]
call fcn.0048eae0
mov ecx, dword [eax + 0x104]
test ecx, ecx
jne 0x42f88d
mov ecx, dword [ebx + 0x30]
call fcn.0048eaf0
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x6c]
jg 0x42f8b5
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x1c]
mov esi, dword [esp + 0x3c]
mov ecx, dword [ebx + 0x170]
add esi, eax
mov eax, dword [esp + 0x28]
inc eax
cmp eax, ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x28], eax
jl 0x42eea2
mov eax, dword [esp + 0x80]
test eax, eax
je 0x42f90b
mov ecx, dword [ebx + 0x30]
test ecx, ecx
mov byte [ebx + 0x160], 1
mov eax, 4
je 0x42f8da
call fcn.0048eaf0
mov eax, dword [eax]
mov edx, dword [esp + 0x24]
lea ecx, [ebx + 0x68]
push ecx
mov ecx, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0x84]
push eax
lea eax, [ebx + 0xf0]
push eax
push ecx
push edx
push ebx
call fcn.004f9be0
add esp, 0x1c
mov byte [ebx + 0x160], 0
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov al, byte [esp + 0x1f]
test al, al
je 0x42f92d
mov ecx, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.004721f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10