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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18c
push ebx
mov ebx, ecx
mov edx, dword [ebx + 0x24]
test edx, edx
push esi
push edi
je 0x42b6ee
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ecx + 0x550]
test eax, eax
je 0x42b6e6
cmp eax, edx
jne 0x42b6e6
mov eax, dword [eax + 0x18]
cmp eax, dword [edx + 0x18]
jne 0x42b6e6
mov eax, dword [ebx + 0x120]
test ah, 0x10
jne 0x42b6e6
mov eax, dword [ecx + 0x570]
test eax, eax
je 0x42b6e6
mov edx, dword [ecx]
call dword [edx + 4]
test eax, eax
je 0x42b6e6
mov eax, 1
jmp 0x42b6e8
xor eax, eax
mov dword [ebx + 0x1ec], eax
mov eax, dword [ebp + 8]
lea edi, [ebx + 0x1f4]
push eax
mov ecx, edi
mov dword [esp + 0x20], edi
call fcn.0041f620
mov ecx, ebx
call fcn.0042b340
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x42b718
mov ecx, ebx
call fcn.004232b0
mov dword [esp + 0x78], eax
mov al, byte [ebx + 0xe4]
test al, al
je 0x42b72e
mov esi, dword [ebx + 0xe0]
jmp 0x42b730
xor esi, esi
test esi, esi
mov dword [esp + 0x34], esi
mov dword [esp + 0xd0], 0
je 0x42b791
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x42b791
mov ecx, dword [eax + 0x48]
test ecx, ecx
jne 0x42b791
lea esi, [ebx + 0x35c]
mov ecx, 0x2b
lea edi, [esp + 0xec]
rep movsd dword es:[edi], dword [esi]
mov al, byte [esp + 0xec]
test al, al
seta dl
lea ecx, [esp + 0xd0]
push ecx
mov ecx, dword [ebx + 0xe0]
push edx
push 0
push 1
call fcn.00460010
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x1c]
test esi, esi
mov byte [esp + 0x23], 0
mov dword [esp + 0x98], 0
je 0x42b7dd
mov ecx, esi
call fcn.00460210
cmp eax, 1
jne 0x42b7dd
mov eax, dword [ebx + 0x418]
cmp eax, 3
je 0x42b7c1
cmp eax, 2
jne 0x42b7dd
mov ecx, esi
mov byte [esp + 0x23], 1
call fcn.00460210
push 2
mov ecx, esi
mov dword [esp + 0x9c], eax
call fcn.0045eb40
mov ecx, dword [ebx + 0x24]
xor edx, edx
cmp ecx, edx
mov byte [esp + 0x12], 0
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], edx
je 0x42b82b
cmp dword [ebx + 0x100], 1
jne 0x42b863
fld dword [0x53d7c0]
fld dword [ebx + 0xec]
fucompp
fnstsw ax
test ah, 0x44
jp 0x42b826
fld dword [ebx + 0xf0]
fld qword [0x53d6d0]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x42b873
mov byte [esp + 0x12], 0
mov eax, dword [ebx + 0x120]
shr eax, 8
test al, 1
jne 0x42b959
lea ecx, [ebx + 0xe8]
push ecx
call fcn.004385a0
add esp, 4
test eax, eax
jne 0x42b93c
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0xec], edx
jne 0x42b826
cmp dword [ebx + 0xf0], edx
jne 0x42b826
mov eax, dword [ebx + 0x120]
shr eax, 8
test al, 1
mov byte [esp + 0x12], 1
je 0x42b82b
mov esi, dword [ecx + 8]
cmp esi, edx
je 0x42b826
lea esp, [esp]
mov ecx, dword [ebx + 0x24]
call fcn.004763b0
cmp esi, dword [eax + 0xe0]
je 0x42b826
mov ecx, esi
call fcn.00442f20
test eax, eax
je 0x42b8be
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx + 0x344]
shr eax, 3
test al, 1
jne 0x42b8ca
mov esi, dword [esi + 8]
test esi, esi
jne 0x42b890
jmp 0x42b826
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x1c]
mov cl, byte [eax + 0x109]
test cl, cl
je 0x42b90b
add eax, 0x114
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0xb0], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], eax
jmp 0x42b82b
add eax, 0x1b4
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0xb0], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0xb4], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
jmp 0x42b82b
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x42b959
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.004d0c80
mov eax, dword [ebx + 0x120]
test ah, 0x88
mov ecx, dword [ebp + 0x10]
je 0x42ba1e
lea edx, [ebx + 0x138]
mov esi, dword [edx]
mov dword [esp + 0x50], esi
mov esi, dword [edx + 4]
mov dword [esp + 0x54], esi
mov esi, dword [edx + 8]
mov edx, dword [edx + 0xc]
shr eax, 8
test al, 1
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], edx
jne 0x42b9cb
test ecx, ecx
je 0x42b9b4
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [esp + 0x50], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
jmp 0x42b9cb
lea edx, [esp + 0x50]
push edx
mov eax, edx
push eax
lea ecx, [ebx + 0xe8]
push ecx
call fcn.00437a70
add esp, 0xc
mov eax, dword [ebx + 0x120]
mov ecx, dword [ebx + 0xd4]
mov edx, eax
and edx, 0x8000
sub edx, 0x8000
neg edx
sbb edx, edx
and eax, 0x800
sub eax, 0x800
inc edx
push edx
mov edx, dword [esp + 0x60]
neg eax
sbb eax, eax
inc eax
push eax
mov eax, dword [ebx + 0xd8]
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x64]
push eax
push ecx
push edx
mov ecx, edi
call fcn.00420f60
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x42ba60
mov eax, dword [ebx + 0x120]
shr eax, 8
test al, 1
je 0x42ba3d
mov ecx, ebx
call fcn.00427280
test eax, eax
je 0x42ba60
mov ecx, dword [ebx + 0x134]
mov edx, dword [ebx + 0x12c]
mov eax, dword [ebx + 0x130]
push ecx
mov ecx, dword [ebx + 0x128]
push edx
push eax
push ecx
mov ecx, edi
call fcn.004d0c80
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
or esi, 0xffffffff
cmp ecx, eax
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
jne 0x42ba92
lea edx, [esp + 0x8c]
push edx
lea ecx, [esp + 0x8c]
push ecx
push eax
mov ecx, ebx
call fcn.004221e0
mov eax, dword [ebx + 0x14c]
test eax, eax
mov edx, dword [ebx + 0x130]
mov dword [esp + 0x14], edx
mov dword [esp + 0x84], 0
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
je 0x42bad4
mov ecx, ebx
call fcn.00425330
cmp dword [ebx + 0x14c], eax
jle 0x42bad4
mov dword [ebx + 0x14c], eax
mov esi, dword [ebx + 0x14c]
push 0
push esi
mov ecx, ebx
call fcn.00422280
mov ecx, dword [ebx]
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 4]
cmp ecx, eax
mov dword [esp + 0x7c], ecx
jl 0x42baff
mov dword [esp + 0x7c], eax
mov dword [esp + 0x48], ecx
jg 0x42bb03
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0x168]
mov edi, esi
cmp edi, eax
mov dword [esp + 0x24], edi
jge 0x42c51b
jmp 0x42bb20
mov edi, dword [esp + 0x24]
lea ecx, [ecx]
mov eax, dword [ebx + 0x164]
mov esi, dword [eax + edi*4]
lea ecx, [esp + 0xd4]
push ecx
push edi
mov ecx, ebx
mov dword [esp + 0x38], esi
call fcn.00424ac0
mov eax, dword [esi + 0x1c]
test eax, eax
mov dword [esp + 0x38], eax
je 0x42bb66
mov ecx, eax
mov eax, dword [esi + 4]
lea edx, [ecx + ecx*2]
mov ax, word [eax + edx*2 - 6]
cmp ax, 0xa
je 0x42bb61
cmp ax, 0xd
jne 0x42bb66
dec ecx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xd8]
mov eax, dword [esp + 0x14]
add ecx, edx
lea esi, [ecx + eax]
cmp esi, dword [ebx + 0x134]
mov dword [esp + 0xe8], esi
mov dword [esp + 0x70], esi
jle 0x42bb9c
cmp edi, dword [ebx + 0x14c]
jg 0x42c4b9
mov al, byte [esp + 0x12]
test al, al
mov byte [esp + 0x13], 0
je 0x42bc14
mov ecx, dword [ebx + 0x120]
shr ecx, 8
test cl, 1
je 0x42bbe9
lea edx, [esp + 0x60]
push edx
mov eax, edx
push eax
lea ecx, [ebx + 0xe8]
push ecx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], esi
call fcn.004376e0
mov edx, dword [esp + 0xc4]
mov eax, dword [esp + 0x70]
add esp, 0xc
cmp eax, edx
jmp 0x42bc0d
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x42bc14
mov ecx, dword [ebx + 0x24]
call fcn.004763b0
mov ecx, dword [eax + 0xfc]
test ecx, ecx
jne 0x42bc14
mov ecx, dword [ebx + 0x24]
call fcn.00478cf0
cmp esi, dword [eax + 0x6c]
jge 0x42bc14
mov byte [esp + 0x13], 1
mov ecx, dword [esp + 0x38]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x18], eax
jle 0x42c325
jmp 0x42bc42
mov eax, dword [esp + 0x18]
mov cl, byte [ebx + 0x159]
xor edx, edx
test cl, cl
mov dword [esp + 0x74], eax
mov dword [esp + 0x2c], edx
je 0x42bc85
mov ecx, dword [ebx + 0x1ec]
test ecx, ecx
je 0x42bc85
mov ecx, dword [esp + 0x88]
cmp ecx, dword [esp + 0x24]
jne 0x42bc85
mov esi, dword [esp + 0x8c]
mov ecx, dword [esp + 0x44]
add ecx, esi
lea esi, [ecx - 1]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x48], ecx
cmp eax, dword [esp + 0x38]
mov dword [esp + 0x80], 0xffffffff
jge 0x42c325
mov esi, dword [esp + 0x44]
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 + 0x68], esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x6c], edi
lea esi, [esi + ecx - 6]
jmp 0x42bcc3
mov edx, dword [esp + 0x2c]
cmp word [esi + 6], 9
jne 0x42bce6
test byte [ebx + 0x120], 0x10
jne 0x42bce6
cmp edx, 2
je 0x42bd99
mov dword [esp + 0x2c], 1
jmp 0x42bcf7
cmp edx, 1
je 0x42bd99
mov dword [esp + 0x2c], 2
movzx edx, word [esi + 8]
cmp edx, dword [esp + 0x4c]
jne 0x42bd6c
mov ecx, dword [ebx]
cmp ecx, dword [ebx + 4]
jne 0x42bd12
mov cl, byte [ebx + 0x159]
test cl, cl
je 0x42bd34
mov ecx, dword [esp + 0x9c]
test ecx, ecx
jne 0x42bd23
cmp edi, dword [esp + 0x7c]
je 0x42bd81
mov ecx, dword [esp + 0xa4]
test ecx, ecx
jne 0x42bd34
cmp edi, dword [esp + 0x48]
je 0x42bd8e
mov ecx, dword [esp + 0x78]
inc eax
inc edi
add esi, 6
cmp ecx, 8
jl 0x42bd60
mov edx, dword [esp + 0x40]
movzx ecx, word [edx + 4]
mov edx, dword [ebx + 0x1c8]
imul ecx, ecx, 0x3c
cmp dword [ecx + edx + 8], 3
jne 0x42bd60
cmp word [esi], 0x20
je 0x42bd99
cmp eax, dword [esp + 0x38]
jl 0x42bcbf
jmp 0x42bd99
mov edx, dword [esp + 0x40]
lea ecx, [eax + eax*2]
movzx ecx, word [edx + ecx*2 + 2]
mov dword [esp + 0x80], ecx
jmp 0x42bd99
mov dword [esp + 0x9c], 1
jmp 0x42bd99
mov dword [esp + 0xa4], 1
cmp dword [esp + 0x74], eax
mov dword [esp + 0x18], eax
je 0x42c307
mov ecx, dword [esp + 0x7c]
fld qword [0x53dff8]
mov edx, dword [esp + 0x6c]
fstp qword [esp + 0x50]
cmp edx, ecx
mov dword [esp + 0x28], 0
jl 0x42bddd
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x18]
add esi, eax
cmp esi, dword [esp + 0x48]
jg 0x42bddd
mov dword [esp + 0x28], 1
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x74]
mov edi, dword [ebx]
sub esi, eax
cmp edi, dword [ebx + 4]
mov dword [esp + 0x6c], esi
je 0x42be2f
cmp edx, ecx
jne 0x42be2f
mov ecx, dword [esp + 0x24]
push 0
push 0
push 0
push eax
push ecx
mov ecx, ebx
mov dword [esp + 0x98], 1
call fcn.00426890
fst qword [esp + 0x50]
call fcn.004ae0e0
mov edx, dword [esp + 0x14]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edx
test byte [ebx + 0x120], 0x10
je 0x42be8d
lea esi, [esi + esi*2]
shl esi, 1
push esi
call fcn.0052b380
add esp, 4
test eax, eax
mov dword [esp + 0x3c], eax
je 0x42c307
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x68]
mov ecx, esi
mov esi, dword [eax + 4]
mov eax, ecx
add esi, edx
mov edx, dword [esp + 0x3c]
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 + 0x6c]
test ecx, ecx
jle 0x42be9e
mov eax, edx
nop
mov word [eax], 0x2a
add eax, 6
dec ecx
jne 0x42be80
jmp 0x42be9e
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 4]
add eax, dword [esp + 0x68]
mov dword [esp + 0x3c], eax
mov edx, eax
test edx, edx
je 0x42c307
fld qword [0x53dff8]
fld qword [esp + 0x50]
fucompp
fnstsw ax
test ah, 0x44
jp 0x42bed4
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x24]
push 0
push 0
push 0
push edx
push eax
mov ecx, ebx
call fcn.00426890
fstp qword [esp + 0x50]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0xa0]
push ecx
push 0
push 0
push edx
push eax
mov ecx, ebx
mov dword [esp + 0xb4], 0
call fcn.00426890
call fcn.004ae0e0
mov ecx, dword [esp + 0x78]
mov edx, dword [ebx + 0x1c4]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x4c]
imul eax, eax, 0x74
push ecx
mov ecx, dword [esp + 0x20]
add edx, eax
push edx
mov dword [esp + 0x48], eax
call fcn.004d25e0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x42c086
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x14]
add eax, ecx
cmp eax, dword [esp + 0x48]
jge 0x42bf54
mov edx, dword [esp + 0xe4]
add edx, edi
mov dword [esp + 0x70], edx
fld qword [esp + 0x50]
mov esi, dword [ebx + 0x150]
call fcn.004ae0e0
mov ecx, dword [esp + 0xa0]
sub eax, esi
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x68]
sub eax, esi
add eax, ecx
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0xc0]
mov dword [esp + 0xc4], eax
push edx
mov eax, edx
mov dword [esp + 0xd0], ecx
push eax
lea ecx, [ebx + 0x128]
push ecx
mov dword [esp + 0xd4], edi
call fcn.004371a0
mov edx, dword [esp + 0xd8]
mov ecx, dword [esp + 0xd4]
add esp, 0xc
mov eax, 0xff000000
push eax
mov eax, dword [esp + 0xc8]
push edx
mov edx, dword [esp + 0xc8]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
push edx
call fcn.00420eb0
cmp dword [esp + 0x2c], 2
mov esi, dword [esp + 0x34]
jne 0x42c13d
mov al, byte [esp + 0x13]
test al, al
jne 0x42c13d
test esi, esi
mov dword [esp + 0x2c], 2
je 0x42c03b
mov ecx, esi
call fcn.00460210
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
movzx edx, word [ecx + 4]
mov eax, dword [ebx + 0x1c8]
imul edx, edx, 0x3c
mov ecx, dword [edx + eax + 8]
test ecx, ecx
je 0x42c03b
cmp dword [esp + 0x2c], 1
jne 0x42c03b
push 2
mov ecx, esi
call fcn.0045eb40
mov ecx, dword [esp + 0x6c]
fild dword [ebx + 0x150]
mov edx, dword [esp + 0x3c]
push esi
fsubr qword [esp + 0x54]
or eax, 0xffffffff
push eax
mov eax, dword [esp + 0xe0]
push ecx
mov ecx, dword [esp + 0x28]
push edx
add eax, edi
push eax
sub esp, 8
fstp qword [esp]
call fcn.00420670
test esi, esi
je 0x42c13d
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.0045eb40
jmp 0x42c13d
mov eax, dword [esp + 0x2c]
mov edi, 2
cmp eax, edi
jne 0x42c135
mov al, byte [esp + 0x13]
test al, al
jne 0x42c135
mov esi, dword [esp + 0x34]
test esi, esi
mov dword [esp + 0x28], edi
je 0x42c0e2
mov ecx, esi
call fcn.00460210
mov edx, dword [esp + 0x30]
mov ecx, dword [edx + 4]
movzx edx, word [ecx + 4]
mov ecx, dword [ebx + 0x1c8]
imul edx, edx, 0x3c
cmp dword [edx + ecx + 8], 0
mov dword [esp + 0x28], eax
je 0x42c0e2
cmp eax, 1
jne 0x42c0e2
push edi
mov ecx, esi
call fcn.0045eb40
mov edx, dword [ebx + 0x1c4]
fild dword [ebx + 0x150]
mov eax, dword [esp + 0x40]
mov eax, dword [edx + eax + 0x58]
mov ecx, dword [esp + 0x6c]
fsubr qword [esp + 0x50]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x14]
push esi
push eax
mov eax, dword [esp + 0xe0]
push ecx
mov ecx, dword [esp + 0x28]
push edx
add eax, edi
push eax
sub esp, 8
fstp qword [esp]
call fcn.00420670
test esi, esi
je 0x42c13d
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, esi
call fcn.0045eb40
jmp 0x42c13d
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x14]
test byte [ebx + 0x120], 0x10
je 0x42c153
mov edx, dword [esp + 0x3c]
push edx
call fcn.00439d00
add esp, 4
mov eax, dword [ebx + 0x1c4]
mov ecx, dword [esp + 0x40]
add ecx, eax
test byte [ecx + 0x54], 8
je 0x42c1c4
mov eax, dword [esp + 0xdc]
cdq
sub eax, edx
mov edx, dword [esp + 0xd8]
sar eax, 1
add eax, edx
mov edx, dword [ebx + 0x150]
add eax, edi
mov edi, dword [ecx + 0x58]
mov ecx, dword [esp + 0x68]
sub ecx, edx
mov edx, dword [ebx + 0x12c]
cmp edx, ecx
jge 0x42c197
mov ecx, edx
mov edx, dword [esp + 0x1c]
fld qword [esp + 0x50]
mov edx, dword [edx]
push 0
push edi
push eax
push ecx
push eax
mov dword [esp + 0x3c], edx
call fcn.004ae0e0
mov edx, dword [ebx + 0x150]
mov ecx, dword [esp + 0x30]
sub eax, edx
push eax
mov eax, dword [esp + 0x40]
call dword [eax + 4]
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x42c307
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
movzx edx, word [ecx + 4]
mov eax, dword [ebx + 0x1c8]
imul edx, edx, 0x3c
mov ecx, dword [edx + eax + 0x2c]
test ecx, ecx
je 0x42c307
mov eax, dword [esp + 0x24]
test eax, eax
je 0x42c224
mov ecx, dword [ebx + 0x164]
mov ecx, dword [ecx + eax*4 - 4]
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x42c224
lea edx, [eax + eax*2]
mov eax, dword [ecx + 4]
mov ax, word [eax + edx*2 - 6]
cmp ax, 0xa
je 0x42c224
cmp ax, 0xd
jne 0x42c307
push 0
push 0x168
mov ecx, ebx
call fcn.00424900
fld qword [esp + 0x50]
mov edi, eax
call fcn.004ae0e0
mov edx, dword [ebx + 0x150]
mov ecx, dword [esp + 0x30]
sub eax, edx
mov edx, dword [ecx + 4]
sub eax, edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x28], eax
mov eax, dword [edx]
mov dword [esp + 0xa8], eax
mov cx, word [edx + 4]
mov eax, dword [ebx + 0x20]
xor edx, edx
cmp edi, 6
setl dl
mov word [esp + 0xac], cx
dec edx
and edx, 0x1f8d
add edx, 0x95
test eax, eax
mov word [esp + 0xa8], dx
jne 0x42c296
mov ecx, ebx
call fcn.004232b0
cmp eax, 8
jl 0x42c2d5
mov eax, dword [esp + 0x80]
cmp eax, 0xffffffff
jne 0x42c2c6
cmp dword [esp + 0x4c], 0xffffffff
jne 0x42c2b6
mov eax, dword [ebx + 0xb8]
jmp 0x42c2da
mov eax, dword [ebx + 0x1c4]
mov ecx, dword [esp + 0x40]
mov eax, dword [eax + ecx + 0x58]
jmp 0x42c2da
mov edx, dword [ebx + 0x1c4]
imul eax, eax, 0x74
mov eax, dword [eax + edx + 0x58]
jmp 0x42c2da
mov eax, 0xff000000
mov edx, dword [esp + 0x14]
fild dword [esp + 0x28]
mov ecx, dword [esp + 0xd8]
push esi
push eax
push 1
lea eax, [esp + 0xb4]
push eax
add ecx, edx
push ecx
mov ecx, dword [esp + 0x30]
sub esp, 8
fstp qword [esp]
call fcn.00420670
mov eax, dword [esp + 0x80]
cmp eax, 0xffffffff
je 0x42c317
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x18], eax
jl 0x42bc3e
mov eax, dword [ebx + 0x120]
test al, 8
jne 0x42c403
mov ecx, dword [ebx + 0x34]
test ecx, ecx
jne 0x42c403
test eax, 0x10000
jne 0x42c403
mov al, byte [ebx + 0x159]
test al, al
jne 0x42c403
mov eax, dword [ebx + 0x1ec]
test eax, eax
je 0x42c403
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x88], ecx
jne 0x42c403
mov edx, dword [esp + 0x8c]
mov edi, dword [ebx + 0x12c]
mov esi, dword [ebx + 0x128]
push 0
push 0
push 0
mov eax, ecx
push edx
push eax
mov ecx, ebx
call fcn.00426890
call fcn.004ae0e0
sub eax, dword [ebx + 0x150]
cmp esi, eax
jg 0x42c3ab
mov esi, eax
cmp esi, edi
jl 0x42c3b1
mov esi, edi
mov eax, dword [esp + 0x4c]
cmp eax, 0xffffffff
jne 0x42c3c2
mov eax, dword [ebx + 0xb8]
jmp 0x42c3cf
mov ecx, dword [ebx + 0x1c4]
imul eax, eax, 0x74
mov eax, dword [eax + ecx + 0x58]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
push 1
push eax
mov eax, dword [esp + 0xf0]
push eax
push esi
push edi
push esi
call dword [edx + 4]
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], edi
mov dword [esp + 0x84], 1
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xe4]
mov ecx, dword [ebx + 0x134]
add eax, edx
cmp eax, ecx
mov dword [esp + 0x14], eax
jg 0x42c4b9
mov al, byte [esp + 0x12]
test al, al
je 0x42c491
mov ecx, dword [ebx + 0x120]
shr ecx, 8
test cl, 1
je 0x42c46e
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x60]
push eax
mov ecx, eax
mov dword [esp + 0x68], edx
push ecx
lea edx, [ebx + 0xe8]
push edx
mov dword [esp + 0x6c], 0
call fcn.004376e0
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0x70]
add esp, 0xc
cmp ecx, eax
jmp 0x42c48f
mov ecx, dword [ebx + 0x24]
call fcn.004763b0
mov ecx, dword [eax + 0xfc]
test ecx, ecx
jne 0x42c491
mov ecx, dword [ebx + 0x24]
call fcn.00478cf0
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x70]
jg 0x42c4b9
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x1c]
mov esi, dword [esp + 0x44]
mov ecx, dword [ebx + 0x168]
add esi, eax
mov eax, dword [esp + 0x24]
inc eax
cmp eax, ecx
mov dword [esp + 0x44], esi
mov dword [esp + 0x24], eax
jl 0x42bb19
mov eax, dword [esp + 0x84]
test eax, eax
je 0x42c51b
mov ecx, dword [ebx + 0x24]
test ecx, ecx
mov byte [ebx + 0x158], 1
mov byte [esp + 0x70], 0
je 0x42c4e6
call fcn.00478cf0
cmp dword [eax], 0
setne cl
mov byte [esp + 0x70], cl
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
lea edx, [ebx + 0x60]
push edx
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
lea edx, [ebx + 0xe8]
push edx
push eax
push ecx
push ebx
call fcn.004d21c0
add esp, 0x1c
mov byte [ebx + 0x158], 0
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
call dword [edx + 0xc]
mov al, byte [esp + 0x23]
test al, al
je 0x42c53d
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x34]
push eax
call fcn.0045eb40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc