Function at 0x42d1b0
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 0x42d20e
mov ecx, dword [ebx + 0x38]
mov eax, dword [ecx + 0x5a8]
test eax, eax
je 0x42d206
cmp eax, edx
jne 0x42d206
mov eax, dword [eax + 0x18]
cmp eax, dword [edx + 0x18]
jne 0x42d206
mov eax, dword [ebx + 0x128]
test ah, 0x10
jne 0x42d206
mov eax, dword [ecx + 0x5c8]
test eax, eax
je 0x42d206
mov edx, dword [ecx]
call dword [edx + 4]
test eax, eax
je 0x42d206
mov eax, 1
jmp 0x42d208
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.00420780
mov ecx, ebx
call fcn.0042cea0
mov eax, dword [ebx + 0x2c]
test eax, eax
jne 0x42d238
mov ecx, ebx
call fcn.00424b30
mov dword [esp + 0x54], eax
mov al, byte [ebx + 0xec]
test al, al
je 0x42d24e
mov esi, dword [ebx + 0xe8]
jmp 0x42d250
xor esi, esi
test esi, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0xd0], 0
je 0x42d29e
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x42d29e
mov ecx, dword [eax + 0x50]
test ecx, ecx
jne 0x42d29e
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x42d284
mov dl, byte [eax]
xor cl, cl
cmp cl, dl
sbb eax, eax
neg eax
jmp 0x42d286
xor eax, eax
mov ecx, dword [ebx + 0xe8]
lea edx, [esp + 0xd0]
push edx
push eax
push 0
push 1
call fcn.00468680
test esi, esi
mov byte [esp + 0x1f], 0
mov dword [esp + 0xa0], 0
je 0x42d2ea
mov ecx, esi
call fcn.004692f0
cmp eax, 1
jne 0x42d2ea
mov eax, dword [ebx + 0x310]
cmp eax, 3
je 0x42d2ce
cmp eax, 2
jne 0x42d2ea
mov ecx, esi
mov byte [esp + 0x1f], 1
call fcn.004692f0
push 2
mov ecx, esi
mov dword [esp + 0xa4], eax
call fcn.00467d50
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 0x42d34f
cmp dword [ebx + 0x108], 1
jne 0x42d387
fld dword [0x5d7848]
fld dword [ebx + 0xf4]
fucompp
fnstsw ax
test ah, 0x44
jp 0x42d34a
fld dword [ebx + 0xf8]
fld qword [0x5d76b0]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x42d397
mov byte [esp + 0xe], 0
mov eax, dword [ebx + 0x128]
shr eax, 8
test al, 1
jne 0x42d467
lea ecx, [ebx + 0xf0]
push ecx
call fcn.0043d7d0
add esp, 4
test eax, eax
jne 0x42d44a
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 0x42d34a
cmp dword [ebx + 0xf8], ecx
jne 0x42d34a
mov eax, dword [ebx + 0x128]
shr eax, 8
test al, 1
mov byte [esp + 0xe], 1
je 0x42d34f
lea esp, [esp]
mov ecx, dword [ebx + 0x30]
call fcn.00482e20
cmp esi, dword [eax + 0xe0]
je 0x42d34a
mov ecx, esi
call fcn.004486d0
test eax, eax
je 0x42d3db
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x20]
mov al, byte [edx + 0x129]
test al, al
jne 0x42d406
mov ecx, esi
call fcn.004486d0
test eax, eax
je 0x42d3fa
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x20]
mov edx, dword [ecx + 0x368]
shr edx, 3
test dl, 1
jne 0x42d413
mov esi, dword [esi + 8]
test esi, esi
jne 0x42d3b0
jmp 0x42d34a
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x20]
add eax, 0x134
jmp 0x42d41e
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 0x42d34f
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x42d467
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.004e8940
mov eax, dword [ebx + 0x128]
test eax, 0x200800
mov ecx, dword [ebp + 0x14]
je 0x42d52e
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 0x42d4db
test ecx, ecx
je 0x42d4c4
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 0x42d4db
lea edx, [esp + 0x60]
push edx
mov eax, edx
push eax
lea ecx, [ebx + 0xf0]
push ecx
call fcn.0043cc10
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.00422330
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x42d570
mov eax, dword [ebx + 0x128]
shr eax, 8
test al, 1
je 0x42d54d
mov ecx, ebx
call fcn.004298e0
test eax, eax
je 0x42d570
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.004e8940
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 0x42d59d
lea edx, [esp + 0x8c]
push edx
lea ecx, [esp + 0x7c]
push ecx
push eax
mov ecx, ebx
call fcn.00423810
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 0x42d5dc
mov ecx, ebx
call fcn.00427380
cmp dword [ebx + 0x154], eax
jle 0x42d5dc
mov dword [ebx + 0x154], eax
mov esi, dword [ebx + 0x154]
push 0
push esi
mov ecx, ebx
call fcn.004238b0
mov ecx, dword [ebx + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 8]
cmp ecx, eax
mov dword [esp + 0x74], ecx
jl 0x42d608
mov dword [esp + 0x74], eax
mov dword [esp + 0x50], ecx
jg 0x42d60c
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x170]
mov edi, esi
cmp edi, eax
mov dword [esp + 0x28], edi
jge 0x42e08b
jmp 0x42d630
mov edi, dword [esp + 0x28]
jmp 0x42d630
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.00426960
mov eax, dword [esi + 0x1c]
test eax, eax
mov dword [esp + 0x34], eax
je 0x42d676
mov ecx, eax
mov eax, dword [esi + 4]
lea edx, [ecx + ecx*2]
mov ax, word [eax + edx*2 - 6]
cmp ax, 0xa
je 0x42d671
cmp ax, 0xd
jne 0x42d676
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 0x42d6af
cmp edi, dword [ebx + 0x154]
jg 0x42e035
mov al, byte [esp + 0xe]
test al, al
mov byte [esp + 0xf], 0
je 0x42d727
mov ecx, dword [ebx + 0x128]
shr ecx, 8
test cl, 1
je 0x42d6fc
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.0043c700
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0x68]
add esp, 0xc
cmp eax, edx
jmp 0x42d720
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x42d727
mov ecx, dword [ebx + 0x30]
call fcn.00482e20
mov ecx, dword [eax + 0x104]
test ecx, ecx
jne 0x42d727
mov ecx, dword [ebx + 0x30]
call fcn.00482e30
cmp esi, dword [eax + 0x68]
jge 0x42d727
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 0x42de98
jmp 0x42d755
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 0x42d795
mov ecx, dword [ebx + 0x1f8]
test ecx, ecx
je 0x42d795
mov ecx, dword [esp + 0x78]
cmp ecx, dword [esp + 0x28]
jne 0x42d795
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 0x42de98
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 0x42d7d3
mov edx, dword [esp + 0x4c]
cmp word [esi + 6], 9
jne 0x42d7f6
test byte [ebx + 0x128], 0x10
jne 0x42d7f6
cmp edx, 2
je 0x42d8aa
mov dword [esp + 0x4c], 1
jmp 0x42d807
cmp edx, 1
je 0x42d8aa
mov dword [esp + 0x4c], 2
movzx edx, word [esi + 8]
cmp edx, dword [esp + 0x44]
jne 0x42d87d
mov ecx, dword [ebx + 4]
cmp ecx, dword [ebx + 8]
jne 0x42d823
mov cl, byte [ebx + 0x161]
test cl, cl
je 0x42d845
mov ecx, dword [esp + 0xa8]
test ecx, ecx
jne 0x42d834
cmp edi, dword [esp + 0x74]
je 0x42d892
mov ecx, dword [esp + 0xa4]
test ecx, ecx
jne 0x42d845
cmp edi, dword [esp + 0x50]
je 0x42d89f
mov ecx, dword [esp + 0x54]
inc eax
inc edi
add esi, 6
cmp ecx, 8
jl 0x42d871
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 0x42d871
cmp word [esi], 0x20
je 0x42d8aa
cmp eax, dword [esp + 0x34]
jl 0x42d7cf
jmp 0x42d8aa
mov edx, dword [esp + 0x40]
lea ecx, [eax + eax*2]
movzx ecx, word [edx + ecx*2 + 2]
mov dword [esp + 0x88], ecx
jmp 0x42d8aa
mov dword [esp + 0xa8], 1
jmp 0x42d8aa
mov dword [esp + 0xa4], 1
cmp dword [esp + 0x70], eax
mov dword [esp + 0x14], eax
je 0x42de7a
mov ecx, dword [esp + 0x74]
fld qword [0x5d81b0]
mov edx, dword [esp + 0x48]
fstp qword [esp + 0x60]
cmp edx, ecx
mov dword [esp + 0x10], 0
jl 0x42d8ee
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x14]
add esi, eax
cmp esi, dword [esp + 0x50]
jg 0x42d8ee
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 0x42d93e
cmp edx, ecx
jne 0x42d93e
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.00428ab0
fst qword [esp + 0x60]
call fcn.004eb100
mov edx, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], edx
test byte [ebx + 0x128], 0x10
je 0x42d99d
lea esi, [esi + esi*2]
shl esi, 1
push esi
call fcn.0043f080
add esp, 4
test eax, eax
mov dword [esp + 0x38], eax
je 0x42de7a
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 0x42d9ae
mov eax, edx
mov edi, edi
mov word [eax], 0x2a
add eax, 6
dec ecx
jne 0x42d990
jmp 0x42d9ae
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 0x42de7a
fld qword [0x5d81b0]
fld qword [esp + 0x60]
fucompp
fnstsw ax
test ah, 0x44
jp 0x42d9e4
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.00428ab0
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 0x42da12
test byte [esi + 0x54], 8
je 0x42da38
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.00428ab0
call fcn.004eb100
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x28]
push esi
call fcn.004e9ea0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42dbdc
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x18]
add edx, eax
cmp edx, dword [esp + 0x50]
jge 0x42da77
mov ecx, dword [esp + 0xe4]
add ecx, edi
mov dword [esp + 0xb0], ecx
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x42da91
mov edx, dword [eax + 0x5a8]
cmp edx, dword [ebx + 0x30]
mov dword [esp + 0x10], 0xff000000
je 0x42da99
mov dword [esp + 0x10], 0xff555555
fld qword [esp + 0x60]
mov esi, dword [ebx + 0x158]
call fcn.004eb100
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.0043c1c0
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.00422280
cmp dword [esp + 0x4c], 2
mov esi, dword [esp + 0x2c]
jne 0x42dca2
mov al, byte [esp + 0xf]
test al, al
jne 0x42dca2
test esi, esi
mov dword [esp + 0x10], 2
je 0x42db82
mov ecx, esi
call fcn.004692f0
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 0x42db82
cmp dword [esp + 0x10], 1
jne 0x42db82
push 2
mov ecx, esi
call fcn.00467d50
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x42db8e
mov eax, dword [eax + 0x50]
jmp 0x42db90
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.004219d0
test esi, esi
je 0x42dca2
mov edx, dword [esp + 0x10]
push edx
mov ecx, esi
call fcn.00467d50
jmp 0x42dca2
mov eax, dword [esp + 0x4c]
mov edi, 2
cmp eax, edi
jne 0x42dc9a
mov al, byte [esp + 0xf]
test al, al
jne 0x42dc9a
mov esi, dword [esp + 0x2c]
test esi, esi
mov dword [esp + 0x10], edi
je 0x42dc38
mov ecx, esi
call fcn.004692f0
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 0x42dc38
cmp eax, 1
jne 0x42dc38
push edi
mov ecx, esi
call fcn.00467d50
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x42dc44
mov ecx, dword [eax + 0x50]
jmp 0x42dc46
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.004219d0
test esi, esi
je 0x42dca2
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.00467d50
jmp 0x42dca2
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x2c]
test byte [ebx + 0x128], 0x10
je 0x42dcb8
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0043f0a0
add esp, 4
mov eax, dword [esp + 0x40]
mov edx, dword [ebx + 0x1d0]
lea ecx, [edx + eax]
test byte [ecx + 0x54], 8
je 0x42dd28
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 0x42dcfd
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.004eb100
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 0x42de7a
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 0x42de7a
mov eax, dword [esp + 0x28]
test eax, eax
je 0x42dd88
mov ecx, dword [ebx + 0x16c]
mov ecx, dword [ecx + eax*4 - 4]
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x42dd88
lea edx, [eax + eax*2]
mov eax, dword [ecx + 4]
mov ax, word [eax + edx*2 - 6]
cmp ax, 0xa
je 0x42dd88
cmp ax, 0xd
jne 0x42de7a
push 0
push 0x168
mov ecx, ebx
call fcn.004267b0
fld qword [esp + 0x60]
mov edi, eax
call fcn.004eb100
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 0x42ddfa
mov ecx, ebx
call fcn.00424b30
cmp eax, 8
jl 0x42de39
mov eax, dword [esp + 0x88]
cmp eax, 0xffffffff
jne 0x42de2a
cmp dword [esp + 0x44], 0xffffffff
jne 0x42de1a
mov eax, dword [ebx + 0xc0]
jmp 0x42de3e
mov edx, dword [ebx + 0x1d0]
mov eax, dword [esp + 0x40]
mov eax, dword [edx + eax + 0x58]
jmp 0x42de3e
mov ecx, dword [ebx + 0x1d0]
imul eax, eax, 0x74
mov eax, dword [eax + ecx + 0x58]
jmp 0x42de3e
mov eax, 0xff000000
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x42de4a
mov ecx, dword [ecx + 0x50]
jmp 0x42de4c
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.004219d0
mov eax, dword [esp + 0x88]
cmp eax, 0xffffffff
je 0x42de8a
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x34]
cmp dword [esp + 0x14], edx
jl 0x42d751
mov eax, dword [ebx + 0x128]
test al, 8
jne 0x42df7f
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
jne 0x42df7f
test eax, 0x10000
jne 0x42df7f
mov al, byte [ebx + 0x161]
test al, al
jne 0x42df7f
mov eax, dword [ebx + 0x1f8]
test eax, eax
je 0x42df7f
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x78], eax
jne 0x42df7f
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.00428ab0
call fcn.004eb100
sub eax, dword [ebx + 0x158]
cmp esi, eax
jg 0x42df1b
mov esi, eax
cmp esi, edi
jl 0x42df21
mov esi, edi
cmp dword [esp + 0x54], 9
jl 0x42df30
mov eax, dword [ebx + 0xc0]
jmp 0x42df4e
mov eax, dword [esp + 0x44]
cmp eax, 0xffffffff
jne 0x42df41
mov eax, dword [ebx + 0xc0]
jmp 0x42df4e
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 0x42e035
mov al, byte [esp + 0xe]
test al, al
je 0x42e00d
mov ecx, dword [ebx + 0x128]
shr ecx, 8
test cl, 1
je 0x42dfea
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.0043c700
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x68]
add esp, 0xc
cmp ecx, eax
jmp 0x42e00b
mov ecx, dword [ebx + 0x30]
call fcn.00482e20
mov ecx, dword [eax + 0x104]
test ecx, ecx
jne 0x42e00d
mov ecx, dword [ebx + 0x30]
call fcn.00482e30
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x6c]
jg 0x42e035
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 0x42d622
mov eax, dword [esp + 0x80]
test eax, eax
je 0x42e08b
mov ecx, dword [ebx + 0x30]
test ecx, ecx
mov byte [ebx + 0x160], 1
mov eax, 4
je 0x42e05a
call fcn.00482e30
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.004e9640
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 0x42e0ad
mov ecx, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.00467d50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10