Function at 0x42e900
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 0x42e95e
mov ecx, dword [ebx + 0x38]
mov eax, dword [ecx + 0x74c]
test eax, eax
je 0x42e956
cmp eax, edx
jne 0x42e956
mov eax, dword [eax + 0x18]
cmp eax, dword [edx + 0x18]
jne 0x42e956
mov eax, dword [ebx + 0x128]
test ah, 0x10
jne 0x42e956
mov eax, dword [ecx + 0x76c]
test eax, eax
je 0x42e956
mov edx, dword [ecx]
call dword [edx + 4]
test eax, eax
je 0x42e956
mov eax, 1
jmp 0x42e958
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.0042e5f0
mov eax, dword [ebx + 0x2c]
test eax, eax
jne 0x42e988
mov ecx, ebx
call fcn.00426120
mov dword [esp + 0x54], eax
mov al, byte [ebx + 0xec]
test al, al
je 0x42e99e
mov esi, dword [ebx + 0xe8]
jmp 0x42e9a0
xor esi, esi
test esi, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0xd0], 0
je 0x42e9ee
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x42e9ee
mov ecx, dword [eax + 0x50]
test ecx, ecx
jne 0x42e9ee
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x42e9d4
mov dl, byte [eax]
xor cl, cl
cmp cl, dl
sbb eax, eax
neg eax
jmp 0x42e9d6
xor eax, eax
mov ecx, dword [ebx + 0xe8]
lea edx, [esp + 0xd0]
push edx
push eax
push 0
push 1
call fcn.00472940
test esi, esi
mov byte [esp + 0x1f], 0
mov dword [esp + 0xa0], 0
je 0x42ea3a
mov ecx, esi
call fcn.00473620
cmp eax, 1
jne 0x42ea3a
mov eax, dword [ebx + 0x310]
cmp eax, 3
je 0x42ea1e
cmp eax, 2
jne 0x42ea3a
mov ecx, esi
mov byte [esp + 0x1f], 1
call fcn.00473620
push 2
mov ecx, esi
mov dword [esp + 0xa4], eax
call fcn.00472030
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 0x42ea9f
cmp dword [ebx + 0x108], 1
jne 0x42ead7
fld dword [0x6442b4]
fld dword [ebx + 0xf4]
fucompp
fnstsw ax
test ah, 0x44
jp 0x42ea9a
fld dword [ebx + 0xf8]
fld qword [0x5f66c8]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x42eae7
mov byte [esp + 0xe], 0
mov eax, dword [ebx + 0x128]
shr eax, 8
test al, 1
jne 0x42ebb7
lea ecx, [ebx + 0xf0]
push ecx
call fcn.0043ee90
add esp, 4
test eax, eax
jne 0x42eb9a
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 0x42ea9a
cmp dword [ebx + 0xf8], ecx
jne 0x42ea9a
mov eax, dword [ebx + 0x128]
shr eax, 8
test al, 1
mov byte [esp + 0xe], 1
je 0x42ea9f
lea esp, [esp]
mov ecx, dword [ebx + 0x30]
call fcn.0048e800
cmp esi, dword [eax + 0xe0]
je 0x42ea9a
mov ecx, esi
call fcn.00449e00
test eax, eax
je 0x42eb2b
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x20]
mov al, byte [edx + 0x129]
test al, al
jne 0x42eb56
mov ecx, esi
call fcn.00449e00
test eax, eax
je 0x42eb4a
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x20]
mov edx, dword [ecx + 0x368]
shr edx, 3
test dl, 1
jne 0x42eb63
mov esi, dword [esi + 8]
test esi, esi
jne 0x42eb00
jmp 0x42ea9a
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x20]
add eax, 0x134
jmp 0x42eb6e
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 0x42ea9f
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x42ebb7
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.004f86b0
mov eax, dword [ebx + 0x128]
test eax, 0x200800
mov ecx, dword [ebp + 0x14]
je 0x42ec7e
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 0x42ec2b
test ecx, ecx
je 0x42ec14
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 0x42ec2b
lea edx, [esp + 0x60]
push edx
mov eax, edx
push eax
lea ecx, [ebx + 0xf0]
push ecx
call fcn.0043e2d0
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 0x42ecc0
mov eax, dword [ebx + 0x128]
shr eax, 8
test al, 1
je 0x42ec9d
mov ecx, ebx
call fcn.0042b010
test eax, eax
je 0x42ecc0
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.004f86b0
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 0x42eced
lea edx, [esp + 0x8c]
push edx
lea ecx, [esp + 0x7c]
push ecx
push eax
mov ecx, ebx
call fcn.00424df0
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 0x42ed2c
mov ecx, ebx
call fcn.00428a80
cmp dword [ebx + 0x154], eax
jle 0x42ed2c
mov dword [ebx + 0x154], eax
mov esi, dword [ebx + 0x154]
push 0
push esi
mov ecx, ebx
call fcn.00424e90
mov ecx, dword [ebx + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 8]
cmp ecx, eax
mov dword [esp + 0x74], ecx
jl 0x42ed58
mov dword [esp + 0x74], eax
mov dword [esp + 0x50], ecx
jg 0x42ed5c
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x170]
mov edi, esi
cmp edi, eax
mov dword [esp + 0x28], edi
jge 0x42f7db
jmp 0x42ed80
mov edi, dword [esp + 0x28]
jmp 0x42ed80
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.00427f80
mov eax, dword [esi + 0x1c]
test eax, eax
mov dword [esp + 0x34], eax
je 0x42edc6
mov ecx, eax
mov eax, dword [esi + 4]
lea edx, [ecx + ecx*2]
mov ax, word [eax + edx*2 - 6]
cmp ax, 0xa
je 0x42edc1
cmp ax, 0xd
jne 0x42edc6
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 0x42edff
cmp edi, dword [ebx + 0x154]
jg 0x42f785
mov al, byte [esp + 0xe]
test al, al
mov byte [esp + 0xf], 0
je 0x42ee77
mov ecx, dword [ebx + 0x128]
shr ecx, 8
test cl, 1
je 0x42ee4c
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.0043ddc0
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0x68]
add esp, 0xc
cmp eax, edx
jmp 0x42ee70
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x42ee77
mov ecx, dword [ebx + 0x30]
call fcn.0048e800
mov ecx, dword [eax + 0x104]
test ecx, ecx
jne 0x42ee77
mov ecx, dword [ebx + 0x30]
call fcn.0048e810
cmp esi, dword [eax + 0x68]
jge 0x42ee77
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 0x42f5e8
jmp 0x42eea5
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 0x42eee5
mov ecx, dword [ebx + 0x1f8]
test ecx, ecx
je 0x42eee5
mov ecx, dword [esp + 0x78]
cmp ecx, dword [esp + 0x28]
jne 0x42eee5
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 0x42f5e8
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 0x42ef23
mov edx, dword [esp + 0x4c]
cmp word [esi + 6], 9
jne 0x42ef46
test byte [ebx + 0x128], 0x10
jne 0x42ef46
cmp edx, 2
je 0x42effa
mov dword [esp + 0x4c], 1
jmp 0x42ef57
cmp edx, 1
je 0x42effa
mov dword [esp + 0x4c], 2
movzx edx, word [esi + 8]
cmp edx, dword [esp + 0x44]
jne 0x42efcd
mov ecx, dword [ebx + 4]
cmp ecx, dword [ebx + 8]
jne 0x42ef73
mov cl, byte [ebx + 0x161]
test cl, cl
je 0x42ef95
mov ecx, dword [esp + 0xa8]
test ecx, ecx
jne 0x42ef84
cmp edi, dword [esp + 0x74]
je 0x42efe2
mov ecx, dword [esp + 0xa4]
test ecx, ecx
jne 0x42ef95
cmp edi, dword [esp + 0x50]
je 0x42efef
mov ecx, dword [esp + 0x54]
inc eax
inc edi
add esi, 6
cmp ecx, 8
jl 0x42efc1
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 0x42efc1
cmp word [esi], 0x20
je 0x42effa
cmp eax, dword [esp + 0x34]
jl 0x42ef1f
jmp 0x42effa
mov edx, dword [esp + 0x40]
lea ecx, [eax + eax*2]
movzx ecx, word [edx + ecx*2 + 2]
mov dword [esp + 0x88], ecx
jmp 0x42effa
mov dword [esp + 0xa8], 1
jmp 0x42effa
mov dword [esp + 0xa4], 1
cmp dword [esp + 0x70], eax
mov dword [esp + 0x14], eax
je 0x42f5ca
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 0x42f03e
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x14]
add esi, eax
cmp esi, dword [esp + 0x50]
jg 0x42f03e
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 0x42f08e
cmp edx, ecx
jne 0x42f08e
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.0042a1b0
fst qword [esp + 0x60]
call fcn.004fae80
mov edx, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], edx
test byte [ebx + 0x128], 0x10
je 0x42f0ed
lea esi, [esi + esi*2]
shl esi, 1
push esi
call fcn.005dd330
add esp, 4
test eax, eax
mov dword [esp + 0x38], eax
je 0x42f5ca
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 0x42f0fe
mov eax, edx
mov edi, edi
mov word [eax], 0x2a
add eax, 6
dec ecx
jne 0x42f0e0
jmp 0x42f0fe
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 0x42f5ca
fld qword [0x5f71d0]
fld qword [esp + 0x60]
fucompp
fnstsw ax
test ah, 0x44
jp 0x42f134
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.0042a1b0
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 0x42f162
test byte [esi + 0x54], 8
je 0x42f188
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.0042a1b0
call fcn.004fae80
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x28]
push esi
call fcn.004f9c10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42f32c
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x18]
add edx, eax
cmp edx, dword [esp + 0x50]
jge 0x42f1c7
mov ecx, dword [esp + 0xe4]
add ecx, edi
mov dword [esp + 0xb0], ecx
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x42f1e1
mov edx, dword [eax + 0x74c]
cmp edx, dword [ebx + 0x30]
mov dword [esp + 0x10], 0xff000000
je 0x42f1e9
mov dword [esp + 0x10], 0xff555555
fld qword [esp + 0x60]
mov esi, dword [ebx + 0x158]
call fcn.004fae80
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.0043d880
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 0x42f3f2
mov al, byte [esp + 0xf]
test al, al
jne 0x42f3f2
test esi, esi
mov dword [esp + 0x10], 2
je 0x42f2d2
mov ecx, esi
call fcn.00473620
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 0x42f2d2
cmp dword [esp + 0x10], 1
jne 0x42f2d2
push 2
mov ecx, esi
call fcn.00472030
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x42f2de
mov eax, dword [eax + 0x50]
jmp 0x42f2e0
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 0x42f3f2
mov edx, dword [esp + 0x10]
push edx
mov ecx, esi
call fcn.00472030
jmp 0x42f3f2
mov eax, dword [esp + 0x4c]
mov edi, 2
cmp eax, edi
jne 0x42f3ea
mov al, byte [esp + 0xf]
test al, al
jne 0x42f3ea
mov esi, dword [esp + 0x2c]
test esi, esi
mov dword [esp + 0x10], edi
je 0x42f388
mov ecx, esi
call fcn.00473620
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 0x42f388
cmp eax, 1
jne 0x42f388
push edi
mov ecx, esi
call fcn.00472030
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x42f394
mov ecx, dword [eax + 0x50]
jmp 0x42f396
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 0x42f3f2
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.00472030
jmp 0x42f3f2
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x2c]
test byte [ebx + 0x128], 0x10
je 0x42f408
mov ecx, dword [esp + 0x38]
push ecx
call fcn.005dd350
add esp, 4
mov eax, dword [esp + 0x40]
mov edx, dword [ebx + 0x1d0]
lea ecx, [edx + eax]
test byte [ecx + 0x54], 8
je 0x42f478
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 0x42f44d
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.004fae80
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 0x42f5ca
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 0x42f5ca
mov eax, dword [esp + 0x28]
test eax, eax
je 0x42f4d8
mov ecx, dword [ebx + 0x16c]
mov ecx, dword [ecx + eax*4 - 4]
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x42f4d8
lea edx, [eax + eax*2]
mov eax, dword [ecx + 4]
mov ax, word [eax + edx*2 - 6]
cmp ax, 0xa
je 0x42f4d8
cmp ax, 0xd
jne 0x42f5ca
push 0
push 0x168
mov ecx, ebx
call fcn.00427dd0
fld qword [esp + 0x60]
mov edi, eax
call fcn.004fae80
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 0x42f54a
mov ecx, ebx
call fcn.00426120
cmp eax, 8
jl 0x42f589
mov eax, dword [esp + 0x88]
cmp eax, 0xffffffff
jne 0x42f57a
cmp dword [esp + 0x44], 0xffffffff
jne 0x42f56a
mov eax, dword [ebx + 0xc0]
jmp 0x42f58e
mov edx, dword [ebx + 0x1d0]
mov eax, dword [esp + 0x40]
mov eax, dword [edx + eax + 0x58]
jmp 0x42f58e
mov ecx, dword [ebx + 0x1d0]
imul eax, eax, 0x74
mov eax, dword [eax + ecx + 0x58]
jmp 0x42f58e
mov eax, 0xff000000
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x42f59a
mov ecx, dword [ecx + 0x50]
jmp 0x42f59c
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 0x42f5da
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x34]
cmp dword [esp + 0x14], edx
jl 0x42eea1
mov eax, dword [ebx + 0x128]
test al, 8
jne 0x42f6cf
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
jne 0x42f6cf
test eax, 0x10000
jne 0x42f6cf
mov al, byte [ebx + 0x161]
test al, al
jne 0x42f6cf
mov eax, dword [ebx + 0x1f8]
test eax, eax
je 0x42f6cf
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x78], eax
jne 0x42f6cf
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.0042a1b0
call fcn.004fae80
sub eax, dword [ebx + 0x158]
cmp esi, eax
jg 0x42f66b
mov esi, eax
cmp esi, edi
jl 0x42f671
mov esi, edi
cmp dword [esp + 0x54], 9
jl 0x42f680
mov eax, dword [ebx + 0xc0]
jmp 0x42f69e
mov eax, dword [esp + 0x44]
cmp eax, 0xffffffff
jne 0x42f691
mov eax, dword [ebx + 0xc0]
jmp 0x42f69e
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 0x42f785
mov al, byte [esp + 0xe]
test al, al
je 0x42f75d
mov ecx, dword [ebx + 0x128]
shr ecx, 8
test cl, 1
je 0x42f73a
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.0043ddc0
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x68]
add esp, 0xc
cmp ecx, eax
jmp 0x42f75b
mov ecx, dword [ebx + 0x30]
call fcn.0048e800
mov ecx, dword [eax + 0x104]
test ecx, ecx
jne 0x42f75d
mov ecx, dword [ebx + 0x30]
call fcn.0048e810
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x6c]
jg 0x42f785
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 0x42ed72
mov eax, dword [esp + 0x80]
test eax, eax
je 0x42f7db
mov ecx, dword [ebx + 0x30]
test ecx, ecx
mov byte [ebx + 0x160], 1
mov eax, 4
je 0x42f7aa
call fcn.0048e810
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.004f93b0
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 0x42f7fd
mov ecx, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.00472030
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10