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

Disassembly:
sub esp, 0x8c
mov al, byte [0x55521f]
mov byte [esp + 0xb], 1
test al, al
jne 0x429bbd
xor al, al
add esp, 0x8c
ret
push ebx
push ebp
push esi
push edi
call fcn.00405b60
mov eax, dword [0x54bfa0]
mov ecx, dword [0x5b7644]
add ecx, eax
lea ebp, [eax + 1]
cmp ebp, ecx
mov dword [esp + 0x14], ebp
jg 0x429db4
push 0
push ebp
call fcn.004015f0
mov edx, dword [0x54bfa0]
mov ebx, eax
mov esi, ebp
add esp, 8
mov edi, dword [ebx]
sub esi, edx
dec esi
dec edi
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], esi
mov dword [esp + 0x10], edi
js 0x429d9a
lea ebp, [edi + edi*4]
shl ebp, 2
mov edx, dword [ebx + 4]
add edx, ebp
push edx
call fcn.004ae790
and eax, 0x7fffffff
xor ecx, ecx
add esp, 4
lea eax, [eax + eax*4]
mov cl, byte [eax*4 + 0x106bcb0]
shr ecx, 5
cmp esi, ecx
je 0x429d86
mov eax, dword [ebx + 4]
xor esi, esi
mov dword [esp + 0x3c], esi
cmp dword [eax + ebp + 0xc], esi
jle 0x429d69
mov dword [esp + 0x28], esi
mov edx, dword [eax + ebp + 0x10]
movsx ecx, word [edx + esi]
test ecx, 0x80000000
je 0x429c95
movsx eax, word [edx + esi]
add edx, esi
mov ecx, eax
and ecx, 0x7fffffff
lea edi, [ecx + ecx*4]
xor ecx, ecx
mov cl, byte [edi*4 + 0x106bcb0]
mov edi, dword [0x54bfa0]
shr ecx, 5
lea ecx, [ecx + edi + 1]
jmp 0x429c9d
movsx eax, word [edx + esi]
add edx, esi
mov ecx, eax
test ecx, ecx
jl 0x429d4a
test eax, 0x80000000
mov ecx, eax
je 0x429ccd
and ecx, 0x7fffffff
lea edi, [ecx + ecx*4]
xor ecx, ecx
mov cl, byte [edi*4 + 0x106bcb0]
mov edi, dword [0x54bfa0]
shr ecx, 5
lea ecx, [ecx + edi + 1]
cmp ecx, dword [0x54bfa0]
jg 0x429d4a
movsx edx, byte [edx + 2]
lea ecx, [eax + eax*2]
mov dword [esp + 0x2c], edx
xor edi, edi
lea edx, [eax + ecx*4]
shl edx, 4
mov eax, dword [edx + 0xfdba88]
test eax, eax
jle 0x429d4a
xor esi, esi
mov eax, dword [edx + 0xfdba94]
mov ebx, dword [esp + 0x2c]
lea ecx, [eax + esi]
movsx eax, word [eax + esi + 0xa]
cmp eax, ebx
jne 0x429d31
movsx eax, word [ecx + 6]
lea ebx, [eax + eax*2]
lea ebx, [eax + ebx*4]
movsx eax, word [ecx + 8]
shl ebx, 4
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [ebx + 0xfdba94]
mov word [eax + ecx*4 + 0xa], 0xffff
mov eax, dword [edx + 0xfdba88]
inc edi
add esi, 0x1c
cmp edi, eax
jl 0x429cf4
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x88]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x3c]
inc ecx
add esi, 0xc
mov edx, dword [eax + ebp + 0xc]
mov dword [esp + 0x3c], ecx
cmp ecx, edx
mov dword [esp + 0x28], esi
jl 0x429c5c
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.0042ade0
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x94]
add esp, 8
dec edi
sub ebp, 0x14
test edi, edi
mov dword [esp + 0x10], edi
jge 0x429c1b
mov ebp, dword [esp + 0x14]
mov eax, dword [0x5b7644]
mov ecx, dword [0x54bfa0]
inc ebp
add eax, ecx
cmp ebp, eax
mov dword [esp + 0x14], ebp
jle 0x429be2
mov ecx, dword [0x5b7644]
mov edx, dword [0x54bfa0]
mov dword [esp + 0x14], 0
lea eax, [ecx + edx]
test eax, eax
jl 0x429eb5
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], 0xfdba80
mov edi, dword [esp + 0x10]
cmp edi, 0xfdba80
jl 0x429dfd
cmp esi, edx
jg 0x429e0a
mov al, byte [edi + 0xcf]
test al, al
je 0x429e8f
cmp esi, edx
jg 0x429e0a
test byte [edi], 4
jne 0x429e8f
push 0
push esi
call fcn.004015f0
mov ecx, dword [eax]
add esp, 8
xor ebp, ebp
mov dword [esp + 0x28], eax
test ecx, ecx
jle 0x429e8f
xor edi, edi
mov ecx, dword [eax + 4]
xor ebx, ebx
mov eax, dword [ecx + edi + 0xc]
test eax, eax
jle 0x429e7b
xor esi, esi
mov edx, dword [ecx + edi + 0x10]
fld dword [edx + esi + 8]
fcomp dword [0x51dc3c]
fnstsw ax
test ah, 1
je 0x429e6a
mov eax, edx
push 1
movsx edx, byte [eax + esi + 2]
movsx ecx, word [eax + esi]
add eax, esi
push ecx
mov eax, dword [esp + 0x1c]
push edx
push eax
push ebp
call fcn.0042af20
add esp, 0x14
dec ebx
sub esi, 0xc
mov ecx, dword [esp + 0x28]
inc ebx
add esi, 0xc
mov ecx, dword [ecx + 4]
cmp ebx, dword [ecx + edi + 0xc]
jl 0x429e32
mov eax, dword [esp + 0x28]
inc ebp
add edi, 0x14
cmp ebp, dword [eax]
jl 0x429e23
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov ecx, dword [0x5b7644]
mov edx, dword [0x54bfa0]
inc esi
add edi, 0xd0
lea eax, [ecx + edx]
mov dword [esp + 0x14], esi
cmp esi, eax
mov dword [esp + 0x10], edi
jle 0x429de3
xor eax, eax
test edx, edx
mov dword [esp + 0x14], eax
jl 0x42a074
mov esi, 0xfdba94
mov cl, byte [esi + 0xbb]
test cl, cl
je 0x42a05b
cmp eax, edx
jg 0x429ee4
test byte [esi - 0x14], 4
jne 0x42a05b
mov ecx, dword [esi - 0xc]
xor edi, edi
cmp ecx, edi
mov dword [esp + 0x10], edi
jle 0x42a05b
mov ecx, dword [esi]
mov ax, word [edi + ecx + 0xa]
lea ecx, [edi + ecx + 0xa]
test ax, ax
jl 0x429f22
mov ebx, dword [esi + 0x64]
movsx edx, ax
cmp edx, ebx
jl 0x429f19
mov word [ecx], 0xffff
jmp 0x42a03a
test ax, ax
jge 0x42a03a
mov eax, dword [esi]
mov bl, 1
add eax, edi
mov ecx, dword [eax]
test cl, 0x20
je 0x429f34
test cl, 0x40
je 0x429f36
xor bl, bl
test cl, 1
je 0x429f6b
test cl, 2
jne 0x429f6b
movsx edx, word [eax + 4]
lea ebp, [edx*8]
sub ebp, edx
mov edx, dword [esi - 4]
movsx edx, word [edx + ebp*8 + 0x18]
mov ebp, edx
shl ebp, 4
add ebp, edx
test dword [ebp*8 + 0x8e898c], 0x100020
jne 0x429f6b
xor bl, bl
test cl, 4
jne 0x42a03a
test bl, bl
je 0x42a03a
movsx ecx, word [eax + 4]
add eax, 0x10
push 0
lea edx, [ecx*8]
push 0
sub edx, ecx
mov ecx, dword [esi - 4]
lea edx, [ecx + edx*8 + 0xc]
mov ecx, dword [edx]
mov dword [esp + 0x38], ecx
fld dword [esp + 0x38]
mov ecx, dword [edx + 4]
fmul dword [0x51f248]
mov edx, dword [edx + 8]
mov dword [esp + 0x3c], ecx
fld dword [esp + 0x3c]
fmul dword [0x51f248]
mov ecx, dword [eax]
mov dword [esp + 0x40], edx
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 4]
fstp dword [esp + 0x3c]
fld dword [esp + 0x40]
fmul dword [0x51f248]
mov eax, dword [eax + 8]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
fstp dword [esp + 0x40]
fld dword [esp + 0x24]
fadd st(1)
fstp dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
fstp st(0)
fld dword [esp + 0x28]
fadd dword [esp + 0x3c]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x48]
push ecx
fstp dword [esp + 0x2c]
fld dword [esp + 0x30]
fadd dword [esp + 0x44]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x20]
push edx
fstp dword [esp + 0x34]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x58], eax
call fcn.0042b0a0
mov ecx, dword [esi]
add esp, 0x10
mov word [edi + ecx + 0xa], ax
mov eax, dword [esp + 0x10]
mov ecx, dword [esi - 0xc]
inc eax
add edi, 0x1c
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x429ef5
mov edx, dword [0x54bfa0]
mov eax, dword [esp + 0x14]
inc eax
add esi, 0xd0
cmp eax, edx
mov dword [esp + 0x14], eax
jle 0x429ec8
mov ecx, dword [0x5b7644]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x10], eax
jle 0x42a25d
mov ecx, dword [eax*4 + 0x5a7708]
mov dword [esp + 0x14], 0
test ecx, ecx
jle 0x42a24a
lea eax, [eax + eax*4]
shl eax, 6
add eax, 0x5a6d0c
mov dword [esp + 0x3c], eax
jmp 0x42a0b0
mov edx, dword [0x54bfa0]
mov eax, dword [esp + 0x3c]
mov ebx, dword [eax - 4]
mov eax, dword [eax]
lea ecx, [ebx + ebx*2]
lea edi, [eax*8]
sub edi, eax
lea esi, [ebx + ecx*4]
shl esi, 4
shl edi, 2
mov eax, dword [esi + 0xfdba94]
add eax, edi
movsx ecx, word [eax + 4]
add eax, 0x10
lea ebp, [ecx*8]
sub ebp, ecx
mov ecx, dword [esi + 0xfdba90]
lea ecx, [ecx + ebp*8 + 0xc]
mov ebp, dword [ecx]
mov dword [esp + 0x30], ebp
fld dword [esp + 0x30]
mov ebp, dword [ecx + 4]
fmul dword [0x51f248]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x34], ebp
fld dword [esp + 0x34]
fmul dword [0x51f248]
mov dword [esp + 0x38], ecx
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 4]
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fmul dword [0x51f248]
mov eax, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
fstp dword [esp + 0x38]
fld dword [esp + 0x1c]
fsub st(1)
fstp dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
fstp st(0)
fld dword [esp + 0x20]
fsub dword [esp + 0x34]
mov dword [esp + 0x40], ecx
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fsub dword [esp + 0x38]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x44], eax
fstp dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x48], ecx
mov eax, dword [esi + 0xfdba94]
lea ecx, [eax + edi]
movsx eax, word [eax + edi + 6]
movsx ecx, word [ecx + 8]
lea ebp, [eax + eax*2]
lea eax, [eax + ebp*4]
lea ebp, [ecx*8]
shl eax, 4
sub ebp, ecx
mov ecx, dword [eax + 0xfdba94]
lea eax, [eax + 0xfdba94]
shl ebp, 2
mov dword [esp + 0x28], eax
cmp word [ecx + ebp + 0xa], 0
jge 0x42a21d
mov ecx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x44]
push 0
lea edx, [ecx + edx + 1]
push eax
push edx
call fcn.0042b0a0
mov ecx, dword [esp + 0x38]
add esp, 0x10
mov edx, dword [ecx]
mov word [edx + ebp + 0xa], ax
mov eax, dword [esi + 0xfdba94]
mov di, word [eax + edi + 0xa]
test di, di
jl 0x42a21d
mov edx, dword [0x54bfa0]
mov eax, dword [esp + 0x10]
movsx ecx, di
push 0xbf800000
push 1
push ebx
push ecx
lea ecx, [eax + edx + 1]
mov edx, dword [esp + 0x38]
push ecx
mov eax, dword [edx]
movsx ecx, word [eax + ebp + 0xa]
push ecx
call fcn.0042b660
add esp, 0x18
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
add edx, 8
inc eax
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
cmp eax, dword [edx*4 + 0x5a7708]
jl 0x42a0aa
mov eax, edx
mov edx, dword [0x54bfa0]
mov ecx, dword [0x5b7644]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x42a082
xor ebx, ebx
test edx, edx
mov dword [esp + 0x14], ebx
jl 0x42a7e1
mov esi, 0xfdba94
mov al, byte [esi + 0xbb]
test al, al
je 0x42a7c8
cmp ebx, edx
jg 0x42a28c
test byte [esi - 0x14], 4
jne 0x42a7c8
mov eax, dword [esi - 0xc]
mov dword [esp + 0x10], 0
test eax, eax
jle 0x42a7c8
xor edi, edi
mov eax, dword [esi]
add eax, edi
mov cl, byte [eax]
test cl, 0x20
je 0x42a2d0
test cl, 0x40
jne 0x42a2d0
mov ax, word [eax + 0xa]
test ax, ax
jl 0x42a7ab
movsx ecx, ax
push ecx
push ebx
call fcn.0042ade0
add esp, 8
jmp 0x42a7ab
mov edx, dword [eax]
test dl, 1
je 0x42a324
test dl, 2
jne 0x42a324
movsx ecx, word [eax + 4]
lea ebp, [ecx*8]
sub ebp, ecx
mov ecx, dword [esi - 4]
movsx ecx, word [ecx + ebp*8 + 0x18]
mov ebp, ecx
shl ebp, 4
add ebp, ecx
test dword [ebp*8 + 0x8e898c], 0x100020
jne 0x42a324
mov ax, word [eax + 0xa]
test ax, ax
jl 0x42a7ab
movsx edx, ax
push edx
push ebx
call fcn.0042ade0
add esp, 8
jmp 0x42a7ab
test dl, 4
je 0x42a348
mov ax, word [eax + 0xa]
test ax, ax
jl 0x42a7ab
movsx eax, ax
push eax
push ebx
call fcn.0042ade0
add esp, 8
jmp 0x42a7ab
cmp word [eax + 0xa], 0
jge 0x42a7ab
test byte [esi - 0x14], 4
je 0x42a555
mov ecx, dword [esi]
add ecx, edi
movsx eax, word [ecx + 6]
mov dword [esp + 0x3c], eax
lea edx, [eax + eax*2]
lea eax, [eax + edx*4]
movsx edx, word [ecx + 8]
shl eax, 4
lea ebp, [edx*8]
sub ebp, edx
mov edx, dword [eax + 0xfdba94]
movsx edx, word [edx + ebp*4 + 0xa]
mov dword [esp + 0x2c], edx
mov dl, byte [eax + 0xfdba80]
test dl, 4
jne 0x42a7ab
movsx eax, word [ecx + 4]
add ecx, 0x10
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esi - 4]
lea edx, [eax + edx*8 + 0xc]
mov eax, dword [edx]
mov dword [esp + 0x58], eax
fld dword [esp + 0x58]
mov eax, dword [edx + 4]
fmul dword [0x51f248]
mov edx, dword [edx + 8]
mov dword [esp + 0x5c], eax
fld dword [esp + 0x5c]
fmul dword [0x51f248]
mov eax, dword [ecx]
mov dword [esp + 0x60], edx
mov dword [esp + 0x1c], eax
mov edx, dword [ecx + 4]
fstp dword [esp + 0x5c]
fld dword [esp + 0x60]
fmul dword [0x51f248]
mov eax, dword [ecx + 8]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
fstp dword [esp + 0x60]
fld dword [esp + 0x1c]
fadd st(1)
fstp dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
fstp st(0)
fld dword [esp + 0x20]
fadd dword [esp + 0x5c]
mov dword [esp + 0x7c], ecx
lea ecx, [esp + 0x7c]
push ecx
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fadd dword [esp + 0x64]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x84], edx
fstp dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x88], eax
call fcn.004ae790
add esp, 4
test eax, 0x80000000
je 0x42a485
lea edx, [esp + 0x7c]
push edx
call fcn.004ae790
and eax, 0x7fffffff
mov edx, dword [0x54bfa0]
xor ecx, ecx
add esp, 4
lea eax, [eax + eax*4]
mov cl, byte [eax*4 + 0x106bcb0]
shr ecx, 5
lea ebp, [ecx + edx + 1]
jmp 0x42a494
lea eax, [esp + 0x7c]
push eax
call fcn.004ae790
add esp, 4
mov ebp, eax
mov eax, ebp
xor ecx, ecx
and eax, 0x7fffffff
lea edx, [eax + eax*4]
xor eax, eax
mov al, byte [edx*4 + 0x106bcb0]
shr eax, 5
mov edx, dword [eax*4 + 0x5a7708]
test edx, edx
mov dword [esp + 0x28], edx
jle 0x42a4ec
lea eax, [eax + eax*4]
shl eax, 6
add eax, 0x5a6d0c
mov edx, dword [eax - 4]
cmp edx, dword [esp + 0x3c]
jne 0x42a4da
mov edx, dword [esi]
movsx edx, word [edi + edx + 8]
cmp dword [eax], edx
je 0x42a4e8
mov edx, dword [esp + 0x28]
inc ecx
add eax, 8
cmp ecx, edx
jl 0x42a4c6
jmp 0x42a4ec
mov edx, dword [esp + 0x28]
cmp ecx, edx
jl 0x42a4fa
mov byte [esp + 0x1b], 0
jmp 0x42a7ab
push 0
lea eax, [esp + 0x80]
push 0
push eax
push ebp
call fcn.0042b0a0
mov ecx, dword [esi]
push ebp
mov word [edi + ecx + 0xa], ax
mov edx, dword [esi]
movsx eax, word [edi + edx + 0xa]
push eax
call fcn.0042b570
mov eax, dword [esp + 0x44]
add esp, 0x18
test eax, eax
jl 0x42a7ab
mov ecx, dword [esp + 0x3c]
mov edx, eax
mov eax, dword [esi]
push 0xbf800000
push 1
push ecx
movsx ecx, word [edi + eax + 0xa]
push edx
push ebp
push ecx
call fcn.0042b660
add esp, 0x18
jmp 0x42a7ab
mov edx, dword [esi]
push 0
push 0
movsx ecx, word [edi + edx + 4]
lea eax, [edi + edx]
lea edx, [ecx*8]
add eax, 0x10
sub edx, ecx
mov ecx, dword [esi - 4]
lea edx, [ecx + edx*8 + 0xc]
mov ecx, dword [edx]
mov dword [esp + 0x78], ecx
fld dword [esp + 0x78]
mov ecx, dword [edx + 4]
fmul dword [0x51f248]
mov edx, dword [edx + 8]
mov dword [esp + 0x7c], ecx
fld dword [esp + 0x7c]
fmul dword [0x51f248]
mov ecx, dword [eax]
mov dword [esp + 0x80], edx
mov dword [esp + 0x54], ecx
mov edx, dword [eax + 4]
fstp dword [esp + 0x7c]
fld dword [esp + 0x80]
fmul dword [0x51f248]
mov eax, dword [eax + 8]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
fstp dword [esp + 0x80]
fld dword [esp + 0x54]
fadd st(1)
fstp dword [esp + 0x54]
mov ecx, dword [esp + 0x54]
fstp st(0)
fld dword [esp + 0x58]
fadd dword [esp + 0x7c]
mov dword [esp + 0x98], ecx
lea ecx, [esp + 0x98]
push ecx
push ebx
fstp dword [esp + 0x60]
fld dword [esp + 0x64]
fadd dword [esp + 0x88]
mov edx, dword [esp + 0x60]
mov dword [esp + 0xa4], edx
fstp dword [esp + 0x64]
mov eax, dword [esp + 0x64]
mov dword [esp + 0xa8], eax
call fcn.0042b0a0
mov edx, dword [esi]
push ebx
mov word [edi + edx + 0xa], ax
mov eax, dword [esi]
movsx ecx, word [edi + eax + 0xa]
push ecx
call fcn.0042b570
mov edx, dword [esi]
add esp, 0x18
movsx eax, word [edi + edx + 6]
lea ecx, [edi + edx]
lea edx, [eax + eax*2]
movsx ebx, word [ecx + 8]
lea edx, [eax + edx*4]
shl edx, 4
lea ebp, [ebx*8]
sub ebp, ebx
mov ebx, dword [edx + 0xfdba94]
movsx ebx, word [ebx + ebp*4 + 0xa]
test ebx, ebx
jl 0x42a7a7
test byte [edx + 0xfdba80], 4
je 0x42a78a
movsx eax, word [ecx + 4]
add ecx, 0x10
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esi - 4]
lea edx, [eax + edx*8 + 0xc]
mov eax, dword [edx]
mov dword [esp + 0x64], eax
fld dword [esp + 0x64]
mov eax, dword [edx + 4]
fmul dword [0x51f248]
mov edx, dword [edx + 8]
mov dword [esp + 0x68], eax
fld dword [esp + 0x68]
fmul dword [0x51f248]
mov eax, dword [ecx]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x30], eax
mov edx, dword [ecx + 4]
fstp dword [esp + 0x68]
fld dword [esp + 0x6c]
fmul dword [0x51f248]
mov eax, dword [ecx + 8]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
fstp dword [esp + 0x6c]
fld dword [esp + 0x30]
fsub st(1)
fstp dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
fstp st(0)
fld dword [esp + 0x34]
fsub dword [esp + 0x68]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x40]
push ecx
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fsub dword [esp + 0x70]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x48], edx
fstp dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
call fcn.004ae790
add esp, 4
test eax, 0x80000000
je 0x42a75d
lea edx, [esp + 0x40]
push edx
call fcn.004ae790
and eax, 0x7fffffff
mov edx, dword [0x54bfa0]
xor ecx, ecx
add esp, 4
lea eax, [eax + eax*4]
mov cl, byte [eax*4 + 0x106bcb0]
shr ecx, 5
lea eax, [ecx + edx + 1]
jmp 0x42a76a
lea eax, [esp + 0x40]
push eax
call fcn.004ae790
add esp, 4
mov ecx, dword [esi]
push 0xbf800000
push 1
push eax
movsx edx, word [edi + ecx + 0xa]
push ebx
mov ebx, dword [esp + 0x24]
push ebx
push edx
call fcn.0042b660
add esp, 0x18
jmp 0x42a7ab
push 0xbf800000
push 1
push eax
push ebx
movsx eax, word [ecx + 0xa]
mov ebx, dword [esp + 0x24]
push ebx
push eax
call fcn.0042b660
add esp, 0x18
jmp 0x42a7ab
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi - 0xc]
inc eax
add edi, 0x1c
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x42a2a1
mov edx, dword [0x54bfa0]
inc ebx
add esi, 0xd0
cmp ebx, edx
mov dword [esp + 0x14], ebx
jle 0x42a270
mov ecx, dword [0x5b7644]
lea eax, [ecx + edx]
mov dword [esp + 0x14], 0
test eax, eax
jl 0x42a8e2
mov eax, 0xfdba80
mov dword [esp + 0x10], eax
jmp 0x42a803
mov eax, dword [esp + 0x10]
cmp eax, 0xfdba80
jl 0x42a833
cmp dword [esp + 0x14], edx
jg 0x42a833
mov cl, byte [eax + 0xcf]
test cl, cl
je 0x42a8b4
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cmp ecx, edx
jg 0x42a833
test byte [eax], 4
jne 0x42a8b4
mov ecx, dword [esp + 0x14]
push 0
push ecx
call fcn.004015f0
mov ecx, dword [eax]
add esp, 8
xor ebp, ebp
mov dword [esp + 0x2c], eax
test ecx, ecx
jle 0x42a8b4
xor edi, edi
mov ecx, dword [eax + 4]
xor ebx, ebx
mov eax, dword [ecx + edi + 0xc]
test eax, eax
jle 0x42a8a8
xor esi, esi
mov edx, dword [ecx + edi + 0x10]
fld dword [edx + esi + 8]
fcomp dword [0x51dc3c]
fnstsw ax
test ah, 1
je 0x42a897
mov eax, edx
push 1
movsx edx, byte [eax + esi + 2]
movsx ecx, word [eax + esi]
add eax, esi
push ecx
mov eax, dword [esp + 0x1c]
push edx
push eax
push ebp
call fcn.0042af20
add esp, 0x14
dec ebx
sub esi, 0xc
mov ecx, dword [esp + 0x2c]
inc ebx
add esi, 0xc
mov ecx, dword [ecx + 4]
cmp ebx, dword [ecx + edi + 0xc]
jl 0x42a85f
mov eax, dword [esp + 0x2c]
inc ebp
add edi, 0x14
cmp ebp, dword [eax]
jl 0x42a850
mov ecx, dword [0x5b7644]
mov edx, dword [0x54bfa0]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
inc eax
lea esi, [ecx + edx]
add ebx, 0xd0
cmp eax, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
jle 0x42a7ff
lea eax, [ecx + edx]
xor ebx, ebx
test eax, eax
jl 0x42a979
mov ebp, 0xfdba80
cmp ebp, 0xfdba80
jl 0x42a914
cmp ebx, edx
jg 0x42a914
mov al, byte [ebp + 0xcf]
test al, al
je 0x42a95b
cmp ebx, edx
jg 0x42a914
test byte [ebp], 4
jne 0x42a95b
push 0
push ebx
call fcn.004015f0
mov ecx, dword [eax]
add esp, 8
test ecx, ecx
jle 0x42a95b
mov edx, dword [eax + 4]
mov edi, ecx
add edx, 0xc
mov eax, dword [edx]
test eax, eax
jle 0x42a955
mov ecx, dword [edx + 4]
mov esi, eax
add ecx, 8
fld dword [ecx]
fcomp dword [0x51dc3c]
fnstsw ax
test ah, 1
je 0x42a94f
mov byte [esp + 0x1b], 0
add ecx, 0xc
dec esi
jne 0x42a93b
add edx, 0x14
dec edi
jne 0x42a92d
mov ecx, dword [0x5b7644]
mov edx, dword [0x54bfa0]
inc ebx
add ebp, 0xd0
lea eax, [ecx + edx]
cmp ebx, eax
jle 0x42a8f4
add ecx, edx
xor ebx, ebx
test ecx, ecx
jl 0x42aa24
mov eax, 0xfdba80
mov dword [esp + 0x10], eax
jmp 0x42a994
mov eax, dword [esp + 0x10]
cmp eax, 0xfdba80
jl 0x42a9b6
cmp ebx, edx
jg 0x42a9b6
mov cl, byte [eax + 0xcf]
test cl, cl
je 0x42aa00
mov eax, dword [esp + 0x10]
cmp ebx, edx
jg 0x42a9b6
test byte [eax], 4
jne 0x42aa00
push 0
push ebx
call fcn.004015f0
mov dword [esp + 0x34], eax
mov eax, dword [eax]
add esp, 8
xor esi, esi
test eax, eax
jle 0x42aa00
lea ebp, [esi + 1]
cmp ebp, eax
mov edi, ebp
jge 0x42a9f4
push 0
push edi
push esi
push ebx
call fcn.004013d0
add esp, 0x10
test al, al
jne 0x42a9eb
mov byte [esp + 0x1b], al
mov ecx, dword [esp + 0x2c]
inc edi
cmp edi, dword [ecx]
jl 0x42a9d6
mov edx, dword [esp + 0x2c]
mov esi, ebp
mov eax, dword [edx]
cmp esi, eax
jl 0x42a9cd
mov edx, dword [esp + 0x10]
mov eax, dword [0x5b7644]
add edx, 0xd0
inc ebx
mov dword [esp + 0x10], edx
mov edx, dword [0x54bfa0]
add eax, edx
cmp ebx, eax
jle 0x42a990
mov al, byte [esp + 0x1b]
pop edi
pop esi
pop ebp
mov byte [0x555220], al
pop ebx
add esp, 0x8c
ret